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/32817
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32817/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32817/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32817/events
https://github.com/pandas-dev/pandas/pull/32817
584,149,091
MDExOlB1bGxSZXF1ZXN0MzkwNzg1OTU0
32,817
TST: bare pytest raises
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-03-19T04:11:32Z
2020-03-20T14:18:28Z
2020-03-20T10:29:24Z
CONTRIBUTOR
null
GH30999 - [ ] ref #30999 - [ ] 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/32817/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32817/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32817.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32817", "merged_at": "2020-03-20T10:29:24Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32817.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32817" }
https://api.github.com/repos/pandas-dev/pandas/issues/32818
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32818/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32818/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32818/events
https://github.com/pandas-dev/pandas/issues/32818
584,152,575
MDU6SXNzdWU1ODQxNTI1NzU=
32,818
API: More direct way to determine which rows cause pd.to_numeric to coerce to 'NA' or raise ValueError
{ "avatar_url": "https://avatars.githubusercontent.com/u/2499066?v=4", "events_url": "https://api.github.com/users/daviewales/events{/privacy}", "followers_url": "https://api.github.com/users/daviewales/followers", "following_url": "https://api.github.com/users/daviewales/following{/other_user}", "gists_url": "https://api.github.com/users/daviewales/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/daviewales", "id": 2499066, "login": "daviewales", "node_id": "MDQ6VXNlcjI0OTkwNjY=", "organizations_url": "https://api.github.com/users/daviewales/orgs", "received_events_url": "https://api.github.com/users/daviewales/received_events", "repos_url": "https://api.github.com/users/daviewales/repos", "site_admin": false, "starred_url": "https://api.github.com/users/daviewales/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/daviewales/subscriptions", "type": "User", "url": "https://api.github.com/users/daviewales" }
[ { "color": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "5319e7", "default": false, "description": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
closed
false
null
[]
null
3
2020-03-19T04:23:13Z
2021-07-30T03:52:02Z
2021-07-30T03:52:02Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ```python >>> series = pd.Series(['2.5', '3', np.nan, 'A']) >>> pd.to_numeric(series) Traceback (most recent call last): File "pandas/_libs/lib.pyx", line 1926, in pandas._libs.lib.maybe_convert_numeric ValueError: Unable to parse string "A" During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/dwales/anaconda3/lib/python3.6/site-packages/pandas/core/tools/numeric.py", line 150, in to_numeric values, set(), coerce_numeric=coerce_numeric File "pandas/_libs/lib.pyx", line 1963, in pandas._libs.lib.maybe_convert_numeric ValueError: Unable to parse string "A" at position 3 >>> pd.to_numeric(series, errors='coerce') 0 2.5 1 3.0 2 NaN 3 NaN dtype: float64 # Index just the rows which were coerced by `to_numeric` >>> just_coerced_na = pd.to_numeric(series.dropna(), errors='coerce') >>> just_coerced_na 0 2.5 1 3.0 3 NaN dtype: float64 >>> series.loc[just_coerced_na[just_coerced_na.isna()].index] 3 A dtype: object # Alternative way to mask just the rows coerced by `to_numeric` >>> overall_coerced = pd.to_numeric(series, errors='coerce') >>> numeric_coerced = pd.to_numeric(series.dropna(), errors='coerce') >>> mask = overall_coerced.isna() & numeric_coerced.isna() >>> series[mask] 3 A dtype: object ``` #### Problem description As shown in the code above, it is possible to create an index mask to determine which rows of an original series cause `to_numeric` coerce to `NA` or raise `ValueError`. However, the creation of this mask is not immediately obvious, and requires first performing `pd.to_numeric(series, errors='coerce')` on the `dropna` subset of the original data, then subsetting this subset with `isna`, then using the `index` of this second subset to mask the original series. One might imagine that `series.str.isnumeric()` might reveal which values were or were not numeric, but in fact none of the standard Python string functions use the same definition of 'numeric' as the `pd.to_numeric` function. A function called something like `pd.is_numeric()` which returns a nullable boolean mask would make this much easier. For example, see the following: #### Expected Output ```python >>> series = pd.Series(['2.5', '3', np.nan, 'A']) >>> series 0 2.5 1 3 2 NaN 3 A dtype: object >>> series.is_numeric() 0 True 1 True 2 <NA> 3 False dtype: boolean >>> series.loc[series.is_numeric()] 0 2.5 1 3 dtype: object >>> series.loc[~series.is_numeric()] 3 A dtype: object ``` #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] INSTALLED VERSIONS ------------------ commit : None python : 3.6.8.final.0 python-bits : 64 OS : Darwin OS-release : 17.7.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_AU.UTF-8 LOCALE : en_AU.UTF-8 pandas : 1.0.2 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.0.0.post20200309 Cython : 0.29.15 pytest : 5.4.1 hypothesis : 5.5.4 sphinx : 2.4.0 blosc : None feather : None xlsxwriter : 1.2.8 lxml.etree : 4.5.0 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.13.0 pandas_datareader: None bs4 : 4.8.2 bottleneck : 1.3.2 fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.3 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : 0.15.1 pytables : None pytest : 5.4.1 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.15 tables : 3.6.1 tabulate : 0.8.3 xarray : None xlrd : 1.2.0 xlwt : 1.2.0 xlsxwriter : 1.2.8 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/32818/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32818/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32819
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32819/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32819/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32819/events
https://github.com/pandas-dev/pandas/issues/32819
584,190,182
MDU6SXNzdWU1ODQxOTAxODI=
32,819
xcel into csv
{ "avatar_url": "https://avatars.githubusercontent.com/u/60510733?v=4", "events_url": "https://api.github.com/users/Fdelahoya/events{/privacy}", "followers_url": "https://api.github.com/users/Fdelahoya/followers", "following_url": "https://api.github.com/users/Fdelahoya/following{/other_user}", "gists_url": "https://api.github.com/users/Fdelahoya/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Fdelahoya", "id": 60510733, "login": "Fdelahoya", "node_id": "MDQ6VXNlcjYwNTEwNzMz", "organizations_url": "https://api.github.com/users/Fdelahoya/orgs", "received_events_url": "https://api.github.com/users/Fdelahoya/received_events", "repos_url": "https://api.github.com/users/Fdelahoya/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Fdelahoya/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Fdelahoya/subscriptions", "type": "User", "url": "https://api.github.com/users/Fdelahoya" }
[]
closed
false
null
[]
null
1
2020-03-19T06:22:12Z
2020-03-19T13:42:38Z
2020-03-19T13:42:38Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python # Your code here ``` #### Problem description [this should explain **why** the current behaviour is a problem and why the expected output is a better solution.] **Note**: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates! **Note**: Many problems can be resolved by simply upgrading `pandas` to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if `master` addresses this issue, but that is not necessary. For documentation-related issues, you can check the latest versions of the docs on `master` here: https://pandas-docs.github.io/pandas-docs-travis/ If the issue has not been resolved there, go ahead and file it in the issue tracker. #### Expected Output #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] </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/32819/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32819/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32820
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32820/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32820/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32820/events
https://github.com/pandas-dev/pandas/pull/32820
584,198,874
MDExOlB1bGxSZXF1ZXN0MzkwODI3MzYz
32,820
See also
{ "avatar_url": "https://avatars.githubusercontent.com/u/8732795?v=4", "events_url": "https://api.github.com/users/farhanreynaldo/events{/privacy}", "followers_url": "https://api.github.com/users/farhanreynaldo/followers", "following_url": "https://api.github.com/users/farhanreynaldo/following{/other_user}", "gists_url": "https://api.github.com/users/farhanreynaldo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/farhanreynaldo", "id": 8732795, "login": "farhanreynaldo", "node_id": "MDQ6VXNlcjg3MzI3OTU=", "organizations_url": "https://api.github.com/users/farhanreynaldo/orgs", "received_events_url": "https://api.github.com/users/farhanreynaldo/received_events", "repos_url": "https://api.github.com/users/farhanreynaldo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/farhanreynaldo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/farhanreynaldo/subscriptions", "type": "User", "url": "https://api.github.com/users/farhanreynaldo" }
[ { "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-03-19T06:46:40Z
2020-03-19T11:09:03Z
2020-03-19T11:09:03Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Related to #27977. Output for pandas.Series.corr, pandas.Series.cov, pandas.Series.count: ``` ################################################################################ ################################## Validation ################################## ################################################################################ 1 Errors found: No extended summary found ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32820/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32820/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32820.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32820", "merged_at": "2020-03-19T11:09:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32820.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32820" }
https://api.github.com/repos/pandas-dev/pandas/issues/32821
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32821/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32821/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32821/events
https://github.com/pandas-dev/pandas/pull/32821
584,214,725
MDExOlB1bGxSZXF1ZXN0MzkwODQwNTc4
32,821
PERF: fix SparseArray._simple_new object initialization
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "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" }
4
2020-03-19T07:26:36Z
2020-03-19T12:02:46Z
2020-03-19T10:47:16Z
MEMBER
null
Apart from this being more idiomatic, it also avoids creating a SparseArray through the normal machinery (including validation of the input etc) for the empty list. With this PR: ``` In [1]: data = np.array([1, 2, 3], dtype=float) In [2]: index = pd.core.arrays.sparse.IntIndex(5, np.array([0, 2, 4])) In [3]: dtype = pd.SparseDtype("float64", 0) In [4]: pd.arrays.SparseArray._simple_new(data, index, dtype) Out[4]: [1.0, 0, 2.0, 0, 3.0] Fill: 0 IntIndex Indices: array([0, 2, 4], dtype=int32) In [5]: %timeit pd.arrays.SparseArray._simple_new(data, index, dtype) 381 ns ± 4.83 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) ``` while on released version this gives around 50µs (100x slower) Noticed while investigating https://github.com/pandas-dev/pandas/issues/32196
{ "+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/32821/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32821/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32821.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32821", "merged_at": "2020-03-19T10:47:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32821.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32821" }
https://api.github.com/repos/pandas-dev/pandas/issues/32822
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32822/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32822/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32822/events
https://github.com/pandas-dev/pandas/issues/32822
584,276,050
MDU6SXNzdWU1ODQyNzYwNTA=
32,822
dtype change when doing operations on dataframes
{ "avatar_url": "https://avatars.githubusercontent.com/u/6419212?v=4", "events_url": "https://api.github.com/users/thedimlebowski/events{/privacy}", "followers_url": "https://api.github.com/users/thedimlebowski/followers", "following_url": "https://api.github.com/users/thedimlebowski/following{/other_user}", "gists_url": "https://api.github.com/users/thedimlebowski/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/thedimlebowski", "id": 6419212, "login": "thedimlebowski", "node_id": "MDQ6VXNlcjY0MTkyMTI=", "organizations_url": "https://api.github.com/users/thedimlebowski/orgs", "received_events_url": "https://api.github.com/users/thedimlebowski/received_events", "repos_url": "https://api.github.com/users/thedimlebowski/repos", "site_admin": false, "starred_url": "https://api.github.com/users/thedimlebowski/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/thedimlebowski/subscriptions", "type": "User", "url": "https://api.github.com/users/thedimlebowski" }
[ { "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": "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
6
2020-03-19T09:28:33Z
2021-10-06T09:24:58Z
null
NONE
null
#### Code Sample ```python In [1]: import pandas as pd In [2]: import numpy as np In [3]: s = pd.Series([1,2,np.nan], dtype='Int64') In [4]: t = pd.Series([1,2,3], dtype='Int64') In [5]: s-t Out[5]: 0 0 1 0 2 <NA> dtype: Int64 In [6]: (s-t).dtype Out[6]: Int64Dtype() In [7]: s.to_frame() - t.to_frame() Out[7]: 0 0 0 1 0 2 <NA> In [8]: (s.to_frame() - t.to_frame())[0].dtype Out[8]: dtype('O') ``` #### Problem description The Int64 dtype is changed when doing operations on two dataframes whereas it is kept (expected behavior) on series operations. #### Expected Output ``` # In [8]: (s.to_frame() - t.to_frame())[0].dtype # Out[8]: dtype('Int64Dtype()') ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.7.4.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.0.3 numpy : 1.18.2 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.0.0 Cython : None pytest : 5.4.1 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.13.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : None numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : 0.16.0 pytables : None pytest : 5.4.1 pyxlsb : None s3fs : 0.4.0 scipy : None sqlalchemy : None tables : None tabulate : 0.8.6 xarray : None xlrd : None xlwt : None xlsxwriter : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32822/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32822/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32823
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32823/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32823/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32823/events
https://github.com/pandas-dev/pandas/pull/32823
584,336,218
MDExOlB1bGxSZXF1ZXN0MzkwOTQwODEx
32,823
DOC: Partial fix SA04 errors in docstrings #28792 (feedback needed)
{ "avatar_url": "https://avatars.githubusercontent.com/u/6186510?v=4", "events_url": "https://api.github.com/users/dilex42/events{/privacy}", "followers_url": "https://api.github.com/users/dilex42/followers", "following_url": "https://api.github.com/users/dilex42/following{/other_user}", "gists_url": "https://api.github.com/users/dilex42/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/dilex42", "id": 6186510, "login": "dilex42", "node_id": "MDQ6VXNlcjYxODY1MTA=", "organizations_url": "https://api.github.com/users/dilex42/orgs", "received_events_url": "https://api.github.com/users/dilex42/received_events", "repos_url": "https://api.github.com/users/dilex42/repos", "site_admin": false, "starred_url": "https://api.github.com/users/dilex42/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/dilex42/subscriptions", "type": "User", "url": "https://api.github.com/users/dilex42" }
[ { "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" }
6
2020-03-19T11:13:11Z
2020-04-02T12:38:22Z
2020-03-31T15:18:11Z
CONTRIBUTOR
null
- [x] xref #28792 Would like feedback on a few issues before continuing to work on this issue : - File pandas/core/accessor.py . How to handle multiline text? Couldn't find anywhere good recomendations. - File pandas/core/ops/docstrings.py . Changed logic of templates. Is this okay? Also new lines with formatted text are too long, would like a reccomended sollution for this. - File pandas/core/window/rolling.py and some others in regard to window functions have broken links that can be fixed by adding pandas. prefix to them(as in changed code). Is this right thing to do and should I make this changes whenever i see this? Sorry for obvious mistakes, just starting to contribute. 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/32823/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32823/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32823.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32823", "merged_at": "2020-03-31T15:18:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32823.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32823" }
https://api.github.com/repos/pandas-dev/pandas/issues/32824
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32824/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32824/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32824/events
https://github.com/pandas-dev/pandas/pull/32824
584,343,504
MDExOlB1bGxSZXF1ZXN0MzkwOTQ3MDU2
32,824
DOC: Updating capitalization in folder doc/source/reference
{ "avatar_url": "https://avatars.githubusercontent.com/u/24496267?v=4", "events_url": "https://api.github.com/users/cleconte987/events{/privacy}", "followers_url": "https://api.github.com/users/cleconte987/followers", "following_url": "https://api.github.com/users/cleconte987/following{/other_user}", "gists_url": "https://api.github.com/users/cleconte987/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cleconte987", "id": 24496267, "login": "cleconte987", "node_id": "MDQ6VXNlcjI0NDk2MjY3", "organizations_url": "https://api.github.com/users/cleconte987/orgs", "received_events_url": "https://api.github.com/users/cleconte987/received_events", "repos_url": "https://api.github.com/users/cleconte987/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cleconte987/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cleconte987/subscriptions", "type": "User", "url": "https://api.github.com/users/cleconte987" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-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-03-19T11:25:46Z
2020-04-06T14:49:43Z
2020-04-06T12:51:41Z
CONTRIBUTOR
null
- [X] xref #32550
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32824/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32824/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32824.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32824", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/32824.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32824" }
https://api.github.com/repos/pandas-dev/pandas/issues/32825
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32825/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32825/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32825/events
https://github.com/pandas-dev/pandas/pull/32825
584,361,272
MDExOlB1bGxSZXF1ZXN0MzkwOTYxNzU2
32,825
PERF: optimize DataFrame.sparse.from_spmatrix performance
{ "avatar_url": "https://avatars.githubusercontent.com/u/630936?v=4", "events_url": "https://api.github.com/users/rth/events{/privacy}", "followers_url": "https://api.github.com/users/rth/followers", "following_url": "https://api.github.com/users/rth/following{/other_user}", "gists_url": "https://api.github.com/users/rth/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rth", "id": 630936, "login": "rth", "node_id": "MDQ6VXNlcjYzMDkzNg==", "organizations_url": "https://api.github.com/users/rth/orgs", "received_events_url": "https://api.github.com/users/rth/received_events", "repos_url": "https://api.github.com/users/rth/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rth/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rth/subscriptions", "type": "User", "url": "https://api.github.com/users/rth" }
[ { "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": "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" }
13
2020-03-19T11:59:13Z
2020-03-22T20:33:51Z
2020-03-22T20:33:47Z
CONTRIBUTOR
null
This optimizes `DataFrame.sparse.from_spmatrix` performance, using an approach proposed by @jorisvandenbossche in https://github.com/pandas-dev/pandas/issues/32196#issuecomment-600824238 Bulds on top of https://github.com/pandas-dev/pandas/pull/32821 and adds another ~4.5x speed up in addition to that PR. Benchmarks for run time (in seconds) are done by running `pd.DataFrame.sparse.from_spmatrix` on a random sparse CSR array of given n_samples, n_features with a density=0.01: ``` label PR master Speed-up master/PR n_samples n_features 100 100000 2.3624 10.1247 4.29x 10000 10000 0.2391 1.1037 4.62x 100000 100 0.0031 0.0134 4.32x ``` with the benchmarking code below, <details> ```py import pandas as pd import numpy as np import scipy.sparse from neurtu import timeit, delayed def bench_cases(): for n_samples, n_features in [(100, 100000), (10000, 10000), (100000, 100)]: X = scipy.sparse.rand( n_samples, n_features, random_state=0, density=0.01, format="csr" ) tags = {"n_samples": n_samples, "n_features": n_features, "label": "PR"} yield delayed(pd.DataFrame.sparse.from_spmatrix, tags=tags.copy())(X) res = timeit(bench_cases()) res = ( res.reset_index() .set_index(["n_samples", "n_features", "label"])["wall_time"] .unstack(-1)[["PR"]] .round(4) ) # res["master"] = np.array([10.1247, 1.1037, 0.0134]) # res["Speed-up master/PR"] = (res["master"] / res["PR"]).round(2).astype("str") + "x" print(res) ``` </details> Closes https://github.com/pandas-dev/pandas/issues/32196 although further optimization might be possible. Around 90% of remaining run time happens in `DataFrame._from_arrays` which goes deeper into pandas internals. Maybe some checks could be disabled there, but that looks less straightforward.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32825/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32825/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32825.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32825", "merged_at": "2020-03-22T20:33:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32825.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32825" }
https://api.github.com/repos/pandas-dev/pandas/issues/32826
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32826/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32826/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32826/events
https://github.com/pandas-dev/pandas/pull/32826
584,428,004
MDExOlB1bGxSZXF1ZXN0MzkxMDE1ODg2
32,826
PERF: skip non-consolidatable blocks when checking consolidation
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "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-03-19T13:51:36Z
2020-03-20T10:30:19Z
2020-03-19T20:16:31Z
MEMBER
null
This skips the non-consolidatable blocks to determine if the blocks are consolidated. So meaning that if you have multiple EA columns with the same dtype, we do not do an unnecessary consolidation. From investigating https://github.com/pandas-dev/pandas/issues/32196#issuecomment-600824238 @rth this should give another speed-up to your benchmark
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32826/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32826/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32826.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32826", "merged_at": "2020-03-19T20:16:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32826.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32826" }
https://api.github.com/repos/pandas-dev/pandas/issues/32827
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32827/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32827/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32827/events
https://github.com/pandas-dev/pandas/pull/32827
584,454,205
MDExOlB1bGxSZXF1ZXN0MzkxMDM3NDA1
32,827
DOC: Fixed contributors for bugfix releases
{ "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-05-30T15:21:05Z", "closed_issues": 94, "created_at": "2020-03-19T21:32:28Z", "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": "on-merge: backport to 1.0.x", "due_on": "2020-06-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/72", "id": 5219206, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels", "node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==", "number": 72, "open_issues": 0, "state": "closed", "title": "1.0.4", "updated_at": "2020-06-24T17:57:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72" }
6
2020-03-19T14:30:12Z
2020-03-23T13:43:00Z
2020-03-23T13:41:35Z
CONTRIBUTOR
null
Previously we showed just contributors who manually backported commits to the maintenance branch. ``` Contributors ============ A total of 8 people contributed patches to this release. People with a "+" by their names contributed a patch for the first time. * Daniel Saxton * Joris Van den Bossche * MeeseeksMachine * MomIsBestFriend * Pandas Development Team * Simon Hawkins * Tom Augspurger * jbrockmendel ``` Fixed ``` Contributors ============ A total of 22 people contributed patches to this release. People with a "+" by their names contributed a patch for the first time. * Anna Daglis + * Daniel Saxton * Irv Lustig * Jan Škoda + * Joris Van den Bossche * Justin Zheng + * Kaiqi Dong * Kendall Masse + * Marco Gorelli * Matthew Roeschke + * Pedro Reys + * Prakhar Pandey + * Robert de Vries + * Rushabh Vasani + * Simon Hawkins + * Stijn Van Hoey + * Terji Petersen + * Tom Augspurger * William Ayd * alimcmaster1 * gfyoung + * jbrockmendel ``` Closes https://github.com/pandas-dev/pandas/issues/31717
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32827/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32827/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32827.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32827", "merged_at": "2020-03-23T13:41:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32827.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32827" }
https://api.github.com/repos/pandas-dev/pandas/issues/32828
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32828/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32828/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32828/events
https://github.com/pandas-dev/pandas/pull/32828
584,553,315
MDExOlB1bGxSZXF1ZXN0MzkxMTE4NDgx
32,828
CLN: Update docstring decorator from Appender to doc
{ "avatar_url": "https://avatars.githubusercontent.com/u/34237447?v=4", "events_url": "https://api.github.com/users/RaisaDZ/events{/privacy}", "followers_url": "https://api.github.com/users/RaisaDZ/followers", "following_url": "https://api.github.com/users/RaisaDZ/following{/other_user}", "gists_url": "https://api.github.com/users/RaisaDZ/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/RaisaDZ", "id": 34237447, "login": "RaisaDZ", "node_id": "MDQ6VXNlcjM0MjM3NDQ3", "organizations_url": "https://api.github.com/users/RaisaDZ/orgs", "received_events_url": "https://api.github.com/users/RaisaDZ/received_events", "repos_url": "https://api.github.com/users/RaisaDZ/repos", "site_admin": false, "starred_url": "https://api.github.com/users/RaisaDZ/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RaisaDZ/subscriptions", "type": "User", "url": "https://api.github.com/users/RaisaDZ" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-03-19T16:49:21Z
2020-03-19T18:56:42Z
2020-03-19T18:56:22Z
CONTRIBUTOR
null
- [ ] xref #31942 - [ ] 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/32828/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32828/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32828.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32828", "merged_at": "2020-03-19T18:56:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32828.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32828" }
https://api.github.com/repos/pandas-dev/pandas/issues/32829
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32829/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32829/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32829/events
https://github.com/pandas-dev/pandas/pull/32829
584,554,791
MDExOlB1bGxSZXF1ZXN0MzkxMTE5NzEw
32,829
TYP: update setup.cfg
{ "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": "ea91a4", "default": false, "description": "type annotations, mypy/pyright type checking", "id": 1280988427, "name": "Typing", "node_id": "MDU6TGFiZWwxMjgwOTg4NDI3", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-03-19T16:51:31Z
2020-03-19T18:50:47Z
2020-03-19T18:23:41Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32829/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32829/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32829.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32829", "merged_at": "2020-03-19T18:23:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32829.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32829" }
https://api.github.com/repos/pandas-dev/pandas/issues/32830
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32830/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32830/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32830/events
https://github.com/pandas-dev/pandas/pull/32830
584,595,209
MDExOlB1bGxSZXF1ZXN0MzkxMTUyNzY5
32,830
STY: Correct whitespace placement
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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-03-19T17:57:06Z
2020-03-21T15:17:51Z
2020-03-20T16:09:27Z
MEMBER
null
- [x] ref #30755 - [ ] 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/32830/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32830/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32830.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32830", "merged_at": "2020-03-20T16:09:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32830.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32830" }
https://api.github.com/repos/pandas-dev/pandas/issues/32831
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32831/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32831/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32831/events
https://github.com/pandas-dev/pandas/pull/32831
584,605,422
MDExOlB1bGxSZXF1ZXN0MzkxMTYxMTEx
32,831
BUG: ExtensionBlock.set not setting values inplace
{ "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": "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": "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" }
5
2020-03-19T18:14:57Z
2020-04-10T17:11:36Z
2020-03-21T21:00:31Z
MEMBER
null
In trying to figure out the difference between Block.set vs Block.setitem I found that ExtensionBlock.set is not inplace like it is supposed to be. Traced this back to a problem in CategoricalBlock.should_store, which this fixes+tests. In separate passes I would like to - rename set and setitem to something like "setitem_inplace" and "setitem_newobj" - ATM setitem is _sometimes_ inplace; I'd like to make that 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/32831/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32831/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32831.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32831", "merged_at": "2020-03-21T21:00:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32831.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32831" }
https://api.github.com/repos/pandas-dev/pandas/issues/32832
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32832/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32832/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32832/events
https://github.com/pandas-dev/pandas/issues/32832
584,623,553
MDU6SXNzdWU1ODQ2MjM1NTM=
32,832
DOC: CI failure due to fsspec deprecation warning
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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": "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-05-30T15:21:05Z", "closed_issues": 94, "created_at": "2020-03-19T21:32:28Z", "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": "on-merge: backport to 1.0.x", "due_on": "2020-06-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/72", "id": 5219206, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels", "node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==", "number": 72, "open_issues": 0, "state": "closed", "title": "1.0.4", "updated_at": "2020-06-24T17:57:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72" }
5
2020-03-19T18:46:12Z
2020-03-20T11:55:08Z
2020-03-20T00:22:27Z
MEMBER
null
There is CI failure in the ```Web/Docs```, under ```check ipython directive errors``` on github actions, noticed on #32831 and on #32830 The error that is being shown: ``` Run ! grep -B1 "^<<<-------------------------------------------------------------------------$" sphinx.log FutureWarning, <<<------------------------------------------------------------------------- ##[error]Process completed with exit code 1. ``` --- The root cause of the problem, is a warning that is generated during the creation of the docs. ``` >>>------------------------------------------------------------------------- Warning in /home/runner/work/pandas/pandas/doc/source/user_guide/scale.rst at block ending on line 254 Specify :okwarning: as an option in the ipython:: block to suppress this message ---------------------------------------------------------------------------- /home/runner/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/fsspec/implementations/local.py:33: FutureWarning: The default value of auto_mkdir=True has been deprecated and will be changed to auto_mkdir=False by default in a future release. FutureWarning, <<<------------------------------------------------------------------------- ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32832/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32832/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32833
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32833/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32833/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32833/events
https://github.com/pandas-dev/pandas/pull/32833
584,636,378
MDExOlB1bGxSZXF1ZXN0MzkxMTg1NzUx
32,833
DOC: FutureWarning in Sphinx build when calling read_parquet
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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-05-30T15:21:05Z", "closed_issues": 94, "created_at": "2020-03-19T21:32:28Z", "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": "on-merge: backport to 1.0.x", "due_on": "2020-06-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/72", "id": 5219206, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels", "node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==", "number": 72, "open_issues": 0, "state": "closed", "title": "1.0.4", "updated_at": "2020-06-24T17:57:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72" }
5
2020-03-19T19:09:43Z
2020-03-20T00:40:23Z
2020-03-20T00:22:27Z
MEMBER
null
- [x] closes #32832 - [ ] 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/32833/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32833/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32833.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32833", "merged_at": "2020-03-20T00:22:27Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32833.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32833" }
https://api.github.com/repos/pandas-dev/pandas/issues/32834
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32834/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32834/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32834/events
https://github.com/pandas-dev/pandas/pull/32834
584,645,321
MDExOlB1bGxSZXF1ZXN0MzkxMTkzMjU0
32,834
added cut as method to Series
{ "avatar_url": "https://avatars.githubusercontent.com/u/21015203?v=4", "events_url": "https://api.github.com/users/R4HMATT/events{/privacy}", "followers_url": "https://api.github.com/users/R4HMATT/followers", "following_url": "https://api.github.com/users/R4HMATT/following{/other_user}", "gists_url": "https://api.github.com/users/R4HMATT/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/R4HMATT", "id": 21015203, "login": "R4HMATT", "node_id": "MDQ6VXNlcjIxMDE1MjAz", "organizations_url": "https://api.github.com/users/R4HMATT/orgs", "received_events_url": "https://api.github.com/users/R4HMATT/received_events", "repos_url": "https://api.github.com/users/R4HMATT/repos", "site_admin": false, "starred_url": "https://api.github.com/users/R4HMATT/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/R4HMATT/subscriptions", "type": "User", "url": "https://api.github.com/users/R4HMATT" }
[ { "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": "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" }, { "color": "9aace2", "default": false, "description": "cut, qcut", "id": 1639305834, "name": "cut", "node_id": "MDU6TGFiZWwxNjM5MzA1ODM0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/cut" } ]
closed
false
null
[]
null
8
2020-03-19T19:24:45Z
2020-04-03T04:08:56Z
2020-04-03T04:08:40Z
NONE
null
- [x] closes #28925 - [ ] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Not sure if we need to totally re-implement cut. Please feel free to give any advice, I am new to contributing.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32834/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32834/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32834.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32834", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/32834.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32834" }
https://api.github.com/repos/pandas-dev/pandas/issues/32835
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32835/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32835/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32835/events
https://github.com/pandas-dev/pandas/issues/32835
584,648,674
MDU6SXNzdWU1ODQ2NDg2NzQ=
32,835
Feature request: Allow regex flags for `str.split`
{ "avatar_url": "https://avatars.githubusercontent.com/u/6782404?v=4", "events_url": "https://api.github.com/users/tsoernes/events{/privacy}", "followers_url": "https://api.github.com/users/tsoernes/followers", "following_url": "https://api.github.com/users/tsoernes/following{/other_user}", "gists_url": "https://api.github.com/users/tsoernes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tsoernes", "id": 6782404, "login": "tsoernes", "node_id": "MDQ6VXNlcjY3ODI0MDQ=", "organizations_url": "https://api.github.com/users/tsoernes/orgs", "received_events_url": "https://api.github.com/users/tsoernes/received_events", "repos_url": "https://api.github.com/users/tsoernes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tsoernes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tsoernes/subscriptions", "type": "User", "url": "https://api.github.com/users/tsoernes" }
[ { "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": "String extension data type and string data", "id": 57522093, "name": "Strings", "node_id": "MDU6TGFiZWw1NzUyMjA5Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 1203, "created_at": "2021-06-09T18:28:42Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2021-12-31T08:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/86", "id": 6840253, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels", "node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==", "number": 86, "open_issues": 77, "state": "open", "title": "1.4", "updated_at": "2021-11-21T02:34:31Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86" }
1
2020-03-19T19:31:11Z
2021-11-04T00:40:28Z
2021-11-04T00:40:28Z
NONE
null
Most string functions allow `case` and `flags` for matching; `str.split` does not.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32835/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32835/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32836
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32836/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32836/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32836/events
https://github.com/pandas-dev/pandas/pull/32836
584,674,136
MDExOlB1bGxSZXF1ZXN0MzkxMjE2Nzk2
32,836
ERR: Better error message for missing columns in aggregate
{ "avatar_url": "https://avatars.githubusercontent.com/u/20432571?v=4", "events_url": "https://api.github.com/users/JDTruj2018/events{/privacy}", "followers_url": "https://api.github.com/users/JDTruj2018/followers", "following_url": "https://api.github.com/users/JDTruj2018/following{/other_user}", "gists_url": "https://api.github.com/users/JDTruj2018/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JDTruj2018", "id": 20432571, "login": "JDTruj2018", "node_id": "MDQ6VXNlcjIwNDMyNTcx", "organizations_url": "https://api.github.com/users/JDTruj2018/orgs", "received_events_url": "https://api.github.com/users/JDTruj2018/received_events", "repos_url": "https://api.github.com/users/JDTruj2018/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JDTruj2018/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JDTruj2018/subscriptions", "type": "User", "url": "https://api.github.com/users/JDTruj2018" }
[ { "color": "ffa0ff", "default": false, "description": "Incorrect or improved errors from pandas", "id": 42670965, "name": "Error Reporting", "node_id": "MDU6TGFiZWw0MjY3MDk2NQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting" }, { "color": "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" }
3
2020-03-19T20:18:08Z
2020-03-29T05:06:01Z
2020-03-22T20:34:44Z
CONTRIBUTOR
null
More descriptive SpecificationError message that reports to user non-existing columns causing error - [x] closes #32755 - [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/32836/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32836/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32836.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32836", "merged_at": "2020-03-22T20:34:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32836.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32836" }
https://api.github.com/repos/pandas-dev/pandas/issues/32837
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32837/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32837/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32837/events
https://github.com/pandas-dev/pandas/pull/32837
584,696,798
MDExOlB1bGxSZXF1ZXN0MzkxMjM0ODYw
32,837
DOC: Remove `# doctest: +SKIP`
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
null
3
2020-03-19T20:59:46Z
2021-05-03T14:06:21Z
2020-04-16T22:57:37Z
MEMBER
null
- [x] closes #32528 - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry --- I want to be sure that the output of describe is deterministic, I will rebase regularly and if it passes all the times, I will mark it as ready for review.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32837/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32837/timeline
null
1
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32837.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32837", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/32837.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32837" }
https://api.github.com/repos/pandas-dev/pandas/issues/32838
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32838/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32838/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32838/events
https://github.com/pandas-dev/pandas/issues/32838
584,701,580
MDU6SXNzdWU1ODQ3MDE1ODA=
32,838
DataFrame.replace fails to replace value when columns are specified and only non-replacement columns contain pd.NA
{ "avatar_url": "https://avatars.githubusercontent.com/u/6782404?v=4", "events_url": "https://api.github.com/users/tsoernes/events{/privacy}", "followers_url": "https://api.github.com/users/tsoernes/followers", "following_url": "https://api.github.com/users/tsoernes/following{/other_user}", "gists_url": "https://api.github.com/users/tsoernes/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tsoernes", "id": 6782404, "login": "tsoernes", "node_id": "MDQ6VXNlcjY3ODI0MDQ=", "organizations_url": "https://api.github.com/users/tsoernes/orgs", "received_events_url": "https://api.github.com/users/tsoernes/received_events", "repos_url": "https://api.github.com/users/tsoernes/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tsoernes/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tsoernes/subscriptions", "type": "User", "url": "https://api.github.com/users/tsoernes" }
[ { "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": "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
[]
null
4
2020-03-19T21:09:43Z
2020-04-14T20:33:19Z
2020-04-14T20:33:19Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python In [87]: df2 = pd.DataFrame([['a', 1], ['b', pd.NA]]) In [108]: df2 Out[108]: 0 1 0 a 1 1 b <NA> In [109]: df2.replace({0: 'a'}, np.nan) /home/torstein/anaconda3/lib/python3.7/site-packages/pandas/core/missing.py:47: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison mask = arr == x Out[111]: 0 1 0 a 1 1 b <NA> In [112]: df2.dtypes Out[112]: 0 object 1 object dtype: object # This works: In [121]: df2[0].replace('a', np.nan) Out[121]: 0 NaN 1 b Name: 0, dtype: object # This also works: In [126]: pd.DataFrame([['a', 1], ['b', np.nan]]).replace({0: 'a'}, 'b') Out[126]: 0 1 0 b 1.0 1 b NaN ``` #### Problem description There are multiple similar issues, but in this case, there are no NaNs in the column specified by the replacement-dictionary. If the dataframe is created without additional column `1` with a `pd.NA`, even though no replacement is performed on that column, then replace works. #### Expected Output 'a' to be replaced with nan #### Output of ``pd.show_versions()`` <details> pandas : 1.0.2 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 41.6.0.post20191030 Cython : 0.29.13 pytest : 5.2.2 hypothesis : None sphinx : 2.2.1 blosc : None feather : None xlsxwriter : 1.2.2 lxml.etree : 4.4.1 html5lib : 1.0.1 pymysql : None psycopg2 : 2.8.4 (dt dec pq3 ext lo64) jinja2 : 2.10.3 IPython : 7.9.0 pandas_datareader: None bs4 : 4.8.1 bottleneck : 1.2.1 fastparquet : None gcsfs : None lxml.etree : 4.4.1 matplotlib : 2.2.3 numexpr : 2.7.0 odfpy : None openpyxl : 3.0.0 pandas_gbq : None pyarrow : 0.16.0 pytables : None pytest : 5.2.2 pyxlsb : None s3fs : None scipy : 1.3.1 sqlalchemy : 1.3.10 tables : 3.5.2 tabulate : 0.8.5 xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.2 numba : 0.46.0 </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32838/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32838/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32839
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32839/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32839/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32839/events
https://github.com/pandas-dev/pandas/pull/32839
584,702,455
MDExOlB1bGxSZXF1ZXN0MzkxMjM5NTQ0
32,839
BUG: Fix read_csv IndexError crash for c engine with header=None and 2 (or more) extra columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/10944368?v=4", "events_url": "https://api.github.com/users/roberthdevries/events{/privacy}", "followers_url": "https://api.github.com/users/roberthdevries/followers", "following_url": "https://api.github.com/users/roberthdevries/following{/other_user}", "gists_url": "https://api.github.com/users/roberthdevries/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/roberthdevries", "id": 10944368, "login": "roberthdevries", "node_id": "MDQ6VXNlcjEwOTQ0MzY4", "organizations_url": "https://api.github.com/users/roberthdevries/orgs", "received_events_url": "https://api.github.com/users/roberthdevries/received_events", "repos_url": "https://api.github.com/users/roberthdevries/repos", "site_admin": false, "starred_url": "https://api.github.com/users/roberthdevries/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/roberthdevries/subscriptions", "type": "User", "url": "https://api.github.com/users/roberthdevries" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "5319e7", "default": false, "description": "read_csv, to_csv", "id": 47229171, "name": "IO CSV", "node_id": "MDU6TGFiZWw0NzIyOTE3MQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV" } ]
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-03-19T21:11:33Z
2020-03-25T20:36:11Z
2020-03-22T20:30:22Z
CONTRIBUTOR
null
- [x] closes #26218 - [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/32839/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32839/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32839.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32839", "merged_at": "2020-03-22T20:30:22Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32839.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32839" }
https://api.github.com/repos/pandas-dev/pandas/issues/32840
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32840/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32840/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32840/events
https://github.com/pandas-dev/pandas/pull/32840
584,711,988
MDExOlB1bGxSZXF1ZXN0MzkxMjQ3NDUw
32,840
DOC: use new pydata-sphinx-theme name
{ "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-05-30T15:21:05Z", "closed_issues": 94, "created_at": "2020-03-19T21:32:28Z", "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": "on-merge: backport to 1.0.x", "due_on": "2020-06-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/72", "id": 5219206, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels", "node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==", "number": 72, "open_issues": 0, "state": "closed", "title": "1.0.4", "updated_at": "2020-06-24T17:57:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72" }
1
2020-03-19T21:31:13Z
2020-04-06T09:26:08Z
2020-03-19T22:20:36Z
MEMBER
null
Following https://github.com/pandas-dev/pydata-sphinx-theme/issues/102, need to use the new package name We could actually also start using the released version. But going to merge this soon when CI passes (as I think doc build in other PRs will start to fail)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32840/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32840/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32840.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32840", "merged_at": "2020-03-19T22:20:35Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32840.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32840" }
https://api.github.com/repos/pandas-dev/pandas/issues/32841
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32841/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32841/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32841/events
https://github.com/pandas-dev/pandas/issues/32841
584,712,739
MDU6SXNzdWU1ODQ3MTI3Mzk=
32,841
SegmentationFault/BusError: Groupby + count
{ "avatar_url": "https://avatars.githubusercontent.com/u/14019925?v=4", "events_url": "https://api.github.com/users/tv3141/events{/privacy}", "followers_url": "https://api.github.com/users/tv3141/followers", "following_url": "https://api.github.com/users/tv3141/following{/other_user}", "gists_url": "https://api.github.com/users/tv3141/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tv3141", "id": 14019925, "login": "tv3141", "node_id": "MDQ6VXNlcjE0MDE5OTI1", "organizations_url": "https://api.github.com/users/tv3141/orgs", "received_events_url": "https://api.github.com/users/tv3141/received_events", "repos_url": "https://api.github.com/users/tv3141/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tv3141/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tv3141/subscriptions", "type": "User", "url": "https://api.github.com/users/tv3141" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" } ]
closed
false
null
[]
{ "closed_at": "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-03-19T21:32:49Z
2020-04-04T00:01:46Z
2020-04-04T00:01:46Z
CONTRIBUTOR
null
#### Code Sample ```python import pandas as pd import numpy as np df = pd.DataFrame({"A": [0, 1, np.NaN], "B": [1, 2, 3]}) df.groupby(["A"]).count() ``` #### Problem description This randomly causes a SegFault or Bus error. With bounds checking enabled I get the following IndexError. https://github.com/pandas-dev/pandas/blob/master/pandas/_libs/lib.pyx#L778 ```python @cython.boundscheck(True) @cython.wraparound(False) def count_level_2d(ndarray[uint8_t, ndim=2, cast=True] mask, ... ``` ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/pandas/pandas/core/groupby/generic.py", line 1784, in count blocks = [make_block(val, placement=loc) for val, loc in zip(counted, locs)] File "/pandas/pandas/core/groupby/generic.py", line 1784, in <listcomp> blocks = [make_block(val, placement=loc) for val, loc in zip(counted, locs)] File "/pandas/pandas/core/groupby/generic.py", line 1782, in <genexpr> lib.count_level_2d(x, labels=ids, max_bin=ngroups, axis=1) for x in vals File "pandas/_libs/lib.pyx", line 803, in pandas._libs.lib.count_level_2d counts[i, labels[j]] += mask[i, j] IndexError: Out of bounds on buffer access (axis 1) ``` #### Expected Output ```python B A 0.0 1 1.0 1 ``` ### Note This issue is related to https://github.com/pandas-dev/pandas/issues/21824. The Segfault happens in the same function, but the call stack is different. Code sample from https://github.com/pandas-dev/pandas/issues/21824: ```python import numpy as np import pandas as pd df = pd.DataFrame({"Person": ["John", "Myla", None, "John", "Myla"], "Age": [24., np.nan, 21., 33, 26], "Single": [False, True, True, True, False]}) res = df.set_index(["Person", "Single"]).count(level="Person") ``` ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/pandas/pandas/core/frame.py", line 7786, in count return self._count_level(level, axis=axis, numeric_only=numeric_only) File "/pandas/pandas/core/frame.py", line 7842, in _count_level counts = lib.count_level_2d(mask, level_codes, len(level_index), axis=0) File "pandas/_libs/lib.pyx", line 796, in pandas._libs.lib.count_level_2d counts[labels[i], j] += mask[i, j] IndexError: Out of bounds on buffer access (axis 0) ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : 981252e7adb74b3aca2d9dfd075b0b64c3552975 python : 3.7.6.final.0 python-bits : 64 OS : Darwin OS-release : 18.7.0 Version : Darwin Kernel Version 18.7.0: Thu Jan 23 06:52:12 PST 2020; root:xnu-4903.278.25~1/RELEASE_X86_64 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.1.0.dev0+870.g981252e7a numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.0.0.post20200311 Cython : 0.29.15 pytest : 5.4.1 hypothesis : 5.6.0 sphinx : 2.4.4 blosc : 1.8.3 feather : None xlsxwriter : 1.2.8 lxml.etree : 4.4.1 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.13.0 pandas_datareader: None bs4 : 4.8.2 bottleneck : 1.3.2 fastparquet : 0.3.3 gcsfs : None matplotlib : 3.2.0 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.1 pandas_gbq : None pyarrow : 0.15.1 pytables : None pyxlsb : None s3fs : 0.4.0 scipy : 1.4.1 sqlalchemy : 1.3.15 tables : 3.6.1 tabulate : 0.8.6 xarray : 0.15.0 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/32841/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32841/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32842
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32842/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32842/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32842/events
https://github.com/pandas-dev/pandas/pull/32842
584,713,212
MDExOlB1bGxSZXF1ZXN0MzkxMjQ4NDYz
32,842
BUG: Fix segfault in GroupBy.count and DataFrame.count
{ "avatar_url": "https://avatars.githubusercontent.com/u/14019925?v=4", "events_url": "https://api.github.com/users/tv3141/events{/privacy}", "followers_url": "https://api.github.com/users/tv3141/followers", "following_url": "https://api.github.com/users/tv3141/following{/other_user}", "gists_url": "https://api.github.com/users/tv3141/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/tv3141", "id": 14019925, "login": "tv3141", "node_id": "MDQ6VXNlcjE0MDE5OTI1", "organizations_url": "https://api.github.com/users/tv3141/orgs", "received_events_url": "https://api.github.com/users/tv3141/received_events", "repos_url": "https://api.github.com/users/tv3141/repos", "site_admin": false, "starred_url": "https://api.github.com/users/tv3141/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/tv3141/subscriptions", "type": "User", "url": "https://api.github.com/users/tv3141" }
[ { "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": "36ede0", "default": false, "description": "Non-Recoverable Error", "id": 1121248195, "name": "Segfault", "node_id": "MDU6TGFiZWwxMTIxMjQ4MTk1", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Segfault" } ]
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-03-19T21:33:52Z
2020-04-04T00:01:54Z
2020-04-04T00:01:47Z
CONTRIBUTOR
null
- [x] closes #32841 - [x] closes #21824 - [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/32842/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32842/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32842.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32842", "merged_at": "2020-04-04T00:01:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32842.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32842" }
https://api.github.com/repos/pandas-dev/pandas/issues/32843
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32843/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32843/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32843/events
https://github.com/pandas-dev/pandas/pull/32843
584,715,029
MDExOlB1bGxSZXF1ZXN0MzkxMjQ5OTYx
32,843
DOC: Fix capitalization among headings in documentation files (#32550)
{ "avatar_url": "https://avatars.githubusercontent.com/u/12384095?v=4", "events_url": "https://api.github.com/users/themien/events{/privacy}", "followers_url": "https://api.github.com/users/themien/followers", "following_url": "https://api.github.com/users/themien/following{/other_user}", "gists_url": "https://api.github.com/users/themien/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/themien", "id": 12384095, "login": "themien", "node_id": "MDQ6VXNlcjEyMzg0MDk1", "organizations_url": "https://api.github.com/users/themien/orgs", "received_events_url": "https://api.github.com/users/themien/received_events", "repos_url": "https://api.github.com/users/themien/repos", "site_admin": false, "starred_url": "https://api.github.com/users/themien/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/themien/subscriptions", "type": "User", "url": "https://api.github.com/users/themien" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-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-03-19T21:37:48Z
2020-03-23T17:26:56Z
2020-03-23T17:24:45Z
CONTRIBUTOR
null
- [x] closes #32550 - [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/32843/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32843/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32843.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32843", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/32843.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32843" }
https://api.github.com/repos/pandas-dev/pandas/issues/32844
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32844/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32844/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32844/events
https://github.com/pandas-dev/pandas/pull/32844
584,723,135
MDExOlB1bGxSZXF1ZXN0MzkxMjU2MzM4
32,844
Switch dataframe constructor to use dispatch
{ "avatar_url": "https://avatars.githubusercontent.com/u/1186124?v=4", "events_url": "https://api.github.com/users/saulshanabrook/events{/privacy}", "followers_url": "https://api.github.com/users/saulshanabrook/followers", "following_url": "https://api.github.com/users/saulshanabrook/following{/other_user}", "gists_url": "https://api.github.com/users/saulshanabrook/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/saulshanabrook", "id": 1186124, "login": "saulshanabrook", "node_id": "MDQ6VXNlcjExODYxMjQ=", "organizations_url": "https://api.github.com/users/saulshanabrook/orgs", "received_events_url": "https://api.github.com/users/saulshanabrook/received_events", "repos_url": "https://api.github.com/users/saulshanabrook/repos", "site_admin": false, "starred_url": "https://api.github.com/users/saulshanabrook/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/saulshanabrook/subscriptions", "type": "User", "url": "https://api.github.com/users/saulshanabrook" }
[ { "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": "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": "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" } ]
closed
false
null
[]
null
15
2020-03-19T21:55:08Z
2020-06-15T14:06:22Z
2020-06-14T15:42:03Z
CONTRIBUTOR
null
This is an attempt to add extensibility to the `DataFrame` constructor so that third party libraries can register their own ways of converting to a Pandas Dataframe. It does this by creating a [`singledispatch` function](https://docs.python.org/3/library/functools.html#functools.singledispatch) that is used in the constructor. For example, Dask could implement the function like this: ```python from pandas.core.construction import create_dataframe import dask.datafame @create_dataframe.register def _create_dataframe_dask(data: dask.datafame.DataFrame, *args, **kwargs): return create_dataframe(data.compute(), *args, **kwargs) ``` Then, if a downstream library tries to construct a Pandas dataframe from a dask dataframe, it will work: ```python import dask import pandas df = dask.datasets.timeseries() assert isinstance(pandas.DataFrame(df), pandas.DataFrame) ``` This is response to [the thread about providing a protocol for dataframes](https://discuss.ossdata.org/t/a-dataframe-protocol-for-the-pydata-ecosystem/267) to present an alternative for the underlying use case. The alternative is: 1. Force libraries like sk learn to depend on pandas 2. Have them called `pandas.Dataframe` on their input data to see if it can be turned into a dataframe 3. Have third party libraries with alternative dataframe implementations register themselves with this function provided here. It doesn't try to solve any sort of out-of-core dataframe API conversation and it does require all libraries to have Pandas as a hard dependency. - [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry - [x] Review name of function
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32844/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32844/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32844.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32844", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/32844.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32844" }
https://api.github.com/repos/pandas-dev/pandas/issues/32845
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32845/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32845/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32845/events
https://github.com/pandas-dev/pandas/issues/32845
584,728,079
MDU6SXNzdWU1ODQ3MjgwNzk=
32,845
TST: Improve searchsorted test coverage
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "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" } ]
open
false
null
[]
null
0
2020-03-19T22:06:25Z
2020-05-22T03:44:19Z
null
MEMBER
null
As show by https://github.com/pandas-dev/pandas/issues/32762 `searchsorted` is lacking tests in some cases (e.g., we don't seem to have any here https://github.com/pandas-dev/pandas/tree/master/pandas/tests/indexes/interval or here https://github.com/pandas-dev/pandas/tree/master/pandas/tests/indexes/categorical), so it would be good to add these.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32845/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32845/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32846
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32846/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32846/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32846/events
https://github.com/pandas-dev/pandas/pull/32846
584,758,985
MDExOlB1bGxSZXF1ZXN0MzkxMjg1NDc1
32,846
REF: pass align_keys to BlockManager.apply
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-03-19T23:33:08Z
2020-03-21T21:15:37Z
2020-03-21T20:40:12Z
MEMBER
null
The upcoming branch that implements the last frame-with-series arithmetic ops block-wise is going to need this
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32846/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32846/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32846.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32846", "merged_at": "2020-03-21T20:40:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32846.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32846" }
https://api.github.com/repos/pandas-dev/pandas/issues/32847
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32847/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32847/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32847/events
https://github.com/pandas-dev/pandas/pull/32847
584,774,001
MDExOlB1bGxSZXF1ZXN0MzkxMjk3NDg0
32,847
Backport PR #32833 on branch 1.0.x (DOC: FutureWarning in Sphinx build when calling read_parquet)
{ "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-05-30T15:21:05Z", "closed_issues": 94, "created_at": "2020-03-19T21:32:28Z", "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": "on-merge: backport to 1.0.x", "due_on": "2020-06-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/72", "id": 5219206, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels", "node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==", "number": 72, "open_issues": 0, "state": "closed", "title": "1.0.4", "updated_at": "2020-06-24T17:57:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72" }
1
2020-03-20T00:22:58Z
2020-03-20T07:07:16Z
2020-03-20T07:07:16Z
NONE
null
Backport PR #32833: DOC: FutureWarning in Sphinx build when calling read_parquet
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32847/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32847/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32847.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32847", "merged_at": "2020-03-20T07:07:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32847.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32847" }
https://api.github.com/repos/pandas-dev/pandas/issues/32848
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32848/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32848/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32848/events
https://github.com/pandas-dev/pandas/pull/32848
584,780,830
MDExOlB1bGxSZXF1ZXN0MzkxMzAyODAz
32,848
Backport PR #32840 on branch 1.0.x (DOC: use new pydata-sphinx-theme name)
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[]
closed
false
null
[]
{ "closed_at": "2020-05-30T15:21:05Z", "closed_issues": 94, "created_at": "2020-03-19T21:32:28Z", "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": "on-merge: backport to 1.0.x", "due_on": "2020-06-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/72", "id": 5219206, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels", "node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==", "number": 72, "open_issues": 0, "state": "closed", "title": "1.0.4", "updated_at": "2020-06-24T17:57:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72" }
3
2020-03-20T00:48:31Z
2020-03-21T14:41:49Z
2020-03-20T07:09:07Z
MEMBER
null
Manual Backport of #32840
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32848/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32848/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32848.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32848", "merged_at": "2020-03-20T07:09:07Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32848.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32848" }
https://api.github.com/repos/pandas-dev/pandas/issues/32849
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32849/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32849/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32849/events
https://github.com/pandas-dev/pandas/pull/32849
584,788,817
MDExOlB1bGxSZXF1ZXN0MzkxMzA4ODQ2
32,849
REF: implement _with_freq, use _from_sequence less
{ "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": "0052cc", "default": false, "description": "DateOffsets", "id": 53181044, "name": "Frequency", "node_id": "MDU6TGFiZWw1MzE4MTA0NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-03-20T01:18:59Z
2020-03-23T20:25:07Z
2020-03-22T00:12:46Z
MEMBER
null
This makes method-chaining a little bit nicer. Moving away from using _from_sequence and towards using the constructors where feasible. This will make it easier to stricten what we accept in these _from_sequence methods. We also should be inferring freq _less_ in arithmetic methods, but that is a behavior change that will be done separately.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32849/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32849/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32849.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32849", "merged_at": "2020-03-22T00:12:46Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32849.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32849" }
https://api.github.com/repos/pandas-dev/pandas/issues/32850
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32850/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32850/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32850/events
https://github.com/pandas-dev/pandas/pull/32850
584,808,659
MDExOlB1bGxSZXF1ZXN0MzkxMzI0MDcw
32,850
BUG: is_scalar_indexer
{ "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": "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": "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-03-20T02:43:02Z
2020-03-20T20:40:44Z
2020-03-20T20:40:28Z
MEMBER
null
- [ ] closes #xxxx - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry ATM we go through the wrong path when setting a listlike entry in a single position. The broader goal: separate out the cases where setitem is inplace vs copying.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32850/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32850/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32850.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32850", "merged_at": "2020-03-20T20:40:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32850.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32850" }
https://api.github.com/repos/pandas-dev/pandas/issues/32851
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32851/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32851/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32851/events
https://github.com/pandas-dev/pandas/issues/32851
584,811,314
MDU6SXNzdWU1ODQ4MTEzMTQ=
32,851
Unexpected behavior when inverting column of dtype object with boolean values
{ "avatar_url": "https://avatars.githubusercontent.com/u/58370848?v=4", "events_url": "https://api.github.com/users/Ranfir/events{/privacy}", "followers_url": "https://api.github.com/users/Ranfir/followers", "following_url": "https://api.github.com/users/Ranfir/following{/other_user}", "gists_url": "https://api.github.com/users/Ranfir/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Ranfir", "id": 58370848, "login": "Ranfir", "node_id": "MDQ6VXNlcjU4MzcwODQ4", "organizations_url": "https://api.github.com/users/Ranfir/orgs", "received_events_url": "https://api.github.com/users/Ranfir/received_events", "repos_url": "https://api.github.com/users/Ranfir/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Ranfir/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Ranfir/subscriptions", "type": "User", "url": "https://api.github.com/users/Ranfir" }
[ { "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
[]
null
1
2020-03-20T02:55:19Z
2020-09-16T12:31:31Z
2020-09-16T12:31:20Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python Python 3.8.2 (default, Mar 14 2020, 03:36:42) [GCC 7.5.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pandas as pd >>> pd.__version__ '1.0.3' >>> x = pd.DataFrame() >>> x[0] = None >>> x.loc[0, 0] = False >>> x.loc[1, 0] = True >>> x 0 0 False 1 True >>> ~x 0 0 -1 1 -2 >>> ``` #### Problem description Unexpected behavior when inverting column of dtype object with boolean values. #### Expected Output ``` >>> ~x 0 0 True 1 False ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.8.2.final.0 python-bits : 64 OS : Linux OS-release : 4.4.0-18362-Microsoft machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : C.UTF-8 LOCALE : en_US.UTF-8 pandas : 1.0.3 numpy : 1.18.2 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 41.2.0 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 : 2.11.1 IPython : 7.13.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.2.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : None pyxlsb : None s3fs : None scipy : None sqlalchemy : None tables : None tabulate : None xarray : None xlrd : None xlwt : None xlsxwriter : None numba : None </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32851/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32851/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32852
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32852/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32852/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32852/events
https://github.com/pandas-dev/pandas/pull/32852
584,815,983
MDExOlB1bGxSZXF1ZXN0MzkxMzI5Nzgy
32,852
CLN: avoid .setitem in tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "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-03-20T03:14:09Z
2020-03-21T21:05:19Z
2020-03-21T20:35:26Z
MEMBER
null
Make a few tests marginally clearer, avoid some clutter when grepping for `.getitem`
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32852/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32852/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32852.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32852", "merged_at": "2020-03-21T20:35:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32852.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32852" }
https://api.github.com/repos/pandas-dev/pandas/issues/32853
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32853/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32853/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32853/events
https://github.com/pandas-dev/pandas/issues/32853
584,835,951
MDU6SXNzdWU1ODQ4MzU5NTE=
32,853
pandas transforms a datetime column.
{ "avatar_url": "https://avatars.githubusercontent.com/u/32762452?v=4", "events_url": "https://api.github.com/users/allwell997/events{/privacy}", "followers_url": "https://api.github.com/users/allwell997/followers", "following_url": "https://api.github.com/users/allwell997/following{/other_user}", "gists_url": "https://api.github.com/users/allwell997/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/allwell997", "id": 32762452, "login": "allwell997", "node_id": "MDQ6VXNlcjMyNzYyNDUy", "organizations_url": "https://api.github.com/users/allwell997/orgs", "received_events_url": "https://api.github.com/users/allwell997/received_events", "repos_url": "https://api.github.com/users/allwell997/repos", "site_admin": false, "starred_url": "https://api.github.com/users/allwell997/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/allwell997/subscriptions", "type": "User", "url": "https://api.github.com/users/allwell997" }
[]
closed
false
null
[]
null
4
2020-03-20T04:23:09Z
2020-03-21T03:24:53Z
2020-03-20T17:54:18Z
NONE
null
There is a csv file with a column in string datetime. 1. I want to load this csv file with pandas and set the string datetime to index, in the mean time, I want to change the datetime year-month-day. for example as the below. 5:06:12 6:08:23 21:09:59 ================================== I want the right result as below 2017-01-01 5:06:12 2017-01-01 6:08:23 2017-01-01 21:09:59
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32853/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32853/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32854
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32854/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32854/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32854/events
https://github.com/pandas-dev/pandas/pull/32854
584,840,125
MDExOlB1bGxSZXF1ZXN0MzkxMzQ5NDMw
32,854
ENH: Add numba engine to groupby.transform
{ "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": "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" }
8
2020-03-20T04:39:44Z
2020-04-16T19:57:01Z
2020-04-16T19:43:25Z
MEMBER
null
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry In the same spirit of https://github.com/pandas-dev/pandas/issues/31845, adding `engine` and `engine_kwargs` arguments to `groupby.transform` (which was easier to tackle first than `groupby.apply`). This signature is the same as what was added to `rolling.apply`. Constraints: - The user defined function's first two arguments must be `def f(values, index, ...)`, explicitly those names, as we will pass in the the values and the pandas index (as a numpy array) into the udf
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32854/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32854/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32854.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32854", "merged_at": "2020-04-16T19:43:25Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32854.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32854" }
https://api.github.com/repos/pandas-dev/pandas/issues/32855
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32855/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32855/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32855/events
https://github.com/pandas-dev/pandas/pull/32855
584,866,378
MDExOlB1bGxSZXF1ZXN0MzkxMzcwNTE1
32,855
BUG: Improved error msg
{ "avatar_url": "https://avatars.githubusercontent.com/u/1399377?v=4", "events_url": "https://api.github.com/users/a-y-khan/events{/privacy}", "followers_url": "https://api.github.com/users/a-y-khan/followers", "following_url": "https://api.github.com/users/a-y-khan/following{/other_user}", "gists_url": "https://api.github.com/users/a-y-khan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/a-y-khan", "id": 1399377, "login": "a-y-khan", "node_id": "MDQ6VXNlcjEzOTkzNzc=", "organizations_url": "https://api.github.com/users/a-y-khan/orgs", "received_events_url": "https://api.github.com/users/a-y-khan/received_events", "repos_url": "https://api.github.com/users/a-y-khan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/a-y-khan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/a-y-khan/subscriptions", "type": "User", "url": "https://api.github.com/users/a-y-khan" }
[ { "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" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
null
3
2020-03-20T06:18:23Z
2020-06-09T22:50:28Z
2020-06-09T22:50:28Z
CONTRIBUTOR
null
- [x] closes #9259 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Hopefully this is a more informative message. The original bug report mentions that the index key also fails for Series but didn't report the error type, so I took my best guess at the reporter's intent in the test.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32855/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32855/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32855.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32855", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/32855.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32855" }
https://api.github.com/repos/pandas-dev/pandas/issues/32856
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32856/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32856/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32856/events
https://github.com/pandas-dev/pandas/pull/32856
584,933,875
MDExOlB1bGxSZXF1ZXN0MzkxNDI0NTA3
32,856
PERF: faster placement creating extension blocks from arrays
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "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" }
10
2020-03-20T09:13:09Z
2020-03-21T21:05:19Z
2020-03-21T20:20:58Z
MEMBER
null
When creating a DataFrame from many arrays stored in ExtensionBlocks, it seems quite some time is taken inside BlockPlacement using `np.require` on the passed list. Specifying the placement as a slice instead gives a much faster creation of the BlockPlacement. This delays the conversion to an array, though, but afterwards the conversion of the slice to an array inside BlockPlacement when neeeded is faster than an initial creation of a BlockPlacement from a list/array of 1 element. From investigating https://github.com/pandas-dev/pandas/issues/32196#issuecomment-600824238 @rth this reduces it with another third! (only from the dataframe creation, to be clear)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32856/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32856/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32856.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32856", "merged_at": "2020-03-21T20:20:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32856.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32856" }
https://api.github.com/repos/pandas-dev/pandas/issues/32857
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32857/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32857/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32857/events
https://github.com/pandas-dev/pandas/issues/32857
584,947,304
MDU6SXNzdWU1ODQ5NDczMDQ=
32,857
ImportError: DLL load failed with Windows wheel for 1.0.2 and 1.0.3
{ "avatar_url": "https://avatars.githubusercontent.com/u/62422617?v=4", "events_url": "https://api.github.com/users/J-Postma/events{/privacy}", "followers_url": "https://api.github.com/users/J-Postma/followers", "following_url": "https://api.github.com/users/J-Postma/following{/other_user}", "gists_url": "https://api.github.com/users/J-Postma/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/J-Postma", "id": 62422617, "login": "J-Postma", "node_id": "MDQ6VXNlcjYyNDIyNjE3", "organizations_url": "https://api.github.com/users/J-Postma/orgs", "received_events_url": "https://api.github.com/users/J-Postma/received_events", "repos_url": "https://api.github.com/users/J-Postma/repos", "site_admin": false, "starred_url": "https://api.github.com/users/J-Postma/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/J-Postma/subscriptions", "type": "User", "url": "https://api.github.com/users/J-Postma" }
[ { "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": "fbca04", "default": false, "description": "Windows OS", "id": 57186974, "name": "Windows", "node_id": "MDU6TGFiZWw1NzE4Njk3NA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows" } ]
closed
false
null
[]
null
52
2020-03-20T09:39:09Z
2020-07-28T13:21:55Z
2020-07-28T13:21:54Z
NONE
null
When trying to install `pandas 1.0.2` or newer versions on a docker, I run into the following import error: ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python\lib\site-packages\pandas\__init__.py", line 55, in <module> from pandas.core.api import ( File "C:\Python\lib\site-packages\pandas\core\api.py", line 29, in <module> from pandas.core.groupby import Grouper, NamedAgg File "C:\Python\lib\site-packages\pandas\core\groupby\__init__.py", line 1, in <module> from pandas.core.groupby.generic import DataFrameGroupBy, NamedAgg, SeriesGroupBy File "C:\Python\lib\site-packages\pandas\core\groupby\generic.py", line 60, in <module> from pandas.core.frame import DataFrame File "C:\Python\lib\site-packages\pandas\core\frame.py", line 124, in <module> from pandas.core.series import Series File "C:\Python\lib\site-packages\pandas\core\series.py", line 4572, in <module> Series._add_series_or_dataframe_operations() File "C:\Python\lib\site-packages\pandas\core\generic.py", line 10349, in _add_series_or_dataframe_operations from pandas.core.window import EWM, Expanding, Rolling, Window File "C:\Python\lib\site-packages\pandas\core\window\__init__.py", line 1, in <module> from pandas.core.window.ewm import EWM # noqa:F401 File "C:\Python\lib\site-packages\pandas\core\window\ewm.py", line 5, in <module> import pandas._libs.window.aggregations as window_aggregations ImportError: DLL load failed while importing aggregations: The specified module could not be found. ``` I've reproduced this error on a separate pc by running: ```cmd docker run -it python cmd.exe pip install pandas python import pandas ``` This error only occurs when trying to import pandas from the docker. Python and pip versions: ``` python 3.8.2 pip 20.0.2 ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32857/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32857/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32858
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32858/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32858/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32858/events
https://github.com/pandas-dev/pandas/pull/32858
584,952,722
MDExOlB1bGxSZXF1ZXN0MzkxNDM4OTA5
32,858
PERF: allow to skip validation/sanitization in DataFrame._from_arrays
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "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" }
7
2020-03-20T09:48:39Z
2020-03-20T20:06:07Z
2020-03-20T20:06:03Z
MEMBER
null
For cases where you know to have valid data (eg you just created them yourself, or they are already validated), it can be useful to skip the validation checks when creating a DataFrame from arrays. Use case is for example https://github.com/pandas-dev/pandas/pull/32825 From investigating https://github.com/pandas-dev/pandas/issues/32196#issuecomment-600824238 @rth this gives another 20% improvement on the dataframe creation part. Together with https://github.com/pandas-dev/pandas/pull/32856, it gives a bit more than a 2x improvement on the dataframe creation part (once the sparse arrays are created)
{ "+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/32858/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32858/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32858.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32858", "merged_at": "2020-03-20T20:06:03Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32858.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32858" }
https://api.github.com/repos/pandas-dev/pandas/issues/32859
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32859/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32859/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32859/events
https://github.com/pandas-dev/pandas/issues/32859
584,974,631
MDU6SXNzdWU1ODQ5NzQ2MzE=
32,859
rank() for int64 gives NAN for most negative value
{ "avatar_url": "https://avatars.githubusercontent.com/u/6488848?v=4", "events_url": "https://api.github.com/users/karthikeyann/events{/privacy}", "followers_url": "https://api.github.com/users/karthikeyann/followers", "following_url": "https://api.github.com/users/karthikeyann/following{/other_user}", "gists_url": "https://api.github.com/users/karthikeyann/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/karthikeyann", "id": 6488848, "login": "karthikeyann", "node_id": "MDQ6VXNlcjY0ODg4NDg=", "organizations_url": "https://api.github.com/users/karthikeyann/orgs", "received_events_url": "https://api.github.com/users/karthikeyann/received_events", "repos_url": "https://api.github.com/users/karthikeyann/repos", "site_admin": false, "starred_url": "https://api.github.com/users/karthikeyann/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/karthikeyann/subscriptions", "type": "User", "url": "https://api.github.com/users/karthikeyann" }
[ { "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": "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": "2021-07-02T07:59:17Z", "closed_issues": 2396, "created_at": "2020-11-11T19:05:43Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "on-merge: backport to 1.3.x", "due_on": "2021-06-30T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/80", "id": 6095818, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels", "node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==", "number": 80, "open_issues": 1, "state": "closed", "title": "1.3", "updated_at": "2021-08-25T20:34:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80" }
4
2020-03-20T10:29:01Z
2021-03-29T14:21:48Z
2021-03-29T14:21:48Z
NONE
null
#### Code to recreate the issue ```python import pandas as pd import numpy as np s = pd.Series(np.array([np.inf, np.nan, -np.inf]).astype(np.int32)) print(s) print(s.rank()) s = pd.Series(np.array([np.inf, np.nan, -np.inf]).astype(np.int64)) print(s) print(s.rank()) s = pd.Series([-9223372036854775808, -9223372036854775808, -9223372036854775808], dtype=np.int64) print(s.rank()) ``` ```text 0 -2147483648 1 -2147483648 2 -2147483648 dtype: int32 0 2.0 1 2.0 2 2.0 dtype: float64 0 -9223372036854775808 1 -9223372036854775808 2 -9223372036854775808 dtype: int64 0 NaN 1 NaN 2 NaN dtype: float64 0 NaN 1 NaN 2 NaN dtype: float64 ``` #### Problem description rank for **`np.int64`** most negative value gives **NaN** as rank. `np.int32` works fine for similar case. #### Expected Output ```text 0 -2147483648 1 -2147483648 2 -2147483648 dtype: int32 0 2.0 1 2.0 2 2.0 dtype: float64 0 -9223372036854775808 1 -9223372036854775808 2 -9223372036854775808 dtype: int64 0 2.0 1 2.0 2 2.0 dtype: float64 0 2.0 1 2.0 2 2.0 dtype: float64 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.9.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.2 numpy : 1.17.3 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 41.6.0.post20191030 Cython : 0.29.13 pytest : 5.2.2 hypothesis : None sphinx : 1.8.2 blosc : None feather : None xlsxwriter : 1.2.2 lxml.etree : 4.3.0 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.9.0 pandas_datareader: None bs4 : 4.8.1 bottleneck : 1.2.1 fastparquet : 0.1.6 gcsfs : None lxml.etree : 4.3.0 matplotlib : 3.1.1 numexpr : 2.7.0 odfpy : None openpyxl : 2.5.12 pandas_gbq : None pyarrow : 0.13.0 pytables : None pytest : 5.2.2 pyxlsb : None s3fs : None scipy : 1.3.1 sqlalchemy : 1.3.10 tables : 3.6.1 tabulate : None xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.2 numba : 0.42.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/32859/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32859/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32860
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32860/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32860/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32860/events
https://github.com/pandas-dev/pandas/issues/32860
585,018,385
MDU6SXNzdWU1ODUwMTgzODU=
32,860
_metadata items of subclassed pd.Series are not propagated into corresponding SubclassedDataFrame
{ "avatar_url": "https://avatars.githubusercontent.com/u/5902745?v=4", "events_url": "https://api.github.com/users/johannes-mueller/events{/privacy}", "followers_url": "https://api.github.com/users/johannes-mueller/followers", "following_url": "https://api.github.com/users/johannes-mueller/following{/other_user}", "gists_url": "https://api.github.com/users/johannes-mueller/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/johannes-mueller", "id": 5902745, "login": "johannes-mueller", "node_id": "MDQ6VXNlcjU5MDI3NDU=", "organizations_url": "https://api.github.com/users/johannes-mueller/orgs", "received_events_url": "https://api.github.com/users/johannes-mueller/received_events", "repos_url": "https://api.github.com/users/johannes-mueller/repos", "site_admin": false, "starred_url": "https://api.github.com/users/johannes-mueller/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/johannes-mueller/subscriptions", "type": "User", "url": "https://api.github.com/users/johannes-mueller" }
[ { "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": "56efc9", "default": false, "description": "_metadata, .attrs", "id": 1539579994, "name": "metadata", "node_id": "MDU6TGFiZWwxNTM5NTc5OTk0", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/metadata" }, { "color": "abf98b", "default": false, "description": "Subclassing pandas objects", "id": 2559562239, "name": "Subclassing", "node_id": "MDU6TGFiZWwyNTU5NTYyMjM5", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Subclassing" } ]
open
false
null
[]
null
8
2020-03-20T11:51:21Z
2021-07-30T03:57:26Z
null
CONTRIBUTOR
null
#### Code Sample ```python import pandas as pd # Define a subclass for pd.Series with metadata myprop class SubclassedSeries(pd.Series): _metadata = ['myprop'] @property def _constructor(self): return SubclassedSeries @property def _constructor_expanddim(self): return SubclassedDataFrame # Define a subclass for pd.DataFrame that slices to SubclassedSeries class SubclassedDataFrame(pd.DataFrame): @property def _constructor(self): return SubclassedDataFrame @property def _constructor_sliced(self): return SubclassedSeries # make an instance of SubclassedSeries and set myprop sr = SubclassedSeries([1,2,3]) sr.myprop = 'foo' print("myprob is", sr.myprop) # Works # put the SubclassedSeries object into a SubclassedDataFrame and try to get myprop df = SubclassedDataFrame({'a': sr}) print(type(df.a)) # Works (prints <class '__main__.SubclassedSeries'>) print("myprob is", df.a.myprop) # does not work (AttributeError: 'SubclassedSeries' object has no attribute 'myprop') ``` #### Problem description `_metadata` items of `pd.Series` subclasses are not propagated when the `SubclassedSeries` object is put into a `SubclassedDataFrame`. I would expect `myprop` to be available in the new `SubclassedDataFrame`. #### Expected Output ``` myprob is foo <class '__main__.SubclassedSeries'> myprob is foo ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.8.1.final.0 python-bits : 64 OS : Linux OS-release : 5.3.0-42-lowlatency machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : de_DE.UTF-8 LOCALE : de_DE.UTF-8 pandas : 1.0.2 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 46.0.0.post20200309 Cython : 0.29.15 pytest : 5.4.1 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : None html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.13.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : None gcsfs : None lxml.etree : None matplotlib : 3.1.3 numexpr : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 5.4.1 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : 3.6.1 tabulate : None xarray : 0.15.0 xlrd : 1.2.0 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/32860/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32860/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32861
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32861/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32861/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32861/events
https://github.com/pandas-dev/pandas/issues/32861
585,023,124
MDU6SXNzdWU1ODUwMjMxMjQ=
32,861
Calling `sum` with `min_count` on `SeriesGroupBy` with dtype `Int64` gives large negative value rather than pd.NA
{ "avatar_url": "https://avatars.githubusercontent.com/u/893512?v=4", "events_url": "https://api.github.com/users/mojones/events{/privacy}", "followers_url": "https://api.github.com/users/mojones/followers", "following_url": "https://api.github.com/users/mojones/following{/other_user}", "gists_url": "https://api.github.com/users/mojones/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/mojones", "id": 893512, "login": "mojones", "node_id": "MDQ6VXNlcjg5MzUxMg==", "organizations_url": "https://api.github.com/users/mojones/orgs", "received_events_url": "https://api.github.com/users/mojones/received_events", "repos_url": "https://api.github.com/users/mojones/repos", "site_admin": false, "starred_url": "https://api.github.com/users/mojones/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/mojones/subscriptions", "type": "User", "url": "https://api.github.com/users/mojones" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" }, { "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-03-20T12:00:27Z
2020-05-11T13:09:37Z
2020-05-09T21:54:28Z
CONTRIBUTOR
null
```python test_df = pd.DataFrame({'foo' : ['a'], 'bar': [1]}) test_df['bar'] = test_df['bar'].astype('Int64') test_df.groupby('foo')['bar'].sum(min_count=2) # output: foo a -9223372036854775808 Name: bar, dtype: Int64 ``` #### Problem description Per the documentation, `sum` should return `NA` if there are fewer than `min_count` values. This works fine on the dataframe itself: ```python test_df['bar'].sum(min_count=2) # output nan ``` but gives what looks like an overflow error when called after `groupby`. I ran into this with real data when calling with `min_count=1` on a dataframe where some of the values were missing, but I thought the minimal example above was clearer. #### Expected Output foo a NaN Name: bar, dtype: Int64 #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] INSTALLED VERSIONS ------------------ commit : None python : 3.7.3.final.0 python-bits : 64 OS : Linux OS-release : 4.15.0-74-generic machine : x86_64 processor : x86_64 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.0.3 numpy : 1.18.1 pytz : 2019.1 dateutil : 2.8.0 pip : 19.1.1 setuptools : 41.0.1 Cython : None pytest : 5.3.4 hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.3.3 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.1 IPython : 7.5.0 pandas_datareader: None bs4 : 4.8.1 bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.3.3 matplotlib : 3.1.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 5.3.4 pyxlsb : None s3fs : None scipy : 1.3.0 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 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/32861/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32861/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32862
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32862/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32862/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32862/events
https://github.com/pandas-dev/pandas/issues/32862
585,060,311
MDU6SXNzdWU1ODUwNjAzMTE=
32,862
importing pandas resulting an error
{ "avatar_url": "https://avatars.githubusercontent.com/u/61821667?v=4", "events_url": "https://api.github.com/users/justlearn-spec/events{/privacy}", "followers_url": "https://api.github.com/users/justlearn-spec/followers", "following_url": "https://api.github.com/users/justlearn-spec/following{/other_user}", "gists_url": "https://api.github.com/users/justlearn-spec/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/justlearn-spec", "id": 61821667, "login": "justlearn-spec", "node_id": "MDQ6VXNlcjYxODIxNjY3", "organizations_url": "https://api.github.com/users/justlearn-spec/orgs", "received_events_url": "https://api.github.com/users/justlearn-spec/received_events", "repos_url": "https://api.github.com/users/justlearn-spec/repos", "site_admin": false, "starred_url": "https://api.github.com/users/justlearn-spec/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/justlearn-spec/subscriptions", "type": "User", "url": "https://api.github.com/users/justlearn-spec" }
[ { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
13
2020-03-20T13:12:29Z
2020-03-26T14:03:02Z
2020-03-26T14:03:02Z
NONE
null
import pandas as pd import dask.distributed as dd The above code was working fine till afternoon IST and now, it has started throwing errors. Perhaps, the version? AttributeError: module 'pandas._libs.missing' has no attribute 'NAType' >>> df_train = dd.read_csv(filename_train, blocksize = "60MB") Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'dd' is not defined >>> df_test = dd.read_csv(filename_test, blocksize = "60MB") Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'dd' is not defined >>> df_train = df_train.drop(columns = ['INTERVAL_ID'], axis=1) Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'df_train' is not defined version pandas=1.0.2=py37h0573a6f_0
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32862/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32862/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32863
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32863/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32863/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32863/events
https://github.com/pandas-dev/pandas/issues/32863
585,061,912
MDU6SXNzdWU1ODUwNjE5MTI=
32,863
BUG: passing a non-dict mapping to pd.concat raises a TypeError
{ "avatar_url": "https://avatars.githubusercontent.com/u/1880006?v=4", "events_url": "https://api.github.com/users/pbourguignon/events{/privacy}", "followers_url": "https://api.github.com/users/pbourguignon/followers", "following_url": "https://api.github.com/users/pbourguignon/following{/other_user}", "gists_url": "https://api.github.com/users/pbourguignon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pbourguignon", "id": 1880006, "login": "pbourguignon", "node_id": "MDQ6VXNlcjE4ODAwMDY=", "organizations_url": "https://api.github.com/users/pbourguignon/orgs", "received_events_url": "https://api.github.com/users/pbourguignon/received_events", "repos_url": "https://api.github.com/users/pbourguignon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pbourguignon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pbourguignon/subscriptions", "type": "User", "url": "https://api.github.com/users/pbourguignon" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2020-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-03-20T13:15:16Z
2020-03-26T01:19:31Z
2020-03-26T01:19:31Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ```python class MyMapping(Mapping): def __init__(self, content=None): if content: self._content = content else: self._content = {} def __getitem__(self, key): return self._content[key] def __iter__(self): return iter(self._content) def __len__(self): return len(self._content) objs = MyMapping({"a": pd.DataFrame({"_0": [0.], "_1": [0.]}), "b": pd.DataFrame({"_0": [0.], "_1": [0.]})} concat_objs = pd.concat(objs, axis=1) ``` #### Problem description The above code raises a TypeError with the message "cannot concatenate object of type '<class 'str'>'; only Series and DataFrame objs are valid". As the documentation explicitly specifies that the argument `objs` can be a mapping of Series or DataFrame objects, the expected behaviour is to just proceed. #### Expected Output The concatenated data frame. #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : None python : 3.6.7.final.0 python-bits : 64 OS : Darwin OS-release : 19.3.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : en_GB.UTF-8 pandas : 0.25.3 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 41.0.0 Cython : None pytest : 5.3.2 hypothesis : None sphinx : 1.8.5 blosc : None feather : None xlsxwriter : None lxml.etree : 4.3.1 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.12.0 pandas_datareader: None bs4 : None bottleneck : 1.2.1 fastparquet : None gcsfs : None lxml.etree : 4.3.1 matplotlib : 3.1.3 numexpr : 2.7.1 odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : 3.6.1 xarray : None xlrd : None 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/32863/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32863/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32864
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32864/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32864/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32864/events
https://github.com/pandas-dev/pandas/pull/32864
585,062,490
MDExOlB1bGxSZXF1ZXN0MzkxNTI2MTI5
32,864
Fix wrong type checking in concat
{ "avatar_url": "https://avatars.githubusercontent.com/u/1880006?v=4", "events_url": "https://api.github.com/users/pbourguignon/events{/privacy}", "followers_url": "https://api.github.com/users/pbourguignon/followers", "following_url": "https://api.github.com/users/pbourguignon/following{/other_user}", "gists_url": "https://api.github.com/users/pbourguignon/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/pbourguignon", "id": 1880006, "login": "pbourguignon", "node_id": "MDQ6VXNlcjE4ODAwMDY=", "organizations_url": "https://api.github.com/users/pbourguignon/orgs", "received_events_url": "https://api.github.com/users/pbourguignon/received_events", "repos_url": "https://api.github.com/users/pbourguignon/repos", "site_admin": false, "starred_url": "https://api.github.com/users/pbourguignon/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/pbourguignon/subscriptions", "type": "User", "url": "https://api.github.com/users/pbourguignon" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "02d7e1", "default": false, "description": "Concat, Merge/Join, Stack/Unstack, Explode", "id": 13098779, "name": "Reshaping", "node_id": "MDU6TGFiZWwxMzA5ODc3OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping" } ]
closed
false
null
[]
{ "closed_at": "2020-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" }
7
2020-03-20T13:16:23Z
2020-03-25T08:49:10Z
2020-03-25T00:19:17Z
CONTRIBUTOR
null
While the documentation of ``pandas.DataFrame.concat`` specifies that any mapping of ``Label`` to ``FrameOrSeries`` is acceptable as the first argument, but the code actually checks for an instance of ``dict``. This changeset fixes that restriction. - [x] closes #32863 - [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/32864/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32864/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32864.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32864", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/32864.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32864" }
https://api.github.com/repos/pandas-dev/pandas/issues/32865
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32865/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32865/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32865/events
https://github.com/pandas-dev/pandas/issues/32865
585,080,057
MDU6SXNzdWU1ODUwODAwNTc=
32,865
BUG: rolling window functions don't support custom indexers
{ "avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4", "events_url": "https://api.github.com/users/AlexKirko/events{/privacy}", "followers_url": "https://api.github.com/users/AlexKirko/followers", "following_url": "https://api.github.com/users/AlexKirko/following{/other_user}", "gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlexKirko", "id": 23253999, "login": "AlexKirko", "node_id": "MDQ6VXNlcjIzMjUzOTk5", "organizations_url": "https://api.github.com/users/AlexKirko/orgs", "received_events_url": "https://api.github.com/users/AlexKirko/received_events", "repos_url": "https://api.github.com/users/AlexKirko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions", "type": "User", "url": "https://api.github.com/users/AlexKirko" }
[ { "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/23253999?v=4", "events_url": "https://api.github.com/users/AlexKirko/events{/privacy}", "followers_url": "https://api.github.com/users/AlexKirko/followers", "following_url": "https://api.github.com/users/AlexKirko/following{/other_user}", "gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlexKirko", "id": 23253999, "login": "AlexKirko", "node_id": "MDQ6VXNlcjIzMjUzOTk5", "organizations_url": "https://api.github.com/users/AlexKirko/orgs", "received_events_url": "https://api.github.com/users/AlexKirko/received_events", "repos_url": "https://api.github.com/users/AlexKirko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions", "type": "User", "url": "https://api.github.com/users/AlexKirko" }
[ { "avatar_url": "https://avatars.githubusercontent.com/u/23253999?v=4", "events_url": "https://api.github.com/users/AlexKirko/events{/privacy}", "followers_url": "https://api.github.com/users/AlexKirko/followers", "following_url": "https://api.github.com/users/AlexKirko/following{/other_user}", "gists_url": "https://api.github.com/users/AlexKirko/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/AlexKirko", "id": 23253999, "login": "AlexKirko", "node_id": "MDQ6VXNlcjIzMjUzOTk5", "organizations_url": "https://api.github.com/users/AlexKirko/orgs", "received_events_url": "https://api.github.com/users/AlexKirko/received_events", "repos_url": "https://api.github.com/users/AlexKirko/repos", "site_admin": false, "starred_url": "https://api.github.com/users/AlexKirko/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/AlexKirko/subscriptions", "type": "User", "url": "https://api.github.com/users/AlexKirko" } ]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
15
2020-03-20T13:45:34Z
2020-04-27T18:59:43Z
2020-04-27T18:59:43Z
MEMBER
null
#### Code Sample, a copy-pastable example if possible ```python class ForwardIndexer(BaseIndexer): def get_window_bounds(self, num_values, min_periods, center, closed): start = np.empty(num_values, dtype=np.int64) end = np.empty(num_values, dtype=np.int64) for i in range(num_values): if i + min_periods <= num_values: start[i] = i end[i] = min(i + self.window_size, num_values) else: start[i] = i end[i] = i + 1 return start, end x = pd.DataFrame({"a": [1,2,3,4,5,6,7,8,9]}) rolling = x["a"].rolling(ForwardIndexer(window_size=3), min_periods=2) result = rolling.min() result OUT: 0 0.0 1 0.0 2 1.0 3 2.0 4 3.0 5 4.0 6 5.0 7 7.0 8 NaN Name: a, dtype: float64 IN: expected = rolling.apply(lambda x: min(x)) expected OUT: 0 1.0 1 2.0 2 3.0 3 4.0 4 5.0 5 6.0 6 7.0 7 8.0 8 NaN Name: a, dtype: float64 ``` #### Problem description We state [here](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.rolling.html) that we support supplying a custom Indexer when building a `pandas.DataFrame.rolling` object. While the object does get built, and it returns the correct windows, it doesn't support many rolling window functions. The problem is that our implementations of these aggregation functions expect a standard backward-looking window and we support centered windows via a bit of a crutch. For example, `rolling.min` eventually falls through to `_roll_min_max_variable` in `aggregations.pyx`, which uses [this bit of code](https://github.com/pandas-dev/pandas/blob/6812842d3653e93f9191a59446b1b4b19c77c428/pandas/_libs/window/aggregations.pyx#L1091) to record the output: ```python for i in range(endi[0], endi[N-1]): if not Q.empty() and curr_win_size > 0: output[i-1+close_offset] = calc_mm( minp, nobs, values[Q.front()]) else: output[i-1+close_offset] = NaN ``` This indexing of output means that the window minimum gets written near the end of the window, even if the window is forward-looking. I've investigated a bit, and there is a similar issue in `rolling.std` - it also isn't adapted to more flexible rolling windows. While it's not possible to make rolling window aggregation functions completely universal without loss of efficiency, it's possible to adapt them to most useful cases: forward-looking, smoothly contracting and expanding. We'd still have to think on how we would check that we support a custom Indexer, and whether we would check at all. It might be possible to just specify the supported kinds in the docs and throw a warning or do something similar. If we choose this path, I'd be happy to deal with the problem over a series of PRs or share the load with someone. Looks like a fair bit of work, but the pandemic freed up a lot of time. #### Expected Output ``` OUT: 0 1.0 1 2.0 2 3.0 3 4.0 4 5.0 5 6.0 6 7.0 7 8.0 8 NaN Name: a, dtype: float64 ``` #### Output of ``pd.show_versions()`` <details> INSTALLED VERSIONS ------------------ commit : d308712c8edef078524b8a65df7cb74e9019218e python : 3.7.6.final.0 python-bits : 64 OS : Windows OS-release : 10 Version : 10.0.18362 machine : AMD64 processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel byteorder : little LC_ALL : None LANG : ru_RU.UTF-8 LOCALE : None.None pandas : 0.26.0.dev0+2635.gd308712c8 numpy : 1.17.5 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 44.0.0.post20200106 Cython : 0.29.14 pytest : 5.3.4 hypothesis : 5.2.0 sphinx : 2.3.1 blosc : None feather : None xlsxwriter : 1.2.7 lxml.etree : 4.4.2 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.11.1 pandas_datareader: None bs4 : 4.8.2 bottleneck : 1.3.1 fastparquet : None gcsfs : None matplotlib : 3.1.2 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.1 pandas_gbq : None pyarrow : None pytables : None pyxlsb : None s3fs : 0.4.0 scipy : 1.3.1 sqlalchemy : 1.3.12 tables : 3.6.1 tabulate : 0.8.6 xarray : None xlrd : 1.2.0 xlwt : 1.3.0 numba : 0.47.0 </details>
{ "+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/32865/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32865/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32866
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32866/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32866/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32866/events
https://github.com/pandas-dev/pandas/pull/32866
585,097,351
MDExOlB1bGxSZXF1ZXN0MzkxNTU0NTUz
32,866
TST: add test for non UTC datetime split #14042
{ "avatar_url": "https://avatars.githubusercontent.com/u/34447984?v=4", "events_url": "https://api.github.com/users/JDkuba/events{/privacy}", "followers_url": "https://api.github.com/users/JDkuba/followers", "following_url": "https://api.github.com/users/JDkuba/following{/other_user}", "gists_url": "https://api.github.com/users/JDkuba/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/JDkuba", "id": 34447984, "login": "JDkuba", "node_id": "MDQ6VXNlcjM0NDQ3OTg0", "organizations_url": "https://api.github.com/users/JDkuba/orgs", "received_events_url": "https://api.github.com/users/JDkuba/received_events", "repos_url": "https://api.github.com/users/JDkuba/repos", "site_admin": false, "starred_url": "https://api.github.com/users/JDkuba/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/JDkuba/subscriptions", "type": "User", "url": "https://api.github.com/users/JDkuba" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-03-20T14:13:52Z
2020-03-21T20:19:10Z
2020-03-21T20:19:05Z
CONTRIBUTOR
null
- [x] closes #14042 - [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/32866/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32866/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32866.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32866", "merged_at": "2020-03-21T20:19:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32866.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32866" }
https://api.github.com/repos/pandas-dev/pandas/issues/32867
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32867/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32867/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32867/events
https://github.com/pandas-dev/pandas/pull/32867
585,118,807
MDExOlB1bGxSZXF1ZXN0MzkxNTcxODg3
32,867
ENH/PERF: enable column-wise reductions for EA-backed columns
{ "avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4", "events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}", "followers_url": "https://api.github.com/users/jorisvandenbossche/followers", "following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}", "gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jorisvandenbossche", "id": 1020496, "login": "jorisvandenbossche", "node_id": "MDQ6VXNlcjEwMjA0OTY=", "organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs", "received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events", "repos_url": "https://api.github.com/users/jorisvandenbossche/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions", "type": "User", "url": "https://api.github.com/users/jorisvandenbossche" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "006b75", "default": false, "description": "Arithmetic, Comparison, and Logical operations", "id": 47223669, "name": "Numeric Operations", "node_id": "MDU6TGFiZWw0NzIyMzY2OQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" }, { "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
45
2020-03-20T14:47:53Z
2021-06-16T14:00:02Z
2021-06-16T14:00:02Z
MEMBER
null
Currently, for reductions on a DataFrame, we convert the full DataFrame to a single "interleaved" array and then perform the operation. That's the default, but when `numeric_only=True` is specified, it is done block-wise. Enabling column-wise reductions (or block-wise for EAs): - Gives better performance in common cases / no need to create a new 2D array (which goes through object dtype for nullable ints) - Ensures to use the reduction implementation of the EA itself, which can be more correct / more efficient than converting to an ndarray and using our generic nanops. For illustration purposes, I added a `column_wise` keyword in this PR (not meant to keep this, just for testing), so we can compare a few cases: ``` In [9]: df_wide = pd.DataFrame(np.random.randint(1000, size=(1000,100))).astype("Int64").copy() In [15]: %timeit df_wide.mean() 9.68 ms ± 100 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) In [16]: %timeit df_wide.mean(numeric_only=True) 10.1 ms ± 345 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) In [17]: %timeit df_wide.mean(column_wise=True) 5.22 ms ± 29.7 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) In [18]: df_long = pd.DataFrame(np.random.randint(1000, size=(10000,10))).astype("Int64").copy() In [19]: %timeit df_long.mean() 7.77 ms ± 115 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) In [20]: %timeit df_long.mean(numeric_only=True) 2.07 ms ± 31.3 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) In [21]: %timeit df_long.mean(column_wise=True) 1.04 ms ± 4.54 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) ``` So I experimented with two approaches: - First by iterating through the columns and calling the `_reduce` of the underlying EA (this path gets taken by using the temporary keyword `column_wise=True`) - Fixing the block-wise case for extension blocks (triggered by `numeric_only=True`) by changing that to also use `_reduce` of the EA (currently this was failing by calling nanops functions on the EA) The first gives better performance (it is simpler in implementation by not involding the blocks), but requires some more new code (it uses less the existing machinery). Ideally, for EA columns, we should always use their own reduction implementation (thus call `EA._reduce`), I think. So for both approaches, the question will be how to trigger this behaviour. Closes #32651, closes #34520
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32867/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32867/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32867.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32867", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/32867.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32867" }
https://api.github.com/repos/pandas-dev/pandas/issues/32868
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32868/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32868/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32868/events
https://github.com/pandas-dev/pandas/pull/32868
585,122,533
MDExOlB1bGxSZXF1ZXN0MzkxNTc0OTUy
32,868
Update 03_subset_data.rst
{ "avatar_url": "https://avatars.githubusercontent.com/u/907897?v=4", "events_url": "https://api.github.com/users/rogererens/events{/privacy}", "followers_url": "https://api.github.com/users/rogererens/followers", "following_url": "https://api.github.com/users/rogererens/following{/other_user}", "gists_url": "https://api.github.com/users/rogererens/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rogererens", "id": 907897, "login": "rogererens", "node_id": "MDQ6VXNlcjkwNzg5Nw==", "organizations_url": "https://api.github.com/users/rogererens/orgs", "received_events_url": "https://api.github.com/users/rogererens/received_events", "repos_url": "https://api.github.com/users/rogererens/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rogererens/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rogererens/subscriptions", "type": "User", "url": "https://api.github.com/users/rogererens" }
[ { "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-03-20T14:53:32Z
2020-03-20T15:56:46Z
2020-03-20T15:56:39Z
CONTRIBUTOR
null
IIUC, type() will report pandas.core.series.Series to me - [ ] 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/32868/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32868/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32868.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32868", "merged_at": "2020-03-20T15:56:39Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32868.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32868" }
https://api.github.com/repos/pandas-dev/pandas/issues/32869
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32869/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32869/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32869/events
https://github.com/pandas-dev/pandas/issues/32869
585,153,597
MDU6SXNzdWU1ODUxNTM1OTc=
32,869
Incorrect calculations of corrwith when "other" is the same table shifted on one row.
{ "avatar_url": "https://avatars.githubusercontent.com/u/22752322?v=4", "events_url": "https://api.github.com/users/YuriyTigiev/events{/privacy}", "followers_url": "https://api.github.com/users/YuriyTigiev/followers", "following_url": "https://api.github.com/users/YuriyTigiev/following{/other_user}", "gists_url": "https://api.github.com/users/YuriyTigiev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/YuriyTigiev", "id": 22752322, "login": "YuriyTigiev", "node_id": "MDQ6VXNlcjIyNzUyMzIy", "organizations_url": "https://api.github.com/users/YuriyTigiev/orgs", "received_events_url": "https://api.github.com/users/YuriyTigiev/received_events", "repos_url": "https://api.github.com/users/YuriyTigiev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/YuriyTigiev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/YuriyTigiev/subscriptions", "type": "User", "url": "https://api.github.com/users/YuriyTigiev" }
[]
closed
false
null
[]
null
1
2020-03-20T15:39:55Z
2020-03-21T03:36:04Z
2020-03-21T03:36:04Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python import pandas as pd pd.show_versions() df = pd.DataFrame([[1.0,20.0,3.0], [30.0,26.0,0.0], [32.0,0.0,86.0], [17.0, 3.0, 9.0]]) df1 = df.iloc[1:] df2 = pd.DataFrame([[30.0,26.0,0.0], [32.0,0.0,86.0], [17.0, 3.0, 9.0]]) print("\n*** df ***") print(df) print("\n*** df1 ***") print(df1) print("\n*** df2 ***") print(df2) print("\ndf.corr(df1)") print(df.corrwith(df1, axis=1, drop = True)) print("\ndf.corr(df2)") print(df.corrwith(df2, axis=1, drop = True)) ``` #### Problem description The method corrwith returns incorrect values (1) when "other" is the same table shifted on one row. ``` df.corr(df1) 1 1.0 2 1.0 3 1.0 ``` #### Expected Output ``` df.corr(df2) 0 0.299889 1 -0.877555 2 0.290426 ``` #### 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 94 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.1 numpy : 1.16.5 pytz : 2019.3 dateutil : 2.8.0 pip : 19.2.3 setuptools : 41.4.0 Cython : 0.29.13 pytest : 5.2.1 hypothesis : None sphinx : 2.2.0 blosc : None feather : None xlsxwriter : 1.2.1 lxml.etree : 4.4.1 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.8.0 pandas_datareader: None bs4 : 4.8.0 bottleneck : 1.2.1 fastparquet : None gcsfs : None lxml.etree : 4.4.1 matplotlib : 3.1.1 numexpr : 2.7.0 odfpy : None openpyxl : 3.0.0 pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : 1.3.1 sqlalchemy : 1.3.9 tables : 3.5.2 xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.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/32869/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32869/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32870
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32870/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32870/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32870/events
https://github.com/pandas-dev/pandas/pull/32870
585,198,601
MDExOlB1bGxSZXF1ZXN0MzkxNjM2NTM5
32,870
DOC: Remove latest whatsnew from header
{ "avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4", "events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}", "followers_url": "https://api.github.com/users/TomAugspurger/followers", "following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}", "gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/TomAugspurger", "id": 1312546, "login": "TomAugspurger", "node_id": "MDQ6VXNlcjEzMTI1NDY=", "organizations_url": "https://api.github.com/users/TomAugspurger/orgs", "received_events_url": "https://api.github.com/users/TomAugspurger/received_events", "repos_url": "https://api.github.com/users/TomAugspurger/repos", "site_admin": false, "starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions", "type": "User", "url": "https://api.github.com/users/TomAugspurger" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "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-05-30T15:21:05Z", "closed_issues": 94, "created_at": "2020-03-19T21:32:28Z", "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": "on-merge: backport to 1.0.x", "due_on": "2020-06-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/72", "id": 5219206, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels", "node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==", "number": 72, "open_issues": 0, "state": "closed", "title": "1.0.4", "updated_at": "2020-06-24T17:57:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72" }
2
2020-03-20T16:48:07Z
2020-05-05T15:28:10Z
2020-03-20T22:22:05Z
CONTRIBUTOR
null
In favor of going via the "Release notes" which stays in the header. Closes https://github.com/pandas-dev/pandas/issues/32748
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32870/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32870/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32870.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32870", "merged_at": "2020-03-20T22:22:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32870.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32870" }
https://api.github.com/repos/pandas-dev/pandas/issues/32871
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32871/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32871/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32871/events
https://github.com/pandas-dev/pandas/pull/32871
585,232,583
MDExOlB1bGxSZXF1ZXN0MzkxNjYzODc5
32,871
REF: misplaced Timedelta tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "5319e7", "default": false, "description": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-03-20T17:49:25Z
2020-03-21T21:02:57Z
2020-03-21T20:18:16Z
MEMBER
null
some parametrization along the way
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32871/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32871/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32871.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32871", "merged_at": "2020-03-21T20:18:16Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32871.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32871" }
https://api.github.com/repos/pandas-dev/pandas/issues/32872
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32872/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32872/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32872/events
https://github.com/pandas-dev/pandas/pull/32872
585,235,643
MDExOlB1bGxSZXF1ZXN0MzkxNjY2MzM4
32,872
Modification of validate_rst_title_capitalization.py script
{ "avatar_url": "https://avatars.githubusercontent.com/u/24496267?v=4", "events_url": "https://api.github.com/users/cleconte987/events{/privacy}", "followers_url": "https://api.github.com/users/cleconte987/followers", "following_url": "https://api.github.com/users/cleconte987/following{/other_user}", "gists_url": "https://api.github.com/users/cleconte987/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cleconte987", "id": 24496267, "login": "cleconte987", "node_id": "MDQ6VXNlcjI0NDk2MjY3", "organizations_url": "https://api.github.com/users/cleconte987/orgs", "received_events_url": "https://api.github.com/users/cleconte987/received_events", "repos_url": "https://api.github.com/users/cleconte987/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cleconte987/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cleconte987/subscriptions", "type": "User", "url": "https://api.github.com/users/cleconte987" }
[]
closed
false
null
[]
null
1
2020-03-20T17:55:24Z
2020-03-20T18:00:07Z
2020-03-20T18:00:07Z
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/32872/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32872/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32872.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32872", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/32872.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32872" }
https://api.github.com/repos/pandas-dev/pandas/issues/32873
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32873/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32873/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32873/events
https://github.com/pandas-dev/pandas/pull/32873
585,241,862
MDExOlB1bGxSZXF1ZXN0MzkxNjcxNDE4
32,873
Modification of validate_rst_title_capitalization.py script
{ "avatar_url": "https://avatars.githubusercontent.com/u/24496267?v=4", "events_url": "https://api.github.com/users/cleconte987/events{/privacy}", "followers_url": "https://api.github.com/users/cleconte987/followers", "following_url": "https://api.github.com/users/cleconte987/following{/other_user}", "gists_url": "https://api.github.com/users/cleconte987/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cleconte987", "id": 24496267, "login": "cleconte987", "node_id": "MDQ6VXNlcjI0NDk2MjY3", "organizations_url": "https://api.github.com/users/cleconte987/orgs", "received_events_url": "https://api.github.com/users/cleconte987/received_events", "repos_url": "https://api.github.com/users/cleconte987/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cleconte987/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cleconte987/subscriptions", "type": "User", "url": "https://api.github.com/users/cleconte987" }
[]
closed
false
null
[]
null
0
2020-03-20T18:07:03Z
2020-03-22T22:19:05Z
2020-03-20T18:22:43Z
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/32873/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32873/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32873.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32873", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/32873.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32873" }
https://api.github.com/repos/pandas-dev/pandas/issues/32874
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32874/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32874/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32874/events
https://github.com/pandas-dev/pandas/pull/32874
585,294,694
MDExOlB1bGxSZXF1ZXN0MzkxNzE0NTA0
32,874
BUG/TST: Add searchsorted tests
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-03-20T19:53:29Z
2020-03-22T22:02:33Z
2020-03-22T22:02:15Z
MEMBER
null
- [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` xref: https://github.com/pandas-dev/pandas/issues/32845
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32874/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32874/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32874.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32874", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/32874.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32874" }
https://api.github.com/repos/pandas-dev/pandas/issues/32875
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32875/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32875/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32875/events
https://github.com/pandas-dev/pandas/pull/32875
585,333,839
MDExOlB1bGxSZXF1ZXN0MzkxNzQ2MTA3
32,875
CLN: Period tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "eb6420", "default": false, "description": "Period data type", "id": 60635328, "name": "Period", "node_id": "MDU6TGFiZWw2MDYzNTMyOA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Period" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-03-20T21:21:23Z
2020-03-22T00:41:08Z
2020-03-22T00:16:45Z
MEMBER
null
Pretty much re-wrote the comparison tests to match the patterns we use elsewhere, avoided bare pytest.raises. A bunch of tests use `Period("NaT", freq)` which ends up being very duplicative. Cut that down a bit and marked a couple tests that belong elsewhere, will move 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/32875/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32875/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32875.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32875", "merged_at": "2020-03-22T00:16:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32875.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32875" }
https://api.github.com/repos/pandas-dev/pandas/issues/32876
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32876/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32876/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32876/events
https://github.com/pandas-dev/pandas/pull/32876
585,363,875
MDExOlB1bGxSZXF1ZXN0MzkxNzY5NDE2
32,876
TST: misplaced Series.get test
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "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-03-20T22:44:11Z
2020-03-21T21:03:30Z
2020-03-21T20:14:05Z
MEMBER
null
small unrelated cleanup in test_timeseries
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32876/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32876/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32876.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32876", "merged_at": "2020-03-21T20:14:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32876.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32876" }
https://api.github.com/repos/pandas-dev/pandas/issues/32877
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32877/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32877/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32877/events
https://github.com/pandas-dev/pandas/pull/32877
585,385,623
MDExOlB1bGxSZXF1ZXN0MzkxNzg0OTc0
32,877
REF: collect to_xarray tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
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-03-21T00:01:58Z
2020-03-22T20:58:28Z
2020-03-22T20:31:05Z
MEMBER
null
I'm split on where to put test_to_xarray. Since its testing one method, tests/generic/methods/ makes sense. BUT we could try to reserve that directory for tests that are nicely parametrized over Series/DataFrame, which these are not. Thoughts?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32877/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32877/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32877.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32877", "merged_at": "2020-03-22T20:31:05Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32877.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32877" }
https://api.github.com/repos/pandas-dev/pandas/issues/32878
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32878/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32878/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32878/events
https://github.com/pandas-dev/pandas/issues/32878
585,398,944
MDU6SXNzdWU1ODUzOTg5NDQ=
32,878
BUG?: should ComplexBlock._can_hold_element/should_store check itemsize?
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "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": "Complex Numbers", "id": 172091424, "name": "Complex", "node_id": "MDU6TGFiZWwxNzIwOTE0MjQ=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Complex" } ]
open
false
null
[]
null
3
2020-03-21T01:03:53Z
2021-07-30T04:00:15Z
null
MEMBER
null
``` arr = np.arange(5).astype("c8") ser = pd.Series(arr) val = np.finfo(np.float64).max val = val.astype("c16") >>> val (1.7976931348623157e+308+0j) ser[0] = val >>> ser 0 inf+0.000000e+00j 1 1.000000e+00+0.000000e+00j 2 2.000000e+00+0.000000e+00j 3 3.000000e+00+0.000000e+00j 4 4.000000e+00+0.000000e+00j dtype: complex64 ``` For IntBlock we check the itemsize to avoid overflows, but for FloatBlock and ComplexBlock we do not, so we get the `inf` here. Should we instead be upcasting?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32878/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32878/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32879
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32879/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32879/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32879/events
https://github.com/pandas-dev/pandas/pull/32879
585,416,013
MDExOlB1bGxSZXF1ZXN0MzkxODA2MTky
32,879
TST: Avoid bare pytest.raises in test_series.py
{ "avatar_url": "https://avatars.githubusercontent.com/u/15008772?v=4", "events_url": "https://api.github.com/users/Vlek/events{/privacy}", "followers_url": "https://api.github.com/users/Vlek/followers", "following_url": "https://api.github.com/users/Vlek/following{/other_user}", "gists_url": "https://api.github.com/users/Vlek/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Vlek", "id": 15008772, "login": "Vlek", "node_id": "MDQ6VXNlcjE1MDA4Nzcy", "organizations_url": "https://api.github.com/users/Vlek/orgs", "received_events_url": "https://api.github.com/users/Vlek/received_events", "repos_url": "https://api.github.com/users/Vlek/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Vlek/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Vlek/subscriptions", "type": "User", "url": "https://api.github.com/users/Vlek" }
[ { "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" }
2
2020-03-21T02:55:48Z
2020-03-22T01:57:40Z
2020-03-22T00:15:45Z
CONTRIBUTOR
null
* [x] ref #30999 * [x] tests added / passed * [x] passes `black pandas` * [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` Please note that this file had an error message that was pretty ugly, so I changed it to only include the class name as I have done for other tests.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32879/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32879/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32879.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32879", "merged_at": "2020-03-22T00:15:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32879.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32879" }
https://api.github.com/repos/pandas-dev/pandas/issues/32880
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32880/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32880/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32880/events
https://github.com/pandas-dev/pandas/pull/32880
585,438,529
MDExOlB1bGxSZXF1ZXN0MzkxODIwNzQy
32,880
DOC: Fix errors in pandas.DataFrame.sort_index
{ "avatar_url": "https://avatars.githubusercontent.com/u/8732795?v=4", "events_url": "https://api.github.com/users/farhanreynaldo/events{/privacy}", "followers_url": "https://api.github.com/users/farhanreynaldo/followers", "following_url": "https://api.github.com/users/farhanreynaldo/following{/other_user}", "gists_url": "https://api.github.com/users/farhanreynaldo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/farhanreynaldo", "id": 8732795, "login": "farhanreynaldo", "node_id": "MDQ6VXNlcjg3MzI3OTU=", "organizations_url": "https://api.github.com/users/farhanreynaldo/orgs", "received_events_url": "https://api.github.com/users/farhanreynaldo/received_events", "repos_url": "https://api.github.com/users/farhanreynaldo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/farhanreynaldo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/farhanreynaldo/subscriptions", "type": "User", "url": "https://api.github.com/users/farhanreynaldo" }
[ { "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-03-21T06:05:14Z
2020-03-23T02:51:54Z
2020-03-23T02:51:38Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Related to #27977. output of `python scripts/validate_docstrings.py pandas.DataFrame.sort_index`: ``` ################################################################################ ################################## Validation ################################## ################################################################################ ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32880/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32880/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32880.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32880", "merged_at": "2020-03-23T02:51:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32880.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32880" }
https://api.github.com/repos/pandas-dev/pandas/issues/32881
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32881/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32881/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32881/events
https://github.com/pandas-dev/pandas/pull/32881
585,442,776
MDExOlB1bGxSZXF1ZXN0MzkxODIzNTg5
32,881
DOC: Fix errors in pandas.DataFrame.melt
{ "avatar_url": "https://avatars.githubusercontent.com/u/8732795?v=4", "events_url": "https://api.github.com/users/farhanreynaldo/events{/privacy}", "followers_url": "https://api.github.com/users/farhanreynaldo/followers", "following_url": "https://api.github.com/users/farhanreynaldo/following{/other_user}", "gists_url": "https://api.github.com/users/farhanreynaldo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/farhanreynaldo", "id": 8732795, "login": "farhanreynaldo", "node_id": "MDQ6VXNlcjg3MzI3OTU=", "organizations_url": "https://api.github.com/users/farhanreynaldo/orgs", "received_events_url": "https://api.github.com/users/farhanreynaldo/received_events", "repos_url": "https://api.github.com/users/farhanreynaldo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/farhanreynaldo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/farhanreynaldo/subscriptions", "type": "User", "url": "https://api.github.com/users/farhanreynaldo" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
2
2020-03-21T06:42:35Z
2020-03-23T02:50:58Z
2020-03-23T02:50:47Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Related to #27977. output of `python scripts/validate_docstrings.py pandas.DataFrame.melt`: ``` ################################################################################ ################################## Validation ################################## ################################################################################
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32881/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32881/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32881.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32881", "merged_at": "2020-03-23T02:50:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32881.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32881" }
https://api.github.com/repos/pandas-dev/pandas/issues/32882
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32882/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32882/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32882/events
https://github.com/pandas-dev/pandas/issues/32882
585,482,825
MDU6SXNzdWU1ODU0ODI4MjU=
32,882
Cannot install pandas correctly due to unreachable code
{ "avatar_url": "https://avatars.githubusercontent.com/u/24496267?v=4", "events_url": "https://api.github.com/users/cleconte987/events{/privacy}", "followers_url": "https://api.github.com/users/cleconte987/followers", "following_url": "https://api.github.com/users/cleconte987/following{/other_user}", "gists_url": "https://api.github.com/users/cleconte987/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cleconte987", "id": 24496267, "login": "cleconte987", "node_id": "MDQ6VXNlcjI0NDk2MjY3", "organizations_url": "https://api.github.com/users/cleconte987/orgs", "received_events_url": "https://api.github.com/users/cleconte987/received_events", "repos_url": "https://api.github.com/users/cleconte987/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cleconte987/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cleconte987/subscriptions", "type": "User", "url": "https://api.github.com/users/cleconte987" }
[ { "color": "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" } ]
open
false
null
[]
null
13
2020-03-21T11:39:52Z
2021-07-30T04:06:51Z
null
CONTRIBUTOR
null
After running python setup.py build_ext --inplace -j 0: ![Screenshot 2020-03-21 at 12 26 39](https://user-images.githubusercontent.com/24496267/77225440-4b793d00-6b6f-11ea-8267-95496c9d273c.png) MacOS 10.14 python 3.6.6 I tried to install pandas from source in a setup virtual environment using pip. I cloned the repository, created the virtual environment with python -m venv. I ran pip install -r requirements-dev.txt Had a few problems with versions of dependencies being too recent and not satisfying requirements, but I manually downgraded them. And when I ran the above "python setup.py build_ext --inplace -j 0" I got the issue mentioned. Thanks for your help
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32882/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32882/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32883
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32883/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32883/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32883/events
https://github.com/pandas-dev/pandas/pull/32883
585,500,244
MDExOlB1bGxSZXF1ZXN0MzkxODU5MzYw
32,883
PERF/REF: MultiIndex.copy
{ "avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4", "events_url": "https://api.github.com/users/topper-123/events{/privacy}", "followers_url": "https://api.github.com/users/topper-123/followers", "following_url": "https://api.github.com/users/topper-123/following{/other_user}", "gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topper-123", "id": 26364415, "login": "topper-123", "node_id": "MDQ6VXNlcjI2MzY0NDE1", "organizations_url": "https://api.github.com/users/topper-123/orgs", "received_events_url": "https://api.github.com/users/topper-123/received_events", "repos_url": "https://api.github.com/users/topper-123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topper-123/subscriptions", "type": "User", "url": "https://api.github.com/users/topper-123" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" }, { "color": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
{ "closed_at": "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-03-21T13:33:34Z
2020-03-21T20:49:05Z
2020-03-21T20:06:06Z
CONTRIBUTOR
null
Makes ``MultiIndex.copy`` call ``MultiIndex._shallow_copy`` rather than the other way around. This is cleaner and let's us copy the existing ``.cache``, so may give performance boost when operating on copied MultiIndexes: ```python >>> n = 100_000 >>> df = pd.DataFrame({'a': range(n), 'b': range(1, n+1)}) >>> mi = pd.MultiIndex.from_frame(df) >>> mi.get_loc(mi[0]) # also sets up the cache >>> %timeit mi.copy().get_loc(mi[0]) 8.57 ms ± 157 µs per loop # master 57.9 µs ± 798 ns per loop # this PR ``` Also cleans kwargs from the ``MultiIndex._shallow_copy`` signature. This PR is somewhat related to #32669.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32883/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32883/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32883.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32883", "merged_at": "2020-03-21T20:06:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32883.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32883" }
https://api.github.com/repos/pandas-dev/pandas/issues/32884
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32884/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32884/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32884/events
https://github.com/pandas-dev/pandas/pull/32884
585,502,357
MDExOlB1bGxSZXF1ZXN0MzkxODYwNzA4
32,884
fix bare pytest raises in indexes/datetimes
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-03-21T13:47:18Z
2020-03-23T13:42:02Z
2020-03-21T20:04:41Z
CONTRIBUTOR
null
- [ ] ref #30999 - [ ] 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/32884/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32884/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32884.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32884", "merged_at": "2020-03-21T20:04:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32884.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32884" }
https://api.github.com/repos/pandas-dev/pandas/issues/32885
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32885/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32885/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32885/events
https://github.com/pandas-dev/pandas/issues/32885
585,508,828
MDU6SXNzdWU1ODU1MDg4Mjg=
32,885
Provide [major|religious|national] holiday offsets
{ "avatar_url": "https://avatars.githubusercontent.com/u/8569110?v=4", "events_url": "https://api.github.com/users/fabianegli/events{/privacy}", "followers_url": "https://api.github.com/users/fabianegli/followers", "following_url": "https://api.github.com/users/fabianegli/following{/other_user}", "gists_url": "https://api.github.com/users/fabianegli/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/fabianegli", "id": 8569110, "login": "fabianegli", "node_id": "MDQ6VXNlcjg1NjkxMTA=", "organizations_url": "https://api.github.com/users/fabianegli/orgs", "received_events_url": "https://api.github.com/users/fabianegli/received_events", "repos_url": "https://api.github.com/users/fabianegli/repos", "site_admin": false, "starred_url": "https://api.github.com/users/fabianegli/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/fabianegli/subscriptions", "type": "User", "url": "https://api.github.com/users/fabianegli" }
[]
closed
false
null
[]
null
3
2020-03-21T14:23:14Z
2020-03-24T16:53:39Z
2020-03-24T16:53:39Z
NONE
null
#### Motivation `pandas` does a wonderful job when working with time series - e.g. it is easy to find periodic patterns. There are straight forward methods to find these patterns for standard time intervals such as days, weeks, months and years. However, it is trickier to find these patterns when they occur in other periodicities or irregular but defined intervals. Often religious holidays depend on the moon or a calendar different from the western calendar ([ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Usage)). Easter is such an example and already has an offset in `pandas`. It would be very practical to get offsets to other holidays as well, like [iftar](https://en.wikipedia.org/wiki/Iftar), [Chinese New Year](https://en.wikipedia.org/wiki/Chinese_New_Year), [Passover](https://en.wikipedia.org/wiki/Passover), [Krishna Janmashtami](https://en.wikipedia.org/wiki/Krishna_Janmashtami) and [Kanamara Matsuri](https://en.wikipedia.org/wiki/Kanamara_Matsuri) to find patterns relative to their timing.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32885/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32885/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32886
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32886/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32886/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32886/events
https://github.com/pandas-dev/pandas/pull/32886
585,517,105
MDExOlB1bGxSZXF1ZXN0MzkxODcwNDUx
32,886
TST: Replace tm.all_index_generator with indices fixture
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-03-21T15:06:29Z
2020-03-22T00:12:11Z
2020-03-22T00:12:06Z
CONTRIBUTOR
null
Inspired by #30999 - [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/32886/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32886/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32886.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32886", "merged_at": "2020-03-22T00:12:06Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32886.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32886" }
https://api.github.com/repos/pandas-dev/pandas/issues/32887
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32887/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32887/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32887/events
https://github.com/pandas-dev/pandas/pull/32887
585,520,073
MDExOlB1bGxSZXF1ZXN0MzkxODcyNDAw
32,887
TST: Using ABCMultiIndex in isinstance checks
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
null
0
2020-03-21T15:23:34Z
2020-03-21T15:33:39Z
2020-03-21T15:33:39Z
CONTRIBUTOR
null
A follow-up on [#32483 (comment)](https://github.com/pandas-dev/pandas/pull/32483#discussion_r388795102) by @MomIsBestFriend - [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/32887/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32887/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32887.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32887", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/32887.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32887" }
https://api.github.com/repos/pandas-dev/pandas/issues/32888
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32888/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32888/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32888/events
https://github.com/pandas-dev/pandas/pull/32888
585,526,957
MDExOlB1bGxSZXF1ZXN0MzkxODc2ODgw
32,888
CLN: pandas/_libs/tslibs/nattype.pyx
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-03-21T16:01:03Z
2020-03-23T18:36:59Z
2020-03-21T20:31:08Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry --- This PR is doing basicly two things: * Getting rid of ```noqa: E128``` comments. * Unifying use of```util.foo``` in some places there was a use of ```is_integer_object(foo)``` and in some places there was a use of ```util.is_integer_object(foo)```, now ```util.is_integer_object(foo)``` is being in use instead. --- Benchmarks: ``` In [1]: from pandas._libs.tslibs.nattype import _make_nat_func In [2]: %timeit _make_nat_func("foo", "bar") 120 ns ± 1.01 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # Master 117 ns ± 1.47 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each) # PR ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32888/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32888/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32888.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32888", "merged_at": "2020-03-21T20:31:08Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32888.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32888" }
https://api.github.com/repos/pandas-dev/pandas/issues/32889
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32889/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32889/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32889/events
https://github.com/pandas-dev/pandas/pull/32889
585,531,624
MDExOlB1bGxSZXF1ZXN0MzkxODgwMDE3
32,889
TST: organize tests in test_timeseries
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "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-03-21T16:26:33Z
2020-03-21T21:19:49Z
2020-03-21T19:59:41Z
MEMBER
null
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32889/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32889/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32889.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32889", "merged_at": "2020-03-21T19:59:41Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32889.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32889" }
https://api.github.com/repos/pandas-dev/pandas/issues/32890
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32890/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32890/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32890/events
https://github.com/pandas-dev/pandas/pull/32890
585,541,594
MDExOlB1bGxSZXF1ZXN0MzkxODg2NDQ3
32,890
BUG: Fix replacing in `string` series with NA (pandas-dev#32621)
{ "avatar_url": "https://avatars.githubusercontent.com/u/2436203?v=4", "events_url": "https://api.github.com/users/chrispe/events{/privacy}", "followers_url": "https://api.github.com/users/chrispe/followers", "following_url": "https://api.github.com/users/chrispe/following{/other_user}", "gists_url": "https://api.github.com/users/chrispe/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/chrispe", "id": 2436203, "login": "chrispe", "node_id": "MDQ6VXNlcjI0MzYyMDM=", "organizations_url": "https://api.github.com/users/chrispe/orgs", "received_events_url": "https://api.github.com/users/chrispe/received_events", "repos_url": "https://api.github.com/users/chrispe/repos", "site_admin": false, "starred_url": "https://api.github.com/users/chrispe/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/chrispe/subscriptions", "type": "User", "url": "https://api.github.com/users/chrispe" }
[ { "color": "e10c02", "default": false, "description": null, "id": 76811, "name": "Bug", "node_id": "MDU6TGFiZWw3NjgxMQ==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug" }, { "color": "d7e102", "default": false, "description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate", "id": 2822342, "name": "Missing-data", "node_id": "MDU6TGFiZWwyODIyMzQy", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data" }, { "color": "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" }
8
2020-03-21T17:21:51Z
2020-04-12T08:04:40Z
2020-04-10T17:40:51Z
CONTRIBUTOR
null
The pd.NA values are replaced with np.nan before comparing the arrays/scalars - [X] closes #32621 - [X] tests 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/32890/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32890/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32890.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32890", "merged_at": "2020-04-10T17:40:51Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32890.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32890" }
https://api.github.com/repos/pandas-dev/pandas/issues/32891
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32891/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32891/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32891/events
https://github.com/pandas-dev/pandas/pull/32891
585,551,628
MDExOlB1bGxSZXF1ZXN0MzkxODkzMDc2
32,891
CLN: unnecessary ABCClasses
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-03-21T18:19:01Z
2020-03-21T21:02:28Z
2020-03-21T20:22:11Z
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/32891/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32891/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32891.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32891", "merged_at": "2020-03-21T20:22:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32891.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32891" }
https://api.github.com/repos/pandas-dev/pandas/issues/32892
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32892/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32892/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32892/events
https://github.com/pandas-dev/pandas/pull/32892
585,557,071
MDExOlB1bGxSZXF1ZXN0MzkxODk2NjM5
32,892
REF: simplify should_extension_dispatch, remove dispatch_to_extension_op
{ "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": "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" }
1
2020-03-21T18:50:01Z
2020-03-22T00:37:14Z
2020-03-22T00:21:50Z
MEMBER
null
dispatch_to_extension_op was needed back before we got rid of integer-addition for DTA/TDA/Timestamp/Timedelta. Now it reduces to a one-liner, which this inlines. This also consolidates all of the casting/checks up-front, which in turn avoids a runtime import and simplifies the check for should_extension_dispatch.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32892/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32892/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32892.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32892", "merged_at": "2020-03-22T00:21:50Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32892.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32892" }
https://api.github.com/repos/pandas-dev/pandas/issues/32893
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32893/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32893/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32893/events
https://github.com/pandas-dev/pandas/pull/32893
585,560,825
MDExOlB1bGxSZXF1ZXN0MzkxODk4OTI3
32,893
Added `const` where avaible
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "color": "a10c02", "default": false, "description": "Memory or execution speed performance", "id": 8935311, "name": "Performance", "node_id": "MDU6TGFiZWw4OTM1MzEx", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
6
2020-03-21T19:10:46Z
2020-03-23T22:27:08Z
2020-03-23T21:08:44Z
MEMBER
null
- [ ] 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/32893/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32893/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32893.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32893", "merged_at": "2020-03-23T21:08:44Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32893.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32893" }
https://api.github.com/repos/pandas-dev/pandas/issues/32894
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32894/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32894/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32894/events
https://github.com/pandas-dev/pandas/pull/32894
585,563,091
MDExOlB1bGxSZXF1ZXN0MzkxOTAwMzY1
32,894
[BUG] Sum of grouped bool has inconsistent dtype
{ "avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4", "events_url": "https://api.github.com/users/rhshadrach/events{/privacy}", "followers_url": "https://api.github.com/users/rhshadrach/followers", "following_url": "https://api.github.com/users/rhshadrach/following{/other_user}", "gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/rhshadrach", "id": 45562402, "login": "rhshadrach", "node_id": "MDQ6VXNlcjQ1NTYyNDAy", "organizations_url": "https://api.github.com/users/rhshadrach/orgs", "received_events_url": "https://api.github.com/users/rhshadrach/received_events", "repos_url": "https://api.github.com/users/rhshadrach/repos", "site_admin": false, "starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions", "type": "User", "url": "https://api.github.com/users/rhshadrach" }
[ { "color": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "color": "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-03-21T19:22:49Z
2020-07-11T16:02:15Z
2020-03-26T23:45:57Z
MEMBER
null
- [x] closes #7001 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry Would appreciate any feedback on this attempt. The strategy is to modify the dtype after the aggregation is computed in certain cases when casting. In order for this to work, the cast functions need to be made aware of how the data was aggregated. I've added an optional "how" argument to maybe_downcast_numeric and _try_cast. Because this dtype change is needed in two places, I've added the function groupby_result_dtype to dtypes/common.py to handle the logic. I wasn't sure where the mapping information needed by groupby_result_dtype should be stored. Currently it is in the function itself, but maybe there is a better place for it. If this is a good approach, it could potentially be expanded for other aggregations and datatypes. One thought is that perhaps groupby(-).mean() should always return a float for numeric types.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32894/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32894/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32894.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32894", "merged_at": "2020-03-26T23:45:57Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32894.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32894" }
https://api.github.com/repos/pandas-dev/pandas/issues/32895
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32895/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32895/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32895/events
https://github.com/pandas-dev/pandas/pull/32895
585,566,675
MDExOlB1bGxSZXF1ZXN0MzkxOTAyNTQ5
32,895
CLN: Fix common spelling mistakes
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "207de5", "default": false, "description": null, "id": 211029535, "name": "Clean", "node_id": "MDU6TGFiZWwyMTEwMjk1MzU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean" } ]
closed
false
null
[]
{ "closed_at": "2020-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-03-21T19:43:03Z
2020-03-21T23:00:05Z
2020-03-21T22:59:56Z
CONTRIBUTOR
null
I applied [this awesome automatic spell fixer](https://github.com/vlajos/misspell-fixer) to our codebase. I needed to do a manual review as it was attempting to fix some names, but the false-positive rate was pretty low! They also provide a GitHub action for automatic checks on PRs. Might be helpful, especially for the `docs`. If this is merged, I can create a follow-up issue for a discussion on the CI hook.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32895/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32895/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32895.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32895", "merged_at": "2020-03-21T22:59:56Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32895.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32895" }
https://api.github.com/repos/pandas-dev/pandas/issues/32896
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32896/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32896/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32896/events
https://github.com/pandas-dev/pandas/issues/32896
585,576,091
MDU6SXNzdWU1ODU1NzYwOTE=
32,896
DataFrame.iloc does not raise for setitem if empty
{ "avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4", "events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}", "followers_url": "https://api.github.com/users/SaturnFromTitan/followers", "following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}", "gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SaturnFromTitan", "id": 17853006, "login": "SaturnFromTitan", "node_id": "MDQ6VXNlcjE3ODUzMDA2", "organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs", "received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events", "repos_url": "https://api.github.com/users/SaturnFromTitan/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions", "type": "User", "url": "https://api.github.com/users/SaturnFromTitan" }
[ { "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": "e11d21", "default": false, "description": "Functionality that used to work in a prior pandas version", "id": 32815646, "name": "Regression", "node_id": "MDU6TGFiZWwzMjgxNTY0Ng==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression" } ]
closed
false
null
[]
null
8
2020-03-21T20:26:06Z
2020-11-23T03:18:45Z
2020-11-23T03:18:45Z
CONTRIBUTOR
null
This is a follow-up on [#32886 (comment)](https://github.com/pandas-dev/pandas/pull/32886#discussion_r396024385) `test_setitem_ndarray_3d` in `pandas/tests/indexing/test_indexing.py` isn't raising for empty index, iloc and DataFrame parametrization. The mentioned PR added a new `xfail` test for this combination: `test_setitem_ndarray_3d_does_not_fail_for_iloc_empty_dataframe`. The goal of this PR is to remove the `xfail` test and remove the associated `pytest.skip` in `test_setitem_ndarray_3d`.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32896/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32896/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32897
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32897/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32897/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32897/events
https://github.com/pandas-dev/pandas/pull/32897
585,583,480
MDExOlB1bGxSZXF1ZXN0MzkxOTE1NDMx
32,897
CLN: Avoiding casting
{ "avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4", "events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}", "followers_url": "https://api.github.com/users/ShaharNaveh/followers", "following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}", "gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/ShaharNaveh", "id": 50263213, "login": "ShaharNaveh", "node_id": "MDQ6VXNlcjUwMjYzMjEz", "organizations_url": "https://api.github.com/users/ShaharNaveh/orgs", "received_events_url": "https://api.github.com/users/ShaharNaveh/received_events", "repos_url": "https://api.github.com/users/ShaharNaveh/repos", "site_admin": false, "starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions", "type": "User", "url": "https://api.github.com/users/ShaharNaveh" }
[ { "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-03-21T20:58:54Z
2020-03-23T18:36:08Z
2020-03-22T20:40:46Z
MEMBER
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry --- Follow up to https://github.com/pandas-dev/pandas/pull/32794#discussion_r394045101
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32897/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32897/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32897.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32897", "merged_at": "2020-03-22T20:40:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32897.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32897" }
https://api.github.com/repos/pandas-dev/pandas/issues/32898
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32898/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32898/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32898/events
https://github.com/pandas-dev/pandas/pull/32898
585,588,246
MDExOlB1bGxSZXF1ZXN0MzkxOTE4Nzc0
32,898
TST: test that the .copy method on indexes copy the cache
{ "avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4", "events_url": "https://api.github.com/users/topper-123/events{/privacy}", "followers_url": "https://api.github.com/users/topper-123/followers", "following_url": "https://api.github.com/users/topper-123/following{/other_user}", "gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/topper-123", "id": 26364415, "login": "topper-123", "node_id": "MDQ6VXNlcjI2MzY0NDE1", "organizations_url": "https://api.github.com/users/topper-123/orgs", "received_events_url": "https://api.github.com/users/topper-123/received_events", "repos_url": "https://api.github.com/users/topper-123/repos", "site_admin": false, "starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/topper-123/subscriptions", "type": "User", "url": "https://api.github.com/users/topper-123" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-03-21T21:26:36Z
2020-03-22T01:15:15Z
2020-03-22T00:17:11Z
CONTRIBUTOR
null
In #32883 I made a PR to fix an issue that ``MultiIndex.copy`` didn't copy the ``_cache``. This adds a test for this for all index types (there's no futher issue, but it should still be tested for).
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32898/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32898/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32898.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32898", "merged_at": "2020-03-22T00:17:11Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32898.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32898" }
https://api.github.com/repos/pandas-dev/pandas/issues/32899
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32899/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32899/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32899/events
https://github.com/pandas-dev/pandas/pull/32899
585,613,790
MDExOlB1bGxSZXF1ZXN0MzkxOTM1ODgx
32,899
Timedeltas: Understand µs
{ "avatar_url": "https://avatars.githubusercontent.com/u/6496100?v=4", "events_url": "https://api.github.com/users/alvaroaleman/events{/privacy}", "followers_url": "https://api.github.com/users/alvaroaleman/followers", "following_url": "https://api.github.com/users/alvaroaleman/following{/other_user}", "gists_url": "https://api.github.com/users/alvaroaleman/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/alvaroaleman", "id": 6496100, "login": "alvaroaleman", "node_id": "MDQ6VXNlcjY0OTYxMDA=", "organizations_url": "https://api.github.com/users/alvaroaleman/orgs", "received_events_url": "https://api.github.com/users/alvaroaleman/received_events", "repos_url": "https://api.github.com/users/alvaroaleman/repos", "site_admin": false, "starred_url": "https://api.github.com/users/alvaroaleman/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/alvaroaleman/subscriptions", "type": "User", "url": "https://api.github.com/users/alvaroaleman" }
[ { "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": "Timedelta data type", "id": 49597148, "name": "Timedelta", "node_id": "MDU6TGFiZWw0OTU5NzE0OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
8
2020-03-22T00:21:26Z
2020-03-24T20:24:39Z
2020-03-24T20:24:34Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [X] tests added / passed - [ ] passes `black pandas` - [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [X] whatsnew entry These are emitted by golangs `time.Duration` printing: https://github.com/golang/go/blob/36b815edd6cd23d5aabdb488c24db2033bbdeea2/src/time/time.go#L669
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32899/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32899/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32899.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32899", "merged_at": "2020-03-24T20:24:34Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32899.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32899" }
https://api.github.com/repos/pandas-dev/pandas/issues/32900
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32900/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32900/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32900/events
https://github.com/pandas-dev/pandas/pull/32900
585,641,548
MDExOlB1bGxSZXF1ZXN0MzkxOTU0MTc5
32,900
DOC: Fix EX02 in pandas.Series.factorize
{ "avatar_url": "https://avatars.githubusercontent.com/u/8732795?v=4", "events_url": "https://api.github.com/users/farhanreynaldo/events{/privacy}", "followers_url": "https://api.github.com/users/farhanreynaldo/followers", "following_url": "https://api.github.com/users/farhanreynaldo/following{/other_user}", "gists_url": "https://api.github.com/users/farhanreynaldo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/farhanreynaldo", "id": 8732795, "login": "farhanreynaldo", "node_id": "MDQ6VXNlcjg3MzI3OTU=", "organizations_url": "https://api.github.com/users/farhanreynaldo/orgs", "received_events_url": "https://api.github.com/users/farhanreynaldo/received_events", "repos_url": "https://api.github.com/users/farhanreynaldo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/farhanreynaldo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/farhanreynaldo/subscriptions", "type": "User", "url": "https://api.github.com/users/farhanreynaldo" }
[]
closed
false
null
[]
null
0
2020-03-22T04:14:41Z
2020-03-22T04:42:15Z
2020-03-22T04:42:04Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Related to #27977. output of `python scripts/validate_docstrings.py pandas.Series.factorize`: ``` ################################################################################ ################################## Validation ################################## ################################################################################ ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32900/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32900/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32900.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32900", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/32900.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32900" }
https://api.github.com/repos/pandas-dev/pandas/issues/32901
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32901/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32901/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32901/events
https://github.com/pandas-dev/pandas/pull/32901
585,645,136
MDExOlB1bGxSZXF1ZXN0MzkxOTU2NjE0
32,901
DOC: Fix EX02 in pandas.Series.factorize
{ "avatar_url": "https://avatars.githubusercontent.com/u/8732795?v=4", "events_url": "https://api.github.com/users/farhanreynaldo/events{/privacy}", "followers_url": "https://api.github.com/users/farhanreynaldo/followers", "following_url": "https://api.github.com/users/farhanreynaldo/following{/other_user}", "gists_url": "https://api.github.com/users/farhanreynaldo/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/farhanreynaldo", "id": 8732795, "login": "farhanreynaldo", "node_id": "MDQ6VXNlcjg3MzI3OTU=", "organizations_url": "https://api.github.com/users/farhanreynaldo/orgs", "received_events_url": "https://api.github.com/users/farhanreynaldo/received_events", "repos_url": "https://api.github.com/users/farhanreynaldo/repos", "site_admin": false, "starred_url": "https://api.github.com/users/farhanreynaldo/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/farhanreynaldo/subscriptions", "type": "User", "url": "https://api.github.com/users/farhanreynaldo" }
[ { "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-03-22T04:49:12Z
2020-04-01T15:16:04Z
2020-04-01T15:15:54Z
CONTRIBUTOR
null
- [ ] closes #xxxx - [ ] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry Related to #27977. output of `python scripts/validate_docstrings.py pandas.Series.factorize`: ``` ################################################################################ ################################## Validation ################################## ################################################################################ ```
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32901/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32901/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32901.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32901", "merged_at": "2020-04-01T15:15:54Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32901.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32901" }
https://api.github.com/repos/pandas-dev/pandas/issues/32902
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32902/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32902/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32902/events
https://github.com/pandas-dev/pandas/issues/32902
585,645,976
MDU6SXNzdWU1ODU2NDU5NzY=
32,902
MultiIndex has problem selecting columns if one of the levels is tuples instead of str or int
{ "avatar_url": "https://avatars.githubusercontent.com/u/4814373?v=4", "events_url": "https://api.github.com/users/zachary822/events{/privacy}", "followers_url": "https://api.github.com/users/zachary822/followers", "following_url": "https://api.github.com/users/zachary822/following{/other_user}", "gists_url": "https://api.github.com/users/zachary822/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/zachary822", "id": 4814373, "login": "zachary822", "node_id": "MDQ6VXNlcjQ4MTQzNzM=", "organizations_url": "https://api.github.com/users/zachary822/orgs", "received_events_url": "https://api.github.com/users/zachary822/received_events", "repos_url": "https://api.github.com/users/zachary822/repos", "site_admin": false, "starred_url": "https://api.github.com/users/zachary822/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/zachary822/subscriptions", "type": "User", "url": "https://api.github.com/users/zachary822" }
[ { "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": "207de5", "default": false, "description": null, "id": 71268330, "name": "MultiIndex", "node_id": "MDU6TGFiZWw3MTI2ODMzMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex" } ]
closed
false
null
[]
null
3
2020-03-22T04:57:47Z
2021-07-30T04:08:59Z
2021-07-30T04:08:58Z
NONE
null
#### Code Sample, a copy-pastable example if possible ```python df = pd.DataFrame(np.random.rand(100)) df.columns = pd.MultiIndex.from_tuples([((1,), 1)]) df.loc[:, ((1,), 1)] # results in an empty dataframe ``` #### Problem description If a MultiIndex has tuples in one of its levels, you can not use a nested tuple to get that column. It returns empty. #### Expected Output Column(s) from the original dataframe. #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] INSTALLED VERSIONS ------------------ commit : None python : 3.7.7.final.0 python-bits : 64 OS : Darwin OS-release : 19.3.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : None LOCALE : en_US.UTF-8 pandas : 1.0.3 numpy : 1.18.1 pytz : 2019.1 dateutil : 2.8.0 pip : 19.2.3 setuptools : 41.2.0 Cython : 0.29.14 pytest : 5.3.5 hypothesis : None sphinx : 2.2.1 blosc : None feather : None xlsxwriter : 1.1.8 lxml.etree : 4.3.4 html5lib : None pymysql : None psycopg2 : None jinja2 : 2.10.3 IPython : 7.12.0 pandas_datareader: None bs4 : 4.7.1 bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.3.4 matplotlib : 3.1.2 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None pytest : 5.3.5 pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : None tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : 1.1.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/32902/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32902/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32903
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32903/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32903/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32903/events
https://github.com/pandas-dev/pandas/pull/32903
585,653,161
MDExOlB1bGxSZXF1ZXN0MzkxOTYxODg3
32,903
EHN: to_{html, string} col_space col specific
{ "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": "4E9A06", "default": false, "description": null, "id": 76812, "name": "Enhancement", "node_id": "MDU6TGFiZWw3NjgxMg==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement" }, { "color": "006b75", "default": false, "description": "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" }
8
2020-03-22T06:07:56Z
2020-06-20T11:08:08Z
2020-06-18T15:21:38Z
CONTRIBUTOR
null
- [ ] closes #28917 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [ ] whatsnew entry In to_html, to_latex and to_string, ```col_space``` arg now accepts a list or dict where we can mention the column name to change only a specific column's width. Haven't add test for to_latex and to_string since they too don't have test for the old col_space and I cannot think of anything less cumbersome than to count added whitespace.
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32903/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32903/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32903.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32903", "merged_at": "2020-06-18T15:21:38Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32903.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32903" }
https://api.github.com/repos/pandas-dev/pandas/issues/32904
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32904/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32904/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32904/events
https://github.com/pandas-dev/pandas/issues/32904
585,726,370
MDU6SXNzdWU1ODU3MjYzNzA=
32,904
Bug: TypeError: ufunc 'sqrt' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
{ "avatar_url": "https://avatars.githubusercontent.com/u/20208402?v=4", "events_url": "https://api.github.com/users/SultanOrazbayev/events{/privacy}", "followers_url": "https://api.github.com/users/SultanOrazbayev/followers", "following_url": "https://api.github.com/users/SultanOrazbayev/following{/other_user}", "gists_url": "https://api.github.com/users/SultanOrazbayev/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/SultanOrazbayev", "id": 20208402, "login": "SultanOrazbayev", "node_id": "MDQ6VXNlcjIwMjA4NDAy", "organizations_url": "https://api.github.com/users/SultanOrazbayev/orgs", "received_events_url": "https://api.github.com/users/SultanOrazbayev/received_events", "repos_url": "https://api.github.com/users/SultanOrazbayev/repos", "site_admin": false, "starred_url": "https://api.github.com/users/SultanOrazbayev/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/SultanOrazbayev/subscriptions", "type": "User", "url": "https://api.github.com/users/SultanOrazbayev" }
[ { "color": "8AE234", "default": false, "description": null, "id": 2413328, "name": "Visualization", "node_id": "MDU6TGFiZWwyNDEzMzI4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization" }, { "color": "0e8a16", "default": true, "description": null, "id": 717120670, "name": "good first issue", "node_id": "MDU6TGFiZWw3MTcxMjA2NzA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue" } ]
closed
false
null
[]
{ "closed_at": null, "closed_issues": 786, "created_at": "2015-01-13T10:53:19Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.", "due_on": null, "html_url": "https://github.com/pandas-dev/pandas/milestone/32", "id": 933188, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels", "node_id": "MDk6TWlsZXN0b25lOTMzMTg4", "number": 32, "open_issues": 1053, "state": "open", "title": "Contributions Welcome", "updated_at": "2021-11-21T00:50:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32" }
5
2020-03-22T14:07:53Z
2020-03-31T21:26:47Z
2020-03-31T21:26:47Z
CONTRIBUTOR
null
#### Code Sample, a copy-pastable example if possible ```python import numpy as np import pandas as pd import matplotlib.pyplot as plt df = pd.DataFrame(np.random.random((10,3))*100, columns=['a', 'b', 'c']) plt.scatter(x='a', y='b', s='c', data=df, alpha=0.3) df.plot.scatter(x='a', y='b', s='c') ``` #### Problem description Calling plot.scatter on a pandas dataframe with option for size results in a TypeError. The same data can be plotted directly with matplotlib. #### Output of ``pd.show_versions()`` <details> ``` INSTALLED VERSIONS ------------------ commit : None python : 3.7.6.final.0 python-bits : 64 OS : Darwin OS-release : 19.3.0 machine : x86_64 processor : i386 byteorder : little LC_ALL : None LANG : en_GB.UTF-8 LOCALE : en_GB.UTF-8 pandas : 1.0.3 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 19.3.1 setuptools : 46.0.0.post20200311 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 : 2.11.1 IPython : 7.13.0 pandas_datareader: None bs4 : None bottleneck : None fastparquet : 0.3.3 gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.2.0 numexpr : None odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : 0.16.0 pytables : None pytest : None pyxlsb : None s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.15 tables : None tabulate : None xarray : None xlrd : 1.2.0 xlwt : None xlsxwriter : None numba : 0.48.0 ``` </details>
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32904/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32904/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32905
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32905/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32905/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32905/events
https://github.com/pandas-dev/pandas/pull/32905
585,737,685
MDExOlB1bGxSZXF1ZXN0MzkyMDE5Mjky
32,905
Fix to _get_nearest_indexer for pydata/xarray#3751
{ "avatar_url": "https://avatars.githubusercontent.com/u/6628425?v=4", "events_url": "https://api.github.com/users/spencerkclark/events{/privacy}", "followers_url": "https://api.github.com/users/spencerkclark/followers", "following_url": "https://api.github.com/users/spencerkclark/following{/other_user}", "gists_url": "https://api.github.com/users/spencerkclark/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/spencerkclark", "id": 6628425, "login": "spencerkclark", "node_id": "MDQ6VXNlcjY2Mjg0MjU=", "organizations_url": "https://api.github.com/users/spencerkclark/orgs", "received_events_url": "https://api.github.com/users/spencerkclark/received_events", "repos_url": "https://api.github.com/users/spencerkclark/repos", "site_admin": false, "starred_url": "https://api.github.com/users/spencerkclark/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/spencerkclark/subscriptions", "type": "User", "url": "https://api.github.com/users/spencerkclark" }
[ { "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-05-30T15:21:05Z", "closed_issues": 94, "created_at": "2020-03-19T21:32:28Z", "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": "on-merge: backport to 1.0.x", "due_on": "2020-06-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/72", "id": 5219206, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels", "node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==", "number": 72, "open_issues": 0, "state": "closed", "title": "1.0.4", "updated_at": "2020-06-24T17:57:06Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72" }
10
2020-03-22T14:57:14Z
2020-05-06T14:32:23Z
2020-03-26T22:59:45Z
CONTRIBUTOR
null
@jbrockmendel thanks for encouraging me to submit a PR. I'm totally open to any suggested changes; this is just a sketch of something that would work for our needs and hopefully not break anything in pandas. To those not familiar, some changes introduced in https://github.com/pandas-dev/pandas/pull/31511 broke some functionality of an Index subclass we define in xarray. More details/discussion can be found in https://github.com/pydata/xarray/issues/3751 and https://github.com/pydata/xarray/pull/3764, but the gist of the issue is that for better or for worse, we have been relying on left and right distances in `_get_nearest_indexer` being determined using NumPy arrays rather than Index objects (as they were prior to https://github.com/pandas-dev/pandas/pull/31511). One way to fix this is to override `_get_nearest_indexer` within our Index subclass, which we've temporarily done in https://github.com/pydata/xarray/pull/3764, but this potentially fragile. It would be great if we could find a solution here. - [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/32905/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32905/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32905.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32905", "merged_at": "2020-03-26T22:59:45Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32905.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32905" }
https://api.github.com/repos/pandas-dev/pandas/issues/32906
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32906/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32906/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32906/events
https://github.com/pandas-dev/pandas/pull/32906
585,742,856
MDExOlB1bGxSZXF1ZXN0MzkyMDIyOTE0
32,906
TST: Avoid bare pytest.raises in mult files
{ "avatar_url": "https://avatars.githubusercontent.com/u/15008772?v=4", "events_url": "https://api.github.com/users/Vlek/events{/privacy}", "followers_url": "https://api.github.com/users/Vlek/followers", "following_url": "https://api.github.com/users/Vlek/following{/other_user}", "gists_url": "https://api.github.com/users/Vlek/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Vlek", "id": 15008772, "login": "Vlek", "node_id": "MDQ6VXNlcjE1MDA4Nzcy", "organizations_url": "https://api.github.com/users/Vlek/orgs", "received_events_url": "https://api.github.com/users/Vlek/received_events", "repos_url": "https://api.github.com/users/Vlek/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Vlek/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Vlek/subscriptions", "type": "User", "url": "https://api.github.com/users/Vlek" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
3
2020-03-22T15:23:04Z
2020-03-24T20:00:53Z
2020-03-24T19:59:40Z
CONTRIBUTOR
null
* [x] ref #30999 * [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/32906/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32906/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32906.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32906", "merged_at": "2020-03-24T19:59:40Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32906.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32906" }
https://api.github.com/repos/pandas-dev/pandas/issues/32907
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32907/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32907/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32907/events
https://github.com/pandas-dev/pandas/issues/32907
585,758,755
MDU6SXNzdWU1ODU3NTg3NTU=
32,907
Memory issues with HashTable when resizing
{ "avatar_url": "https://avatars.githubusercontent.com/u/41239569?v=4", "events_url": "https://api.github.com/users/Mibu287/events{/privacy}", "followers_url": "https://api.github.com/users/Mibu287/followers", "following_url": "https://api.github.com/users/Mibu287/following{/other_user}", "gists_url": "https://api.github.com/users/Mibu287/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/Mibu287", "id": 41239569, "login": "Mibu287", "node_id": "MDQ6VXNlcjQxMjM5NTY5", "organizations_url": "https://api.github.com/users/Mibu287/orgs", "received_events_url": "https://api.github.com/users/Mibu287/received_events", "repos_url": "https://api.github.com/users/Mibu287/repos", "site_admin": false, "starred_url": "https://api.github.com/users/Mibu287/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/Mibu287/subscriptions", "type": "User", "url": "https://api.github.com/users/Mibu287" }
[ { "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": "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" } ]
open
false
null
[]
null
2
2020-03-22T16:34:50Z
2020-10-19T11:54:16Z
null
NONE
null
As I read file `pandas/_libs/src/klib/khash.h`, I notice lines 226, 227 in macro `kh_resize_##name` ([source](https://github.com/pandas-dev/pandas/blob/master/pandas/_libs/src/klib/khash.h#L226)) ``` h->keys = (khkey_t*)realloc(h->keys, new_n_buckets * sizeof(khkey_t)); \ if (kh_is_map) h->vals = (khval_t*)realloc(h->vals, new_n_buckets * sizeof(khval_t)); \ ``` If realloc fail in either statement, it set h->keys or h->vals to NULL and leak original pointer value. Any attempt to deref new value of h->keys or h->vals will lead to undefined behaviors. Should we assign result of memory allocation to a temporary variable and perform check before reassign to HashTable's internal data?
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32907/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32907/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32908
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32908/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32908/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32908/events
https://github.com/pandas-dev/pandas/pull/32908
585,763,364
MDExOlB1bGxSZXF1ZXN0MzkyMDM3MjM1
32,908
WIP: Draft strawman implementation of draft strawman data frame "__dataframe__" interchange protocol for discussion
{ "avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4", "events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}", "followers_url": "https://api.github.com/users/simonjayhawkins/followers", "following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}", "gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/simonjayhawkins", "id": 13159005, "login": "simonjayhawkins", "node_id": "MDQ6VXNlcjEzMTU5MDA1", "organizations_url": "https://api.github.com/users/simonjayhawkins/orgs", "received_events_url": "https://api.github.com/users/simonjayhawkins/received_events", "repos_url": "https://api.github.com/users/simonjayhawkins/repos", "site_admin": false, "starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions", "type": "User", "url": "https://api.github.com/users/simonjayhawkins" }
[ { "color": "AD7FA8", "default": false, "description": null, "id": 35818298, "name": "API Design", "node_id": "MDU6TGFiZWwzNTgxODI5OA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design" }, { "color": "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": "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" } ]
closed
false
null
[]
null
2
2020-03-22T16:54:47Z
2020-05-22T10:44:08Z
2020-05-22T10:44:07Z
MEMBER
null
xref https://github.com/wesm/dataframe-protocol/pull/1
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32908/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32908/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32908.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32908", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/32908.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32908" }
https://api.github.com/repos/pandas-dev/pandas/issues/32909
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32909/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32909/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32909/events
https://github.com/pandas-dev/pandas/pull/32909
585,789,372
MDExOlB1bGxSZXF1ZXN0MzkyMDU1MDUz
32,909
TST: collect .insert tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "0b02e1", "default": false, "description": "Related to indexing on series/frames, not to indexes themselves", "id": 2822098, "name": "Indexing", "node_id": "MDU6TGFiZWwyODIyMDk4", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing" } ]
closed
false
null
[]
{ "closed_at": "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-03-22T19:07:25Z
2020-03-24T19:58:52Z
2020-03-24T19:56:09Z
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/32909/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32909/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32909.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32909", "merged_at": "2020-03-24T19:56:09Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32909.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32909" }
https://api.github.com/repos/pandas-dev/pandas/issues/32910
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32910/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32910/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32910/events
https://github.com/pandas-dev/pandas/pull/32910
585,793,121
MDExOlB1bGxSZXF1ZXN0MzkyMDU3NzA4
32,910
CLN: Split integer array tests
{ "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": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" }, { "color": "6138b5", "default": false, "description": "Extending pandas with custom dtypes or arrays.", "id": 849023693, "name": "ExtensionArray", "node_id": "MDU6TGFiZWw4NDkwMjM2OTM=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray" } ]
closed
false
null
[]
{ "closed_at": "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-03-22T19:26:12Z
2020-03-24T19:57:08Z
2020-03-24T19:53:31Z
MEMBER
null
Follow-up to https://github.com/pandas-dev/pandas/pull/32780 (as with that PR there shouldn't be any changes to testing logic here)
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32910/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32910/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32910.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32910", "merged_at": "2020-03-24T19:53:31Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32910.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32910" }
https://api.github.com/repos/pandas-dev/pandas/issues/32911
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32911/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32911/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32911/events
https://github.com/pandas-dev/pandas/pull/32911
585,796,188
MDExOlB1bGxSZXF1ZXN0MzkyMDU5NzMz
32,911
ENH: Add ods writer
{ "avatar_url": "https://avatars.githubusercontent.com/u/10944368?v=4", "events_url": "https://api.github.com/users/roberthdevries/events{/privacy}", "followers_url": "https://api.github.com/users/roberthdevries/followers", "following_url": "https://api.github.com/users/roberthdevries/following{/other_user}", "gists_url": "https://api.github.com/users/roberthdevries/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/roberthdevries", "id": 10944368, "login": "roberthdevries", "node_id": "MDQ6VXNlcjEwOTQ0MzY4", "organizations_url": "https://api.github.com/users/roberthdevries/orgs", "received_events_url": "https://api.github.com/users/roberthdevries/received_events", "repos_url": "https://api.github.com/users/roberthdevries/repos", "site_admin": false, "starred_url": "https://api.github.com/users/roberthdevries/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/roberthdevries/subscriptions", "type": "User", "url": "https://api.github.com/users/roberthdevries" }
[ { "color": "bfe5bf", "default": false, "description": "read_excel, to_excel", "id": 49254273, "name": "IO Excel", "node_id": "MDU6TGFiZWw0OTI1NDI3Mw==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
8
2020-03-22T19:42:30Z
2020-06-27T14:01:15Z
2020-06-24T15:13:58Z
CONTRIBUTOR
null
- [x] closes #27222 - [x] tests added / passed - [x] passes `black pandas` - [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` - [x] whatsnew entry - [x] add support for startrow and startcol parameters
{ "+1": 0, "-1": 0, "confused": 0, "eyes": 0, "heart": 0, "hooray": 0, "laugh": 0, "rocket": 0, "total_count": 0, "url": "https://api.github.com/repos/pandas-dev/pandas/issues/32911/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32911/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32911.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32911", "merged_at": "2020-06-24T15:13:58Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32911.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32911" }
https://api.github.com/repos/pandas-dev/pandas/issues/32912
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32912/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32912/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32912/events
https://github.com/pandas-dev/pandas/pull/32912
585,796,543
MDExOlB1bGxSZXF1ZXN0MzkyMDU5OTUz
32,912
REF: misplaced arithmetic tests
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
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-03-22T19:44:33Z
2020-03-24T19:59:16Z
2020-03-24T19:55:26Z
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/32912/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32912/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32912.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32912", "merged_at": "2020-03-24T19:55:26Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32912.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32912" }
https://api.github.com/repos/pandas-dev/pandas/issues/32913
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32913/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32913/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32913/events
https://github.com/pandas-dev/pandas/issues/32913
585,805,915
MDU6SXNzdWU1ODU4MDU5MTU=
32,913
pd.pct_change() inconsistently rasies SettingWithCopyWarning:
{ "avatar_url": "https://avatars.githubusercontent.com/u/22532833?v=4", "events_url": "https://api.github.com/users/RandyBetancourt/events{/privacy}", "followers_url": "https://api.github.com/users/RandyBetancourt/followers", "following_url": "https://api.github.com/users/RandyBetancourt/following{/other_user}", "gists_url": "https://api.github.com/users/RandyBetancourt/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/RandyBetancourt", "id": 22532833, "login": "RandyBetancourt", "node_id": "MDQ6VXNlcjIyNTMyODMz", "organizations_url": "https://api.github.com/users/RandyBetancourt/orgs", "received_events_url": "https://api.github.com/users/RandyBetancourt/received_events", "repos_url": "https://api.github.com/users/RandyBetancourt/repos", "site_admin": false, "starred_url": "https://api.github.com/users/RandyBetancourt/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/RandyBetancourt/subscriptions", "type": "User", "url": "https://api.github.com/users/RandyBetancourt" }
[ { "color": "207de5", "default": false, "description": "Clarification about behavior needed to assess issue", "id": 307649777, "name": "Needs Info", "node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info" } ]
closed
false
null
[]
null
2
2020-03-22T20:32:32Z
2020-03-23T14:56:40Z
2020-03-23T14:56:40Z
NONE
null
When calling the get_daily_adjusted() function from the Alpha Vantage web API to building a DataFrame and calling the pd.pct_change() function on the resulting DataFrame, a SettingWithCopyWarning is raised. Alternatively, if a similar DataFrame is built calling the DataFrame() constructor method with a call to the pd.pct_change() function, no SettingWithCopyWarning is raised. ```python Python 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 13:32:41) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from alpha_vantage.timeseries import TimeSeries >>> import pandas as pd >>> import datetime >>> >>> ts = TimeSeries(key="XXXX", output_format='pandas') >>> df, meta_data = ts.get_daily_adjusted(symbol='TSLA', outputsize='full') >>> >>> df.columns = df.columns.str[3:] >>> tesla = df[(df.index > '2019-05-01')] >>> >>> print(isinstance(tesla, pd.DataFrame)) True >>> >>> print(tesla.info()) <class 'pandas.core.frame.DataFrame'> DatetimeIndex: 224 entries, 2020-03-20 to 2019-05-02 Data columns (total 8 columns): # Column Non-Null Count Dtype --- ------ -------------- ----- 0 open 224 non-null float64 1 high 224 non-null float64 2 low 224 non-null float64 3 close 224 non-null float64 4 adjusted close 224 non-null float64 5 volume 224 non-null float64 6 dividend amount 224 non-null float64 7 split coefficient 224 non-null float64 dtypes: float64(8) memory usage: 15.8 KB None >>> >>> tesla.close = tesla.close.pct_change(periods=1) C:\Users\randy\Anaconda3\lib\site-packages\pandas\core\generic.py:5292: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy self[name] = value >>> >>> df2 = pd.DataFrame({ ... 'open': [14.97,15.1,1.5,14.82], ... 'high': [14.97,15.15,15,15.47], ... 'low': [14.97,14.86,14.16,14.62], ... 'close': [14.97,13.08,15,15.14]}, ... index=['2019-12-31', '2020-01-02', '2020-01-03','2020-01-04']) >>> >>> print(isinstance(df, pd.DataFrame)) True >>> >>> df2.close = df2.close.pct_change(periods = 1) >>> >>> print(df2.info()) <class 'pandas.core.frame.DataFrame'> Index: 4 entries, 2019-12-31 to 2020-01-04 Data columns (total 4 columns): # Column Non-Null Count Dtype --- ------ -------------- ----- 0 open 4 non-null float64 1 high 4 non-null float64 2 low 4 non-null float64 3 close 3 non-null float64 dtypes: float64(4) memory usage: 160.0+ bytes None ``` #### Problem description I can't determine why the method for DataFrame construction seems to influence the behavior of the pd.pct_change() method. What is different between these two instances? Chaining a copy() method call to the first example still raises the SettingWithCopyWarning. #### Output of ``pd.show_versions()`` <details> [paste the output of ``pd.show_versions()`` here below this line] >>> pd.show_versions() INSTALLED VERSIONS ------------------ commit : None python : 3.6.5.final.0 python-bits : 64 OS : Windows OS-release : 10 machine : AMD64 processor : Intel64 Family 6 Model 58 Stepping 9, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 1.0.0rc0 numpy : 1.18.1 pytz : 2019.3 dateutil : 2.8.1 pip : 20.0.2 setuptools : 45.2.0.post20200210 Cython : 0.29.15 pytest : 5.3.5 hypothesis : 5.5.4 sphinx : 2.4.0 blosc : None feather : None xlsxwriter : 1.2.7 lxml.etree : 4.5.0 html5lib : 1.0.1 pymysql : None psycopg2 : None jinja2 : 2.11.1 IPython : 7.12.0 pandas_datareader: None bs4 : 4.8.2 bottleneck : 1.3.2 fastparquet : None gcsfs : None lxml.etree : 4.5.0 matplotlib : 3.1.3 numexpr : 2.7.1 odfpy : None openpyxl : 3.0.3 pandas_gbq : None pyarrow : None pytables : None pytest : 5.3.5 s3fs : None scipy : 1.4.1 sqlalchemy : 1.3.13 tables : 3.6.1 tabulate : 0.8.6 xarray : None xlrd : 1.2.0 xlwt : 1.3.0 xlsxwriter : 1.2.7 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/32913/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32913/timeline
null
null
null
https://api.github.com/repos/pandas-dev/pandas/issues/32914
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32914/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32914/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32914/events
https://github.com/pandas-dev/pandas/pull/32914
585,810,787
MDExOlB1bGxSZXF1ZXN0MzkyMDY5NDM0
32,914
BUG: Fix min_count issue for groupby.sum
{ "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": "729FCF", "default": false, "description": null, "id": 233160, "name": "Groupby", "node_id": "MDU6TGFiZWwyMzMxNjA=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby" }, { "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" }
8
2020-03-22T20:58:06Z
2020-05-11T13:09:02Z
2020-05-09T21:54:28Z
MEMBER
null
- [x] closes #32861 - [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/32914/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32914/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32914.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32914", "merged_at": "2020-05-09T21:54:28Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32914.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32914" }
https://api.github.com/repos/pandas-dev/pandas/issues/32915
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32915/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32915/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32915/events
https://github.com/pandas-dev/pandas/pull/32915
585,827,574
MDExOlB1bGxSZXF1ZXN0MzkyMDgxMDQ3
32,915
DOC: Modify validate_rst_title_capitalization.py script
{ "avatar_url": "https://avatars.githubusercontent.com/u/24496267?v=4", "events_url": "https://api.github.com/users/cleconte987/events{/privacy}", "followers_url": "https://api.github.com/users/cleconte987/followers", "following_url": "https://api.github.com/users/cleconte987/following{/other_user}", "gists_url": "https://api.github.com/users/cleconte987/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/cleconte987", "id": 24496267, "login": "cleconte987", "node_id": "MDQ6VXNlcjI0NDk2MjY3", "organizations_url": "https://api.github.com/users/cleconte987/orgs", "received_events_url": "https://api.github.com/users/cleconte987/received_events", "repos_url": "https://api.github.com/users/cleconte987/repos", "site_admin": false, "starred_url": "https://api.github.com/users/cleconte987/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/cleconte987/subscriptions", "type": "User", "url": "https://api.github.com/users/cleconte987" }
[ { "color": "3465A4", "default": false, "description": null, "id": 134699, "name": "Docs", "node_id": "MDU6TGFiZWwxMzQ2OTk=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs" }, { "color": "a2bca7", "default": false, "description": "Continuous Integration", "id": 48070600, "name": "CI", "node_id": "MDU6TGFiZWw0ODA3MDYwMA==", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI" } ]
closed
false
null
[]
null
8
2020-03-22T22:25:19Z
2020-03-23T18:20:28Z
2020-03-23T17:56:32Z
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/32915/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32915/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32915.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32915", "merged_at": null, "patch_url": "https://github.com/pandas-dev/pandas/pull/32915.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32915" }
https://api.github.com/repos/pandas-dev/pandas/issues/32916
https://api.github.com/repos/pandas-dev/pandas
https://api.github.com/repos/pandas-dev/pandas/issues/32916/labels{/name}
https://api.github.com/repos/pandas-dev/pandas/issues/32916/comments
https://api.github.com/repos/pandas-dev/pandas/issues/32916/events
https://github.com/pandas-dev/pandas/pull/32916
585,861,028
MDExOlB1bGxSZXF1ZXN0MzkyMTA1ODAx
32,916
TST: move to indices fixture instead of create_index
{ "avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4", "events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}", "followers_url": "https://api.github.com/users/jbrockmendel/followers", "following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}", "gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jbrockmendel", "id": 8078968, "login": "jbrockmendel", "node_id": "MDQ6VXNlcjgwNzg5Njg=", "organizations_url": "https://api.github.com/users/jbrockmendel/orgs", "received_events_url": "https://api.github.com/users/jbrockmendel/received_events", "repos_url": "https://api.github.com/users/jbrockmendel/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions", "type": "User", "url": "https://api.github.com/users/jbrockmendel" }
[ { "color": "C4A000", "default": false, "description": "pandas testing functions or related to the test suite", "id": 127685, "name": "Testing", "node_id": "MDU6TGFiZWwxMjc2ODU=", "url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing" } ]
closed
false
null
[]
{ "closed_at": "2020-07-28T18:13:47Z", "closed_issues": 2378, "created_at": "2019-12-02T12:52:48Z", "creator": { "avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4", "events_url": "https://api.github.com/users/jreback/events{/privacy}", "followers_url": "https://api.github.com/users/jreback/followers", "following_url": "https://api.github.com/users/jreback/following{/other_user}", "gists_url": "https://api.github.com/users/jreback/gists{/gist_id}", "gravatar_id": "", "html_url": "https://github.com/jreback", "id": 953992, "login": "jreback", "node_id": "MDQ6VXNlcjk1Mzk5Mg==", "organizations_url": "https://api.github.com/users/jreback/orgs", "received_events_url": "https://api.github.com/users/jreback/received_events", "repos_url": "https://api.github.com/users/jreback/repos", "site_admin": false, "starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/jreback/subscriptions", "type": "User", "url": "https://api.github.com/users/jreback" }, "description": "", "due_on": "2020-08-01T07:00:00Z", "html_url": "https://github.com/pandas-dev/pandas/milestone/68", "id": 4894670, "labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels", "node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==", "number": 68, "open_issues": 0, "state": "closed", "title": "1.1", "updated_at": "2021-07-17T17:25:28Z", "url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68" }
1
2020-03-23T01:04:52Z
2020-04-05T17:33:07Z
2020-03-24T19:48:47Z
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/32916/reactions" }
https://api.github.com/repos/pandas-dev/pandas/issues/32916/timeline
null
0
{ "diff_url": "https://github.com/pandas-dev/pandas/pull/32916.diff", "html_url": "https://github.com/pandas-dev/pandas/pull/32916", "merged_at": "2020-03-24T19:48:47Z", "patch_url": "https://github.com/pandas-dev/pandas/pull/32916.patch", "url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32916" }