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/30915 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30915/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30915/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30915/events | https://github.com/pandas-dev/pandas/pull/30915 | 548,413,386 | MDExOlB1bGxSZXF1ZXN0MzYxNzE3OTc3 | 30,915 | ENH/TST: Allow more keywords to ensure_clean | {
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
} | [
{
"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 t... | 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-01-11T10:37:17Z | 2020-01-15T08:15:58Z | 2020-01-15T04:31:50Z | MEMBER | null | These keywords will be passed through to `tempfile` constructor functions.
Follow-up:
https://github.com/pandas-dev/pandas/pull/30771#discussion_r363684666 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30915/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30915/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30915.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30915",
"merged_at": "2020-01-15T04:31:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30915.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30915"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30916 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30916/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30916/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30916/events | https://github.com/pandas-dev/pandas/pull/30916 | 548,414,885 | MDExOlB1bGxSZXF1ZXN0MzYxNzE5MDU5 | 30,916 | CLN: F-strings | {
"avatar_url": "https://avatars.githubusercontent.com/u/11347604?v=4",
"events_url": "https://api.github.com/users/dinasv/events{/privacy}",
"followers_url": "https://api.github.com/users/dinasv/followers",
"following_url": "https://api.github.com/users/dinasv/following{/other_user}",
"gists_url": "https://api.github.com/users/dinasv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dinasv",
"id": 11347604,
"login": "dinasv",
"node_id": "MDQ6VXNlcjExMzQ3NjA0",
"organizations_url": "https://api.github.com/users/dinasv/orgs",
"received_events_url": "https://api.github.com/users/dinasv/received_events",
"repos_url": "https://api.github.com/users/dinasv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dinasv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dinasv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dinasv"
} | [
{
"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-01-11T10:52:45Z | 2020-01-12T09:37:58Z | 2020-01-11T23:12:34Z | CONTRIBUTOR | null | - [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30916/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30916/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30916.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30916",
"merged_at": "2020-01-11T23:12:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30916.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30916"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30917 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30917/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30917/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30917/events | https://github.com/pandas-dev/pandas/pull/30917 | 548,416,918 | MDExOlB1bGxSZXF1ZXN0MzYxNzIwNDk2 | 30,917 | DOC: Fixture docs in pandas/conftest.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https://api.github.com/users/gfyoung/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gfyoung",
"id": 9273653,
"login": "gfyoung",
"node_id": "MDQ6VXNlcjkyNzM2NTM=",
"organizations_url": "https://api.github.com/users/gfyoung/orgs",
"received_events_url": "https://api.github.com/users/gfyoung/received_events",
"repos_url": "https://api.github.com/users/gfyoung/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gfyoung/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gfyoung/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gfyoung"
} | [
{
"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": "3465A4",
"d... | 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-01-11T11:13:05Z | 2020-01-11T23:25:48Z | 2020-01-11T23:16:41Z | MEMBER | null | xref: https://github.com/pandas-dev/pandas/issues/19159 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30917/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30917/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30917.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30917",
"merged_at": "2020-01-11T23:16:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30917.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30917"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30918 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30918/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30918/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30918/events | https://github.com/pandas-dev/pandas/issues/30918 | 548,423,318 | MDU6SXNzdWU1NDg0MjMzMTg= | 30,918 | Unexpected behaviour of groupby.transform when using 'fillna' | {
"avatar_url": "https://avatars.githubusercontent.com/u/7500158?v=4",
"events_url": "https://api.github.com/users/lfiedler/events{/privacy}",
"followers_url": "https://api.github.com/users/lfiedler/followers",
"following_url": "https://api.github.com/users/lfiedler/following{/other_user}",
"gists_url": "https://api.github.com/users/lfiedler/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/lfiedler",
"id": 7500158,
"login": "lfiedler",
"node_id": "MDQ6VXNlcjc1MDAxNTg=",
"organizations_url": "https://api.github.com/users/lfiedler/orgs",
"received_events_url": "https://api.github.com/users/lfiedler/received_events",
"repos_url": "https://api.github.com/users/lfiedler/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/lfiedler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lfiedler/subscriptions",
"type": "User",
"url": "https://api.github.com/users/lfiedler"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT,... | 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-01-11T12:20:47Z | 2020-01-24T19:16:01Z | 2020-01-24T19:16:01Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
import numpy as np
df = pd.DataFrame(
{
'A': ['foo', 'foo', 'foo', 'foo', 'bar', 'bar', 'baz'],
'B': [1, 2, np.nan, 3, 3, np.nan, 4],
'C': [np.nan]*7,
'D': [0,1,2,3,4,5,6],
'E': [np.nan] + [datetime.datetime(2020,1,1)]*3 + [datetime.datetime(2020,1,2)]*2 +[datetime.datetime(2020,1,3)],
'F': list('abcdefg'),
'G': list('abc') + [np.nan] + list('efg'),
'id': range(0,7),
}
).set_index('id')
df.groupby('A').transform('fillna', value=9999)
```
**Output**
B|C|D|E|F|G
---|---|---|---|---|---
9999.0|9999.0|2|2020-01-01 00:00:00|c|c
9999.0|9999.0|2|2020-01-01 00:00:00|c|c
9999.0|9999.0|2|2020-01-01 00:00:00|c|c
9999.0|9999.0|2|2020-01-01 00:00:00|c|c
1.0|9999.0|0|9999|a|a
1.0|9999.0|0|9999|a|a
2.0|9999.0|1|2020-01-01 00:00:00|b|b
#### Problem description
When using `GroupBy.transform` together with 'fillna' I expected it to work like `GroupBy.transform` together with `lambda x: x.fillna()`. Instead, it seems to also change values that are not NaN. Even worse, it seems to shuffle contents between groups.
Is this how it is expected to work?
#### Expected Output
```python
df.groupby('A').transform(lambda x: x.fillna(9999))
```
B|C|D|E|F|G
---|---|---|---|---|---
1.0|9999.0|0|9999|a|a
2.0|9999.0|1|2020-01-01 00:00:00|b|b
9999.0|9999.0|2|2020-01-01 00:00:00|c|c
3.0|9999.0|3|2020-01-01 00:00:00|d|9999
3.0|9999.0|4|2020-01-02 00:00:00|e|e
9999.0|9999.0|5|2020-01-02 00:00:00|f|f
4.0|9999.0|6|2020-01-03 00:00:00|g|g
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.0.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 78 Stepping 3, GenuineIntel
byteorder : little
LC_ALL : None
LANG : de_DE.UTF-8
LOCALE : None.None
pandas : 0.25.3
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 19.3.1
setuptools : 44.0.0.post20200106
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : 7.11.1
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
</details>
| {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30918/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30918/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30919 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30919/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30919/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30919/events | https://github.com/pandas-dev/pandas/pull/30919 | 548,433,113 | MDExOlB1bGxSZXF1ZXN0MzYxNzMxOTg2 | 30,919 | replace syntax with f-string | {
"avatar_url": "https://avatars.githubusercontent.com/u/50187675?v=4",
"events_url": "https://api.github.com/users/HH-MWB/events{/privacy}",
"followers_url": "https://api.github.com/users/HH-MWB/followers",
"following_url": "https://api.github.com/users/HH-MWB/following{/other_user}",
"gists_url": "https://api.github.com/users/HH-MWB/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/HH-MWB",
"id": 50187675,
"login": "HH-MWB",
"node_id": "MDQ6VXNlcjUwMTg3Njc1",
"organizations_url": "https://api.github.com/users/HH-MWB/orgs",
"received_events_url": "https://api.github.com/users/HH-MWB/received_events",
"repos_url": "https://api.github.com/users/HH-MWB/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/HH-MWB/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HH-MWB/subscriptions",
"type": "User",
"url": "https://api.github.com/users/HH-MWB"
} | [
{
"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-01-11T13:57:37Z | 2020-01-11T23:11:44Z | 2020-01-11T23:11:35Z | CONTRIBUTOR | null | - [x] contributes to #29547
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30919/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30919/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30919.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30919",
"merged_at": "2020-01-11T23:11:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30919.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30919"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30920 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30920/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30920/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30920/events | https://github.com/pandas-dev/pandas/pull/30920 | 548,437,810 | MDExOlB1bGxSZXF1ZXN0MzYxNzM1Mjc2 | 30,920 | BUG30787 fixed unexpected behaviour by removing nullable values | {
"avatar_url": "https://avatars.githubusercontent.com/u/22370819?v=4",
"events_url": "https://api.github.com/users/alagappan97/events{/privacy}",
"followers_url": "https://api.github.com/users/alagappan97/followers",
"following_url": "https://api.github.com/users/alagappan97/following{/other_user}",
"gists_url": "https://api.github.com/users/alagappan97/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alagappan97",
"id": 22370819,
"login": "alagappan97",
"node_id": "MDQ6VXNlcjIyMzcwODE5",
"organizations_url": "https://api.github.com/users/alagappan97/orgs",
"received_events_url": "https://api.github.com/users/alagappan97/received_events",
"repos_url": "https://api.github.com/users/alagappan97/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alagappan97/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alagappan97/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alagappan97"
} | [
{
"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, d... | closed | false | null | [] | null | 1 | 2020-01-11T14:43:31Z | 2020-02-12T00:51:03Z | 2020-02-12T00:51:02Z | NONE | null | - [done ] closes #30787
Added a simple check not to allow nan values for calculation. Numpy seems to throw error when nan values are passed to searchsorted 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/30920/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30920/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30920.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30920",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/30920.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30920"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30921 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30921/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30921/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30921/events | https://github.com/pandas-dev/pandas/pull/30921 | 548,440,761 | MDExOlB1bGxSZXF1ZXN0MzYxNzM3MzQ5 | 30,921 | BUG: loc setitem with missing integer slices does not raise | {
"avatar_url": "https://avatars.githubusercontent.com/u/5236149?v=4",
"events_url": "https://api.github.com/users/fujiaxiang/events{/privacy}",
"followers_url": "https://api.github.com/users/fujiaxiang/followers",
"following_url": "https://api.github.com/users/fujiaxiang/following{/other_user}",
"gists_url": "https://api.github.com/users/fujiaxiang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fujiaxiang",
"id": 5236149,
"login": "fujiaxiang",
"node_id": "MDQ6VXNlcjUyMzYxNDk=",
"organizations_url": "https://api.github.com/users/fujiaxiang/orgs",
"received_events_url": "https://api.github.com/users/fujiaxiang/received_events",
"repos_url": "https://api.github.com/users/fujiaxiang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fujiaxiang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fujiaxiang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fujiaxiang"
} | [
{
"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 s... | closed | false | null | [] | null | 3 | 2020-01-11T15:10:11Z | 2021-03-20T02:36:20Z | 2020-02-28T01:50:01Z | MEMBER | null | - [ ] closes #26412
- [ ] 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/30921/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30921/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30921.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30921",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/30921.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30921"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30922 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30922/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30922/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30922/events | https://github.com/pandas-dev/pandas/pull/30922 | 548,446,960 | MDExOlB1bGxSZXF1ZXN0MzYxNzQxNjAx | 30,922 | ENH:column-wise DataFrame.fillna and duplicated DataFrame.fillna with Series and Dict | {
"avatar_url": "https://avatars.githubusercontent.com/u/34047134?v=4",
"events_url": "https://api.github.com/users/proost/events{/privacy}",
"followers_url": "https://api.github.com/users/proost/followers",
"following_url": "https://api.github.com/users/proost/following{/other_user}",
"gists_url": "https://api.github.com/users/proost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/proost",
"id": 34047134,
"login": "proost",
"node_id": "MDQ6VXNlcjM0MDQ3MTM0",
"organizations_url": "https://api.github.com/users/proost/orgs",
"received_events_url": "https://api.github.com/users/proost/received_events",
"repos_url": "https://api.github.com/users/proost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/proost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/proost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/proost"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, ... | closed | false | null | [] | null | 4 | 2020-01-11T16:01:47Z | 2020-12-08T04:28:34Z | 2020-12-08T04:28:33Z | CONTRIBUTOR | null | - [x] closes #4514
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
description:
Access "DataFrame" each column, fills up NA values using "Series.fillna"
and what i found is if dataframe is duplicated, ".fillna" not guarantee filling NA. So i change them can fill NA.
Q. Why access column base not index base?
A. problem of Index base f".illna" is not preserve column's dtype. so i use column base.
Q. Why assign in column new values not use inplace=True ?
A. To avoid chained indexing. If column and index are both duplicated, chained indexing happens, i want to avoid this situation.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30922/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30922/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30922.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30922",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/30922.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30922"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30923 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30923/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30923/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30923/events | https://github.com/pandas-dev/pandas/pull/30923 | 548,449,964 | MDExOlB1bGxSZXF1ZXN0MzYxNzQzNjY1 | 30,923 | BUG: Series rolling count ignores min_periods | {
"avatar_url": "https://avatars.githubusercontent.com/u/5236149?v=4",
"events_url": "https://api.github.com/users/fujiaxiang/events{/privacy}",
"followers_url": "https://api.github.com/users/fujiaxiang/followers",
"following_url": "https://api.github.com/users/fujiaxiang/following{/other_user}",
"gists_url": "https://api.github.com/users/fujiaxiang/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fujiaxiang",
"id": 5236149,
"login": "fujiaxiang",
"node_id": "MDQ6VXNlcjUyMzYxNDk=",
"organizations_url": "https://api.github.com/users/fujiaxiang/orgs",
"received_events_url": "https://api.github.com/users/fujiaxiang/received_events",
"repos_url": "https://api.github.com/users/fujiaxiang/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fujiaxiang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fujiaxiang/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fujiaxiang"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 21 | 2020-01-11T16:27:36Z | 2020-01-26T04:45:07Z | 2020-01-26T00:29:40Z | MEMBER | null | - [x] closes #26996
- [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/30923/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30923/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30923.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30923",
"merged_at": "2020-01-26T00:29:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30923.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30923"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30924 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30924/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30924/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30924/events | https://github.com/pandas-dev/pandas/issues/30924 | 548,450,445 | MDU6SXNzdWU1NDg0NTA0NDU= | 30,924 | BUG: Wrong error message is raised when columns=None in df.pivot | {
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "ffa0ff",
"de... | 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-01-11T16:31:15Z | 2020-01-18T16:23:32Z | 2020-01-18T16:23:32Z | MEMBER | null | From docstring, `index` and `values` can be optional in df.pivot, but `columns` is not
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.pivot.html
```
index : string or object, optional
Column to use to make new frame’s index. If None, uses existing index.
columns : string or object
Column to use to make new frame’s columns.
```
However, the error message is confusing now, should raise `columns` is not optional.
Code example:
```python
>>> df = pd.DataFrame({"foo": ['one', 'one', 'two', 'two'],"bar": ['A', 'A', 'B', 'C'],"baz": [1, 2, 3, 4]})
>>> df.pivot(columns=None)
KeyError: 'None of [None] are in the columns'
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30924/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30924/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30925 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30925/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30925/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30925/events | https://github.com/pandas-dev/pandas/pull/30925 | 548,450,688 | MDExOlB1bGxSZXF1ZXN0MzYxNzQ0MTk4 | 30,925 | BUG: correct wrong error message in df.pivot when columns=None | {
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "ffa0ff",
"de... | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 11 | 2020-01-11T16:33:22Z | 2020-01-18T16:23:36Z | 2020-01-18T16:23:32Z | MEMBER | null | - [x] closes #30924
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30925/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30925/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30925.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30925",
"merged_at": "2020-01-18T16:23:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30925.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30925"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30926 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30926/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30926/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30926/events | https://github.com/pandas-dev/pandas/pull/30926 | 548,471,619 | MDExOlB1bGxSZXF1ZXN0MzYxNzU4ODY4 | 30,926 | DOC: Fix whatsnew contributors section | {
"avatar_url": "https://avatars.githubusercontent.com/u/5332445?v=4",
"events_url": "https://api.github.com/users/jschendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jschendel/followers",
"following_url": "https://api.github.com/users/jschendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jschendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jschendel",
"id": 5332445,
"login": "jschendel",
"node_id": "MDQ6VXNlcjUzMzI0NDU=",
"organizations_url": "https://api.github.com/users/jschendel/orgs",
"received_events_url": "https://api.github.com/users/jschendel/received_events",
"repos_url": "https://api.github.com/users/jschendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jschendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jschendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jschendel"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 0 | 2020-01-11T19:42:32Z | 2020-01-13T17:13:38Z | 2020-01-13T08:31:17Z | MEMBER | null | Was reading over the whatsnew and noticed that the [1.0 Contributors section
](https://dev.pandas.io/docs/whatsnew/v1.0.0.html#contributors) is empty, and the [0.25.3 Contributors section](https://dev.pandas.io/docs/whatsnew/v0.25.3.html#contributors) looks way to big. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30926/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30926/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30926.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30926",
"merged_at": "2020-01-13T08:31:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30926.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30926"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30927 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30927/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30927/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30927/events | https://github.com/pandas-dev/pandas/issues/30927 | 548,477,203 | MDU6SXNzdWU1NDg0NzcyMDM= | 30,927 | DOC: Whatsnew for 1.0 has deprecations listed in Enhancements section | {
"avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4",
"events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}",
"followers_url": "https://api.github.com/users/Dr-Irv/followers",
"following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}",
"gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Dr-Irv",
"id": 15113894,
"login": "Dr-Irv",
"node_id": "MDQ6VXNlcjE1MTEzODk0",
"organizations_url": "https://api.github.com/users/Dr-Irv/orgs",
"received_events_url": "https://api.github.com/users/Dr-Irv/received_events",
"repos_url": "https://api.github.com/users/Dr-Irv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Dr-Irv"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 7171206... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2020-01-11T20:35:17Z | 2020-01-13T13:08:37Z | 2020-01-13T13:08:37Z | CONTRIBUTOR | null | In 1.0.0RC0, at https://dev.pandas.io/docs/whatsnew/v1.0.0.html#other-enhancements (i.e., the list of enhancements), we list the following:
- The pandas.np submodule is now deprecated. Import numpy directly instead (GH30296)
- The pandas.datetime class is now deprecated. Import from datetime instead (GH30296)
Shouldn't those two lines appear in the deprecations section https://dev.pandas.io/docs/whatsnew/v1.0.0.html#deprecations instead?
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30927/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30927/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30928 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30928/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30928/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30928/events | https://github.com/pandas-dev/pandas/pull/30928 | 548,479,771 | MDExOlB1bGxSZXF1ZXN0MzYxNzY0NTY4 | 30,928 | ENH: Allow multi values for index and columns in df.pivot | {
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
} | [
{
"color": "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, Stac... | 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-01-11T21:01:38Z | 2020-02-09T21:57:34Z | 2020-02-09T21:57:29Z | MEMBER | null | - [x] closes #21425
- [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/30928/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30928/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30928.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30928",
"merged_at": "2020-02-09T21:57:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30928.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30928"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30929 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30929/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30929/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30929/events | https://github.com/pandas-dev/pandas/pull/30929 | 548,479,946 | MDExOlB1bGxSZXF1ZXN0MzYxNzY0Njk0 | 30,929 | ENH: Implement convert_dtypes | {
"avatar_url": "https://avatars.githubusercontent.com/u/15113894?v=4",
"events_url": "https://api.github.com/users/Dr-Irv/events{/privacy}",
"followers_url": "https://api.github.com/users/Dr-Irv/followers",
"following_url": "https://api.github.com/users/Dr-Irv/following{/other_user}",
"gists_url": "https://api.github.com/users/Dr-Irv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Dr-Irv",
"id": 15113894,
"login": "Dr-Irv",
"node_id": "MDQ6VXNlcjE1MTEzODk0",
"organizations_url": "https://api.github.com/users/Dr-Irv/orgs",
"received_events_url": "https://api.github.com/users/Dr-Irv/received_events",
"repos_url": "https://api.github.com/users/Dr-Irv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Dr-Irv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dr-Irv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Dr-Irv"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpect... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 47 | 2020-01-11T21:03:28Z | 2020-01-28T20:56:46Z | 2020-01-24T03:24:16Z | CONTRIBUTOR | null | - [x] xref #29752
- [x] tests added / passed
- pandas/tests/series/test_dtypes.py:test_convert_dtypes
- pandas/tests/frame/test_dtypes.py:test_convert_dtypes
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This implements `DataFrame.convert_dtypes()` and `Series.convert_dtypes()`, which will make it much easier to use the new `pd.NA` functionality.
Added documentation in the section about the new `pd.NA` functionality.
I'm sure there will be comments about how I could have done this in a more/better/different way, and I'm open to resolving them so we get this into 1.0. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30929/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30929/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30929.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30929",
"merged_at": "2020-01-24T03:24:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30929.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30929"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30930 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30930/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30930/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30930/events | https://github.com/pandas-dev/pandas/pull/30930 | 548,484,167 | MDExOlB1bGxSZXF1ZXN0MzYxNzY3NjQx | 30,930 | PERF: RangeIndex.get_loc | {
"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"
}
] | 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-01-11T21:47:01Z | 2020-01-15T16:40:21Z | 2020-01-15T04:22:18Z | MEMBER | null | Small simplification gives a small speedup
```
In [2]: rng = pd.Index(range(10**5))
In [3]: %timeit rng.get_loc(5.0)
6.38 µs ± 381 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) <-- master
1.15 µs ± 40.9 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) <-- PR
In [5]: %timeit rng.get_loc(5)
845 ns ± 5.71 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) <--master
In [5]: %timeit rng.get_loc(5)
860 ns ± 16.7 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each) <-- PR
In [9]: def foo():
...: try:
...: return rng.get_loc(None)
...: except KeyError:
...: pass
...:
In [10]: %timeit foo()
6.72 µs ± 656 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) <-- master
1.11 µs ± 94 ns per loop (mean ± std. dev. of 7 runs, 1000000 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/30930/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30930/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30930.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30930",
"merged_at": "2020-01-15T04:22:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30930.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30930"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30931 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30931/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30931/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30931/events | https://github.com/pandas-dev/pandas/issues/30931 | 548,486,670 | MDU6SXNzdWU1NDg0ODY2NzA= | 30,931 | Attempted install of 1.0.0.0rc0 with conda fails | {
"avatar_url": "https://avatars.githubusercontent.com/u/7703961?v=4",
"events_url": "https://api.github.com/users/discdiver/events{/privacy}",
"followers_url": "https://api.github.com/users/discdiver/followers",
"following_url": "https://api.github.com/users/discdiver/following{/other_user}",
"gists_url": "https://api.github.com/users/discdiver/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/discdiver",
"id": 7703961,
"login": "discdiver",
"node_id": "MDQ6VXNlcjc3MDM5NjE=",
"organizations_url": "https://api.github.com/users/discdiver/orgs",
"received_events_url": "https://api.github.com/users/discdiver/received_events",
"repos_url": "https://api.github.com/users/discdiver/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/discdiver/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/discdiver/subscriptions",
"type": "User",
"url": "https://api.github.com/users/discdiver"
} | [
{
"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": "0052cc",
"default": false,
... | closed | false | null | [] | null | 10 | 2020-01-11T22:13:24Z | 2020-01-30T01:40:01Z | 2020-01-30T01:40:00Z | NONE | null | Installing the release candidate into a new Python 3.7 conda environment throws errors.
Do I need to be doing something differently?
#### Other notes:
- Installing jupyterlab in the same conda environment works fine.
- Creating a virtual environment with venv and using pip to install pandas 1.0.0rc0 works fine on the same machine.
#### Command
```
conda install -c conda-forge/label/rc pandas==1.0.0rc0
```
#### Error
```
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Package pip conflicts for:
defaults/osx-64::python==3.7.5=h359304d_0 -> pip
Package sqlite conflicts for:
defaults/osx-64::python==3.7.5=h359304d_0 -> sqlite[version='>=3.30.1,<4.0a0']
Package openssl conflicts for:
defaults/osx-64::python==3.7.5=h359304d_0 -> openssl[version='>=1.1.1d,<1.1.2a']
Package pCollecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Package tk conflicts for:
python=3.7 -> tk[version='>=8.6.7,<8.7.0a0|>=8.6.8,<8.7.0a0']
Package libcxx conflicts for:
pandas==1.0.0rc0 -> libcxx[version='>=9.0.1']
python=3.7 -> libcxx[version='>=4.0.1']
Package openssl conflicts for:
python=3.7 -> openssl[version='>=1.0.2o,<1.0.3a|>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a']
Package pytz conflicts for:
pandas==1.0.0rc0 -> pytz[version='>=2017.2']
Package python-dateutil conflicts for:
pandas==1.0.0rc0 -> python-dateutil[version='>=2.6.1']
Package readline conflicts for:
python=3.7 -> readline[version='>=7.0,<8.0a0']
Package libffi conflicts for:
python=3.7 -> libffi[version='>=3.2.1,<4.0a0']
Package pip conflicts for:
python=3.7 -> pip
Package ncurses conflicts for:
python=3.7 -> ncurses[version='>=6.1,<7.0a0']
Package xz conflicts for:
python=3.7 -> xz[version='>=5.2.4,<6.0a0']
Package zlib conflicts for:
python=3.7 -> zlib[version='>=1.2.11,<1.3.0a0']
Package numpy conflicts for:
pandas==1.0.0rc0 -> numpy[version='>=1.14.6,<2.0a0']
Package sqlite conflicts for:
python=3.7 -> sqlite[version='>=3.24.0,<4.0a0|>=3.25.2,<4.0a0|>=3.25.3,<4.0a0|>=3.26.0,<4.0a0|>=3.27.2,<4.0a0|>=3.29.0,<4.0a0|>=3.30.1,<4.0a0']
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Collecting package metadata (current_repodata.json): done
-bash: syntax error near unexpected token `('
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Solving environment: failed with initial frozen solve. Retrying with flexible solve.
-bash: Solving: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
-bash: Solving: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Collecting package metadata (repodata.json): done
-bash: syntax error near unexpected token `('
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Solving environment: failed with initial frozen solve. Retrying with flexible solve.
-bash: Solving: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Solving environment: /
-bash: Solving: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Found conflicts! Looking for incompatible packages.
-bash: Found: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ This can take several minutes. Press CTRL-C to abort.
-bash: This: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ failed
-bash: failed: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ UnsatisfiableError: The following specifications were found to be incompatible with each other:
-bash: UnsatisfiableError:: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Package pip conflicts for:
-bash: Package: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ defaults/osx-64::python==3.7.5=h359304d_0 -> pip
-bash: defaults/osx-64::python==3.7.5=h359304d_0: No such file or directory
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Package sqlite conflicts for:
-bash: Package: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ defaults/osx-64::python==3.7.5=h359304d_0 -> sqlite[version='>=3.30.1,<4.0a0']
-bash: defaults/osx-64::python==3.7.5=h359304d_0: No such file or directory
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Package openssl conflicts for:
-bash: Package: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ defaults/osx-64::python==3.7.5=h359304d_0 -> openssl[version='>=1.1.1d,<1.1.2a']
-bash: defaults/osx-64::python==3.7.5=h359304d_0: No such file or directory
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Package pytz conflicts for:
-bash: Package: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ pandas==1.0.0rc0 -> pytz[version='>=2017.2']
-bash: -: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Package numpy conflicts for:
-bash: Package: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ pandas==1.0.0rc0 -> numpy[version='>=1.14.6,<2.0a0']
-bash: -: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Package ncurses conflicts for:
-bash: Package: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ defaults/osx-64::python==3.7.5=h359304d_0 -> ncurses[version='>=6.1,<7.0a0']
-bash: defaults/osx-64::python==3.7.5=h359304d_0: No such file or directory
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Package readline conflicts for:
-bash: Package: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ defaults/osx-64::python==3.7.5=h359304d_0 -> readline[version='>=7.0,<8.0a0']
-bash: defaults/osx-64::python==3.7.5=h359304d_0: No such file or directory
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Package libcxx conflicts for:
-bash: Package: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ pandas==1.0.0rc0 -> libcxx[version='>=9.0.1']
-bash: -: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ defaults/osx-64::python==3.7.5=h359304d_0 -> libcxx[version='>=4.0.1']
-bash: defaults/osx-64::python==3.7.5=h359304d_0: No such file or directory
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Package libffi conflicts for:
-bash: Package: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ defaults/osx-64::python==3.7.5=h359304d_0 -> libffi[version='>=3.2.1,<4.0a0']
-bash: defaults/osx-64::python==3.7.5=h359304d_0: No such file or directory
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Package xz conflicts for:
-bash: Package: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ defaults/osx-64::python==3.7.5=h359304d_0 -> xz[version='>=5.2.4,<6.0a0']
-bash: defaults/osx-64::python==3.7.5=h359304d_0: No such file or directory
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Package python-dateutil conflicts for:
-bash: Package: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ pandas==1.0.0rc0 -> python-dateutil[version='>=2.6.1']
-bash: -: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Package tk conflicts for:
-bash: Package: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ defaults/osx-64::python==3.7.5=h359304d_0 -> tk[version='>=8.6.8,<8.7.0a0']
-bash: defaults/osx-64::python==3.7.5=h359304d_0: No such file or directory
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ Package zlib conflicts for:
-bash: Package: command not found
(myenv) Jeffs-MacBook-Pro:course-info jeffhale$ defaults/osx-64::python==3.7.5=h359304d_0 -> zlib[version='>=1.2.11,<1.3.0a0']
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30931/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30931/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30932 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30932/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30932/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30932/events | https://github.com/pandas-dev/pandas/pull/30932 | 548,487,814 | MDExOlB1bGxSZXF1ZXN0MzYxNzcwMjIx | 30,932 | CLN: remove unnecessary _date_check_type | {
"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": "fb... | 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-01-11T22:23:43Z | 2020-01-12T00:06:57Z | 2020-01-11T23:53:35Z | MEMBER | null | The check doesn't do anything, and we still a raise `KeyError` anyways | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30932/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30932/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30932.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30932",
"merged_at": "2020-01-11T23:53:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30932.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30932"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30933 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30933/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30933/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30933/events | https://github.com/pandas-dev/pandas/issues/30933 | 548,492,695 | MDU6SXNzdWU1NDg0OTI2OTU= | 30,933 | DOC: Replace old string formatting syntax in calling of Appender decorators | {
"avatar_url": "https://avatars.githubusercontent.com/u/50187675?v=4",
"events_url": "https://api.github.com/users/HH-MWB/events{/privacy}",
"followers_url": "https://api.github.com/users/HH-MWB/followers",
"following_url": "https://api.github.com/users/HH-MWB/following{/other_user}",
"gists_url": "https://api.github.com/users/HH-MWB/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/HH-MWB",
"id": 50187675,
"login": "HH-MWB",
"node_id": "MDQ6VXNlcjUwMTg3Njc1",
"organizations_url": "https://api.github.com/users/HH-MWB/orgs",
"received_events_url": "https://api.github.com/users/HH-MWB/received_events",
"repos_url": "https://api.github.com/users/HH-MWB/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/HH-MWB/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HH-MWB/subscriptions",
"type": "User",
"url": "https://api.github.com/users/HH-MWB"
} | [
{
"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": 211029... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/50187675?v=4",
"events_url": "https://api.github.com/users/HH-MWB/events{/privacy}",
"followers_url": "https://api.github.com/users/HH-MWB/followers",
"following_url": "https://api.github.com/users/HH-MWB/following{/other_user}",
"gists_url": "https://api.github.com/users/HH-MWB/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/HH-MWB",
"id": 50187675,
"login": "HH-MWB",
"node_id": "MDQ6VXNlcjUwMTg3Njc1",
"organizations_url": "https://api.github.com/users/HH-MWB/orgs",
"received_events_url": "https://api.github.com/users/HH-MWB/received_events",
"repos_url": "https://api.github.com/users/HH-MWB/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/HH-MWB/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HH-MWB/subscriptions",
"type": "User",
"url": "https://api.github.com/users/HH-MWB"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/50187675?v=4",
"events_url": "https://api.github.com/users/HH-MWB/events{/privacy}",
"followers_url": "https://api.github.com/users/HH-MWB/followers",
"following_url": "https://api.github.com/users/HH-MWB/following{/other_user}",
"gists_ur... | null | 8 | 2020-01-11T23:13:30Z | 2020-02-12T16:01:46Z | 2020-02-12T16:01:46Z | CONTRIBUTOR | null | I found calling of `@Appender()` are using `%` to format string. I think it might be better to replace with `.format` based on [PEP 3101](https://www.python.org/dev/peps/pep-3101/) and [a discussion on Stack Overflow](https://stackoverflow.com/questions/5082452/string-formatting-vs-format).
#29547 is working on replacing `%` with f-strings. This change would also help to keep the code more consistent in string template. Be more specific, the template using `%` to formate will be something like `%(XXX)s`, but using `.format` and f-strings will be the same as `{XXX}`. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30933/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30933/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30934 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30934/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30934/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30934/events | https://github.com/pandas-dev/pandas/pull/30934 | 548,503,447 | MDExOlB1bGxSZXF1ZXN0MzYxNzgxMzQw | 30,934 | CLN: remove no-op from indexing | {
"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": "20... | 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-01-12T01:14:44Z | 2020-01-13T17:26:26Z | 2020-01-13T17:22:29Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30934/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30934/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30934.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30934",
"merged_at": "2020-01-13T17:22:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30934.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30934"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/30935 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30935/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30935/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30935/events | https://github.com/pandas-dev/pandas/pull/30935 | 548,505,110 | MDExOlB1bGxSZXF1ZXN0MzYxNzgyNjgz | 30,935 | CLN: remove unused NDFrame methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "370f77",
"default": false,
"description": "DataFrame da... | 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-01-12T01:31:18Z | 2020-01-15T16:41:09Z | 2020-01-15T03:00:00Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30935/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30935/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30935.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30935",
"merged_at": "2020-01-15T03:00:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30935.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30935"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/30936 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30936/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30936/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30936/events | https://github.com/pandas-dev/pandas/issues/30936 | 548,516,808 | MDU6SXNzdWU1NDg1MTY4MDg= | 30,936 | ENH: Add engine keyword argument to expanding.apply to leverage Numba | {
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling,... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 0 | 2020-01-12T03:45:01Z | 2020-01-16T21:15:38Z | 2020-01-16T21:15:38Z | MEMBER | null | In 1.0, we're adding a `engine` keyword argument to `rolling.apply` to run the routine using Cython or Numba.
By natural extension, we should allow `expanding.apply` to utilize Numba by adding the same `engine` keyword argument to `expanding.apply` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30936/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30936/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30937 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30937/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30937/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30937/events | https://github.com/pandas-dev/pandas/pull/30937 | 548,520,159 | MDExOlB1bGxSZXF1ZXN0MzYxNzkzNTc0 | 30,937 | ENH: Add engine keyword to expanding.apply to utilize Numba | {
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling,... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2020-01-12T04:36:31Z | 2020-01-16T21:15:52Z | 2020-01-16T21:15:39Z | MEMBER | null | - [x] closes #30936
- [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/30937/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30937/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30937.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30937",
"merged_at": "2020-01-16T21:15:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30937.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30937"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30938 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30938/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30938/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30938/events | https://github.com/pandas-dev/pandas/issues/30938 | 548,532,953 | MDU6SXNzdWU1NDg1MzI5NTM= | 30,938 | Getting ValueError: no results with apply(pd.to_numeric(df2.BATTING_Tests_Inns, errors='coerce')) | {
"avatar_url": "https://avatars.githubusercontent.com/u/33755814?v=4",
"events_url": "https://api.github.com/users/subhobrata/events{/privacy}",
"followers_url": "https://api.github.com/users/subhobrata/followers",
"following_url": "https://api.github.com/users/subhobrata/following{/other_user}",
"gists_url": "https://api.github.com/users/subhobrata/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/subhobrata",
"id": 33755814,
"login": "subhobrata",
"node_id": "MDQ6VXNlcjMzNzU1ODE0",
"organizations_url": "https://api.github.com/users/subhobrata/orgs",
"received_events_url": "https://api.github.com/users/subhobrata/received_events",
"repos_url": "https://api.github.com/users/subhobrata/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/subhobrata/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/subhobrata/subscriptions",
"type": "User",
"url": "https://api.github.com/users/subhobrata"
} | [] | closed | false | null | [] | null | 1 | 2020-01-12T07:21:47Z | 2020-01-13T06:09:37Z | 2020-01-13T06:09:37Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
# Your code here
# convert just selected columns to numeric
df2[["BATTING_Tests_Mat", "BATTING_Tests_Inns","BATTING_Tests_NO","BATTING_Tests_Runs","BATTING_Tests_HS","BATTING_Tests_Ave","BATTING_Tests_SR"]]= df2[["BATTING_Tests_Mat", "BATTING_Tests_Inns","BATTING_Tests_NO","BATTING_Tests_Runs","BATTING_Tests_HS","BATTING_Tests_Ave","BATTING_Tests_SR"]].apply(pd.to_numeric(df2.BATTING_Tests_Inns, errors='coerce'))
```
#### Getting ValueError: no results with apply(pd.to_numeric(df2.BATTING_Tests_Inns, errors='coerce'))
[Getting ValueError: no results with apply(pd.to_numeric(df2.BATTING_Tests_Inns, errors='coerce'))]
**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
It should convert to numeric without any error
#### Output of ``pd.show_versions()``
'0.25.3' in Google colab
[paste the output of ``pd.show_versions()`` here below this line]
</details>
The dataset is taken from below website.
https://data.world/raghav333/cricket-players-espn
Full code is in my Github below
https://github.com/subhobrata/PandasIssue/blob/master/POC_Dataset.ipynb
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30938/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30938/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30939 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30939/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30939/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30939/events | https://github.com/pandas-dev/pandas/pull/30939 | 548,541,834 | MDExOlB1bGxSZXF1ZXN0MzYxODA5MjMx | 30,939 | DOC: Fix SS03 docstring error | {
"avatar_url": "https://avatars.githubusercontent.com/u/10180442?v=4",
"events_url": "https://api.github.com/users/galuhsahid/events{/privacy}",
"followers_url": "https://api.github.com/users/galuhsahid/followers",
"following_url": "https://api.github.com/users/galuhsahid/following{/other_user}",
"gists_url": "https://api.github.com/users/galuhsahid/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/galuhsahid",
"id": 10180442,
"login": "galuhsahid",
"node_id": "MDQ6VXNlcjEwMTgwNDQy",
"organizations_url": "https://api.github.com/users/galuhsahid/orgs",
"received_events_url": "https://api.github.com/users/galuhsahid/received_events",
"repos_url": "https://api.github.com/users/galuhsahid/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/galuhsahid/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/galuhsahid/subscriptions",
"type": "User",
"url": "https://api.github.com/users/galuhsahid"
} | [
{
"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-01-12T09:02:20Z | 2020-01-12T10:07:30Z | 2020-01-12T10:07:22Z | CONTRIBUTOR | null | Fixes SS03 errors.
```
None:None:SS03:pandas.DatetimeIndex.freqstr:Summary does not end with a period
None:None:SS03:pandas.PeriodIndex.freqstr:Summary does not end with a period
pandas/pandas/core/window/indexers.py:34:SS03:pandas.api.indexers.BaseIndexer:Summary does not end with a period
```
Related to #27977, #30733 cc @datapythonista
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes black pandas
- [x] passes git diff upstream/master -u -- "*.py" | flake8 --diff
- [ ] whatsnew entry
When I ran the script, there are others left, but they might be false positives since I can't find them in the codebase. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30939/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30939/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30939.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30939",
"merged_at": "2020-01-12T10:07:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30939.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30939"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30940 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30940/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30940/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30940/events | https://github.com/pandas-dev/pandas/pull/30940 | 548,550,083 | MDExOlB1bGxSZXF1ZXN0MzYxODE1MjE1 | 30,940 | STY: wrong placed space in strings | {
"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 | [] | null | 1 | 2020-01-12T10:22:39Z | 2020-01-12T17:15:57Z | 2020-01-12T17:04:19Z | 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/30940/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30940/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30940.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30940",
"merged_at": "2020-01-12T17:04:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30940.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30940"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30941 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30941/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30941/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30941/events | https://github.com/pandas-dev/pandas/pull/30941 | 548,573,675 | MDExOlB1bGxSZXF1ZXN0MzYxODMyMzcw | 30,941 | replace old formatting syntax in shared_docs and Appender | {
"avatar_url": "https://avatars.githubusercontent.com/u/50187675?v=4",
"events_url": "https://api.github.com/users/HH-MWB/events{/privacy}",
"followers_url": "https://api.github.com/users/HH-MWB/followers",
"following_url": "https://api.github.com/users/HH-MWB/following{/other_user}",
"gists_url": "https://api.github.com/users/HH-MWB/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/HH-MWB",
"id": 50187675,
"login": "HH-MWB",
"node_id": "MDQ6VXNlcjUwMTg3Njc1",
"organizations_url": "https://api.github.com/users/HH-MWB/orgs",
"received_events_url": "https://api.github.com/users/HH-MWB/received_events",
"repos_url": "https://api.github.com/users/HH-MWB/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/HH-MWB/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HH-MWB/subscriptions",
"type": "User",
"url": "https://api.github.com/users/HH-MWB"
} | [] | closed | false | null | [] | null | 0 | 2020-01-12T13:55:10Z | 2020-01-12T14:29:39Z | 2020-01-12T14:28:52Z | CONTRIBUTOR | null | - [X] sample of #30933
- [X] tests added / passed
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30941/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30941/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30941.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30941",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/30941.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30941"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30942 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30942/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30942/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30942/events | https://github.com/pandas-dev/pandas/pull/30942 | 548,587,674 | MDExOlB1bGxSZXF1ZXN0MzYxODQyNzYy | 30,942 | STY: concat strings that should not be seperated | {
"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"
} | 4 | 2020-01-12T15:46:22Z | 2020-01-13T14:52:32Z | 2020-01-13T14:49:33Z | 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/30942/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30942/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30942.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30942",
"merged_at": "2020-01-13T14:49:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30942.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30942"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30943 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30943/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30943/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30943/events | https://github.com/pandas-dev/pandas/pull/30943 | 548,595,914 | MDExOlB1bGxSZXF1ZXN0MzYxODQ4ODg0 | 30,943 | BUG: Fix MutliIndexed unstack failures at tuple names | {
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
} | [
{
"color": "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, Stac... | 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-01-12T16:47:26Z | 2020-01-20T23:15:20Z | 2020-01-20T23:15:14Z | MEMBER | null | - [x] closes #19966
- [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/30943/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30943/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30943.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30943",
"merged_at": "2020-01-20T23:15:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30943.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30943"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30944 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30944/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30944/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30944/events | https://github.com/pandas-dev/pandas/issues/30944 | 548,606,079 | MDU6SXNzdWU1NDg2MDYwNzk= | 30,944 | BUG: pd.NA is not compatible with searchsorted | {
"avatar_url": "https://avatars.githubusercontent.com/u/5332445?v=4",
"events_url": "https://api.github.com/users/jschendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jschendel/followers",
"following_url": "https://api.github.com/users/jschendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jschendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jschendel",
"id": 5332445,
"login": "jschendel",
"node_id": "MDQ6VXNlcjUzMzI0NDU=",
"organizations_url": "https://api.github.com/users/jschendel/orgs",
"received_events_url": "https://api.github.com/users/jschendel/received_events",
"repos_url": "https://api.github.com/users/jschendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jschendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jschendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jschendel"
} | [
{
"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, d... | open | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/24843773?v=4",
"events_url": "https://api.github.com/users/souvik3333/events{/privacy}",
"followers_url": "https://api.github.com/users/souvik3333/followers",
"following_url": "https://api.github.com/users/souvik3333/following{/other_user}",
"gists_url": "https://api.github.com/users/souvik3333/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/souvik3333",
"id": 24843773,
"login": "souvik3333",
"node_id": "MDQ6VXNlcjI0ODQzNzcz",
"organizations_url": "https://api.github.com/users/souvik3333/orgs",
"received_events_url": "https://api.github.com/users/souvik3333/received_events",
"repos_url": "https://api.github.com/users/souvik3333/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/souvik3333/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/souvik3333/subscriptions",
"type": "User",
"url": "https://api.github.com/users/souvik3333"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/24843773?v=4",
"events_url": "https://api.github.com/users/souvik3333/events{/privacy}",
"followers_url": "https://api.github.com/users/souvik3333/followers",
"following_url": "https://api.github.com/users/souvik3333/following{/other_user}",
... | {
"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"
} | 9 | 2020-01-12T18:12:25Z | 2020-01-30T12:47:32Z | null | MEMBER | null | #### Code Sample, a copy-pastable example if possible
On `master` trying to use `pd.NA` as an input to `searchsorted` fails, and trying to use the `searchsorted` of an array containing `pd.NA` also fails:
```python-traceback
In [1]: import numpy as np; import pandas as pd; pd.__version__
Out[1]: '1.0.0rc0+15.g4e2546d89'
In [2]: s = pd.Series([-1, 1, 3, 5])
In [3]: arr_pd_na = pd.array([0, 1, 2, pd.NA])
In [4]: s.searchsorted(arr_pd_na)
---------------------------------------------------------------------------
TypeError: boolean value of NA is ambiguous
In [5]: s.searchsorted(pd.NA)
---------------------------------------------------------------------------
TypeError: boolean value of NA is ambiguous
In [6]: arr_pd_na.searchsorted(10)
---------------------------------------------------------------------------
TypeError: boolean value of NA is ambiguous
```
Note that the `np.nan` equivalent works fine:
```python-traceback
In [7]: arr_np_nan = np.array([0, 1, 2, np.nan])
In [8]: s.searchsorted(arr_np_nan)
Out[8]: array([1, 1, 2, 4])
In [9]: s.searchsorted(np.nan)
Out[9]: 4
In [10]: arr_np_nan.searchsorted(10)
Out[10]: 3
```
This has downstream effects on anything that relies on `searchsorted`, e.g. `pd.cut`, which has the same failing behavior as above for `pd.NA` but succeeds for `np.nan`:
```python-traceback
In [11]: pd.cut(arr_pd_na, bins=3)
---------------------------------------------------------------------------
TypeError: boolean value of NA is ambiguous
In [12]: pd.cut(arr_np_nan, bins=3)
Out[12]:
[(-0.002, 0.667], (0.667, 1.333], (1.333, 2.0], NaN]
Categories (3, interval[float64]): [(-0.002, 0.667] < (0.667, 1.333] < (1.333, 2.0]]
```
#### Problem description
`pd.NA` is not compatible with `searchsorted`.
#### Expected Output
I'd expect the output for the `pd.NA` operations above to match the output of the equivalent `np.nan` operations.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 4e2546d89260fda592332a3988573c26edc7152c
python : 3.7.4.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.14-041914-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.0rc0+15.g4e2546d89
numpy : 1.17.2
pytz : 2019.2
dateutil : 2.8.0
pip : 19.2.3
setuptools : 41.6.0.post20191030
Cython : 0.29.13
pytest : 5.2.0
hypothesis : 4.36.2
sphinx : 1.8.5
blosc : None
feather : None
xlsxwriter : 1.2.1
lxml.etree : 4.4.1
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.8.0
pandas_datareader: None
bs4 : 4.8.0
bottleneck : 1.2.1
fastparquet : 0.3.2
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 : 0.15.0
pytables : None
pytest : 5.2.0
s3fs : 0.3.4
scipy : 1.3.1
sqlalchemy : 1.3.8
tables : 3.5.1
tabulate : None
xarray : 0.13.0
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.1
numba : 0.46.0
</details>
| {
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30944/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30944/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30945 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30945/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30945/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30945/events | https://github.com/pandas-dev/pandas/pull/30945 | 548,606,297 | MDExOlB1bGxSZXF1ZXN0MzYxODU2Mjgz | 30,945 | BUG: Use self._constructor_sliced in df._reduce to respect subclassed… | {
"avatar_url": "https://avatars.githubusercontent.com/u/22417720?v=4",
"events_url": "https://api.github.com/users/EmilianoJordan/events{/privacy}",
"followers_url": "https://api.github.com/users/EmilianoJordan/followers",
"following_url": "https://api.github.com/users/EmilianoJordan/following{/other_user}",
"gists_url": "https://api.github.com/users/EmilianoJordan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/EmilianoJordan",
"id": 22417720,
"login": "EmilianoJordan",
"node_id": "MDQ6VXNlcjIyNDE3NzIw",
"organizations_url": "https://api.github.com/users/EmilianoJordan/orgs",
"received_events_url": "https://api.github.com/users/EmilianoJordan/received_events",
"repos_url": "https://api.github.com/users/EmilianoJordan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/EmilianoJordan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/EmilianoJordan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/EmilianoJordan"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, ... | 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-01-12T18:13:58Z | 2020-01-24T13:15:42Z | 2020-01-24T01:07:44Z | CONTRIBUTOR | null | … types. (GH25596)
- [x] closes #25596
- [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/30945/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30945/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30945.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30945",
"merged_at": "2020-01-24T01:07:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30945.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30945"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30946 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30946/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30946/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30946/events | https://github.com/pandas-dev/pandas/pull/30946 | 548,606,681 | MDExOlB1bGxSZXF1ZXN0MzYxODU2NTY3 | 30,946 | STY: spaces in wrong place (DO NOT MERGE) | {
"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 | [] | null | 1 | 2020-01-12T18:16:55Z | 2020-01-13T14:16:51Z | 2020-01-13T14:16:19Z | 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/30946/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30946/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30946.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30946",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/30946.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30946"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30947 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30947/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30947/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30947/events | https://github.com/pandas-dev/pandas/pull/30947 | 548,624,127 | MDExOlB1bGxSZXF1ZXN0MzYxODY4OTky | 30,947 | TYP: NDFrame.resample | {
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
} | [
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] | closed | false | null | [] | {
"closed_at": "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-01-12T20:40:49Z | 2020-01-13T20:22:55Z | 2020-01-13T19:28:23Z | CONTRIBUTOR | null | This PR types up the method ``NDFrame.resample``.
Also renames the func ``resample`` to ``get_resampler`` and import the groupby types used for type checking in frame.py/series.py undir the ``if TYPE_CHECKING:`` clause. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30947/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30947/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30947.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30947",
"merged_at": "2020-01-13T19:28:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30947.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30947"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30948 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30948/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30948/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30948/events | https://github.com/pandas-dev/pandas/pull/30948 | 548,630,881 | MDExOlB1bGxSZXF1ZXN0MzYxODczODQ0 | 30,948 | REF: do all casting _before_ call to DatetimeEngine.get_loc | {
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0b02e1",
"default": false,
"description": "Related t... | 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-01-12T21:35:59Z | 2020-01-15T16:51:32Z | 2020-01-15T03:14:41Z | MEMBER | null | Fixes: incorrectly letting integers or mismatched types through.
Removes: maybe_datetimelike_to_i8, along with the recently-removed _to_M8 and he hopefully soon-removed pydt_to_i8 (xred #30854) i think we'll be rid of our kludgy datetime casting functions.
Performance neutral:
```
before after ratio
[28e909c6] [890204ca]
<master> <cln-maybe_datetimelike_to_i8>
+ 459±3μs 694±300μs 1.51 groupby.GroupByMethods.time_dtype_as_field('int', 'tail', 'transformation')
+ 1.84±0.2μs 2.38±2μs 1.29 index_cached_properties.IndexCache.time_shape('Float64Index')
+ 1.09±0.07μs 1.27±0.09μs 1.16 index_cached_properties.IndexCache.time_inferred_type('Float64Index')
+ 1.43±0.01μs 1.63±0.2μs 1.14 tslibs.timestamp.TimestampConstruction.time_fromordinal
+ 510±7μs 576±60μs 1.13 ctors.SeriesConstructors.time_series_constructor(<function list_of_str at 0x7fe19dbc09d8>, True, 'int')
+ 6.75±0.06μs 7.51±0.05μs 1.11 index_object.Indexing.time_get_loc_non_unique_sorted('Int')
+ 517±8μs 573±70μs 1.11 ctors.SeriesConstructors.time_series_constructor(<function list_of_str at 0x7fe19dbc09d8>, True, 'float')
+ 4.83±0.06ms 5.33±0.07ms 1.10 index_object.SetOperations.time_operation('int', 'symmetric_difference')
+ 1.08±0.09μs 1.19±0.07μs 1.10 index_cached_properties.IndexCache.time_is_all_dates('Float64Index')
+ 1.74±0.02ms 1.92±0.04ms 1.10 inference.ToNumericDowncast.time_downcast('datetime64', 'float')
- 25.4±0.8μs 23.1±0.2μs 0.91 indexing.NumericSeriesIndexing.time_getitem_scalar(<class 'pandas.core.indexes.numeric.Float64Index'>, 'unique_monotonic_inc')
- 8.31±0.06ms 7.53±0.2ms 0.91 inference.DateInferOps.time_timedelta_plus_datetime
- 16.1±0.7ms 14.6±0.3ms 0.91 timedelta.ToTimedelta.time_convert_string_days
- 14.0±0.8μs 12.7±0.08μs 0.90 index_object.Indexing.time_get_loc('Float')
- 1.94±0.01ms 1.75±0.02ms 0.90 index_object.Indexing.time_get_loc_non_unique('Int')
- 12.8±0.04ms 11.5±0.1ms 0.90 multiindex_object.GetLoc.time_med_get_loc_warm
- 14.1±0.7μs 12.6±0.1μs 0.89 index_object.Indexing.time_get_loc_sorted('Float')
- 12.5±0.04μs 11.1±0.1μs 0.89 multiindex_object.GetLoc.time_string_get_loc
- 10.2±0.6μs 9.05±0.05μs 0.89 index_object.Float64IndexMethod.time_get_loc
- 12.3±0.1ms 10.8±0.1ms 0.88 multiindex_object.GetLoc.time_small_get_loc_warm
- 34.4±0.6μs 30.2±0.6μs 0.88 index_object.Indexing.time_get_loc_non_unique_sorted('Float')
- 104±3μs 91.0±2μs 0.88 multiindex_object.GetLoc.time_large_get_loc
- 4.90±0.1ms 4.21±0.02ms 0.86 timeseries.ResampleSeries.time_resample('period', '1D', 'ohlc')
- 3.78±0.2ms 3.23±0.01ms 0.85 timeseries.ResampleSeries.time_resample('datetime', '5min', 'mean')
- 10.4±0.6μs 8.74±0.03μs 0.84 tslibs.timedelta.TimedeltaConstructor.time_from_iso_format
- 4.38±0.1ms 3.69±0.02ms 0.84 timeseries.ResampleSeries.time_resample('period', '5min', 'mean')
- 3.23±0.5μs 2.24±0.7μs 0.69 index_cached_properties.IndexCache.time_values('TimedeltaIndex')
- 641±200μs 443±1μs 0.69 groupby.GroupByMethods.time_dtype_as_field('int', 'head', 'direct')
- 2.73±1μs 1.45±0.2μs 0.53 index_cached_properties.IndexCache.time_values('UInt64Index')
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30948/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30948/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30948.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30948",
"merged_at": "2020-01-15T03:14:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30948.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30948"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30949 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30949/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30949/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30949/events | https://github.com/pandas-dev/pandas/pull/30949 | 548,641,792 | MDExOlB1bGxSZXF1ZXN0MzYxODgxNzU0 | 30,949 | DOC: Clarified documentation for convert_dates and use_default_dates params | {
"avatar_url": "https://avatars.githubusercontent.com/u/18662115?v=4",
"events_url": "https://api.github.com/users/amilbourne/events{/privacy}",
"followers_url": "https://api.github.com/users/amilbourne/followers",
"following_url": "https://api.github.com/users/amilbourne/following{/other_user}",
"gists_url": "https://api.github.com/users/amilbourne/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/amilbourne",
"id": 18662115,
"login": "amilbourne",
"node_id": "MDQ6VXNlcjE4NjYyMTE1",
"organizations_url": "https://api.github.com/users/amilbourne/orgs",
"received_events_url": "https://api.github.com/users/amilbourne/received_events",
"repos_url": "https://api.github.com/users/amilbourne/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/amilbourne/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amilbourne/subscriptions",
"type": "User",
"url": "https://api.github.com/users/amilbourne"
} | [
{
"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": "read_json, to_json, j... | 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-01-12T23:03:40Z | 2020-01-14T23:25:06Z | 2020-01-14T23:25:00Z | CONTRIBUTOR | null | This hopefully clarifies the documentation for the behaviour of the convert_dates and keep_default_dates parameters on the read_json function.
I recently had to use this function and found the existing docs a bit confusing. I actually created a truth table (below), but this is probably a bit much for the docs.
| convert_dates | keep_default_dates | Result |
| ------------- | ------------------ | --------------------------- |
| True | True | Convert default date fields |
| True | False | Don’t convert anything |
| False | True | Don’t convert anything |
| False | False | Don’t convert anything |
| List | True | Convert listed and default date fields |
| List | False | Convert just listed date fields |
I hope you agree that my changes make the behaviour clearer - but perhaps people will disagree... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30949/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30949/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30949.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30949",
"merged_at": "2020-01-14T23:25:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30949.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30949"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30950 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30950/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30950/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30950/events | https://github.com/pandas-dev/pandas/pull/30950 | 548,652,623 | MDExOlB1bGxSZXF1ZXN0MzYxODkwMDg4 | 30,950 | REF: handle searchsorted casting within DatetimeLikeArray | {
"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": "e99695",
"default": false,
"de... | 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-01-13T00:26:47Z | 2020-01-20T00:26:29Z | 2020-01-18T16:03:17Z | 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/30950/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30950/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30950.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30950",
"merged_at": "2020-01-18T16:03:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30950.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30950"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/30951 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30951/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30951/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30951/events | https://github.com/pandas-dev/pandas/pull/30951 | 548,673,109 | MDExOlB1bGxSZXF1ZXN0MzYxOTA1ODI5 | 30,951 | CLN: leftover ix checks | {
"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": "20... | 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-01-13T02:39:44Z | 2020-01-13T15:41:43Z | 2020-01-13T11:00:12Z | 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/30951/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30951/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30951.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30951",
"merged_at": "2020-01-13T11:00:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30951.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30951"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/30952 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30952/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30952/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30952/events | https://github.com/pandas-dev/pandas/pull/30952 | 548,682,396 | MDExOlB1bGxSZXF1ZXN0MzYxOTEzMTYw | 30,952 | CI: numpydev changed double to single quote | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2020-01-13T03:27:44Z | 2020-01-13T15:41:19Z | 2020-01-13T09:48:38Z | 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/30952/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30952/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30952.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30952",
"merged_at": "2020-01-13T09:48:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30952.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30952"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/30953 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30953/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30953/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30953/events | https://github.com/pandas-dev/pandas/issues/30953 | 548,687,975 | MDU6SXNzdWU1NDg2ODc5NzU= | 30,953 | Persistent groupby future warning | {
"avatar_url": "https://avatars.githubusercontent.com/u/8209940?v=4",
"events_url": "https://api.github.com/users/VelizarVESSELINOV/events{/privacy}",
"followers_url": "https://api.github.com/users/VelizarVESSELINOV/followers",
"following_url": "https://api.github.com/users/VelizarVESSELINOV/following{/other_user}",
"gists_url": "https://api.github.com/users/VelizarVESSELINOV/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/VelizarVESSELINOV",
"id": 8209940,
"login": "VelizarVESSELINOV",
"node_id": "MDQ6VXNlcjgyMDk5NDA=",
"organizations_url": "https://api.github.com/users/VelizarVESSELINOV/orgs",
"received_events_url": "https://api.github.com/users/VelizarVESSELINOV/received_events",
"repos_url": "https://api.github.com/users/VelizarVESSELINOV/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/VelizarVESSELINOV/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VelizarVESSELINOV/subscriptions",
"type": "User",
"url": "https://api.github.com/users/VelizarVESSELINOV"
} | [
{
"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 | 3 | 2020-01-13T03:48:01Z | 2020-03-11T14:18:55Z | 2020-03-11T14:18:54Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
# Your code here
dtf = dtf.groupby('xGUID', sort=True).apply(x_apply)
```
#### Problem description
```
2020-01-12 21:32:07,672|root|99634|MainProcess|CRITICAL| Exception Information
2020-01-12 21:32:07,672|root|99634|MainProcess|CRITICAL| Type: <class 'FutureWarning'>
2020-01-12 21:32:07,672|root|99634|MainProcess|CRITICAL| Value: Sorting because non-concatenation axis is not aligned. A future version
of pandas will change to not sort by default.
To accept the future behavior, pass 'sort=False'.
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/x-1.1.1-py3.8.egg/xpack/core/formation_parser.py", line 91, in formation_parser
dtf = dtf.groupby('xGUID', sort=True).apply(x_apply)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 737, in apply
return self._python_apply_general(f)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 744, in _python_apply_general
return self._wrap_applied_output(
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pandas/core/groupby/generic.py", line 372, in _wrap_applied_output
return self._concat_objects(keys, values, not_indexed_same=not_indexed_same)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 937, in _concat_objects
result = concat(values, axis=self.axis)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pandas/core/reshape/concat.py", line 244, in concat
op = _Concatenator(
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pandas/core/reshape/concat.py", line 428, in __init__
self.new_axes = self._get_new_axes()
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pandas/core/reshape/concat.py", line 497, in _get_new_axes
new_axes[i] = self._get_comb_axis(i)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pandas/core/reshape/concat.py", line 528, in _get_comb_axis
return _get_objs_combined_axis(
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pandas/core/indexes/api.py", line 93, in _get_objs_combined_axis
return _get_combined_index(obs_idxes, intersect=intersect, sort=sort)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pandas/core/indexes/api.py", line 140, in _get_combined_index
index = _union_indexes(indexes, sort=sort)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pandas/core/indexes/api.py", line 215, in _union_indexes
warnings.warn(_sort_msg, FutureWarning, stacklevel=8)
```
#### Expected Output
No FutureWarning or better warning message. sort=True or False don't remove the warning in this case.
#### Output of ``pd.show_versions()``
<details>
NSTALLED VERSIONS
------------------
commit : None
python : 3.8.1.final.0
python-bits : 64
OS : Darwin
OS-release : 19.2.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.3
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 19.3.1
setuptools : 41.2.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.4.2
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : None
pandas_datareader: 0.8.1
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.4.2
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.12
tables : None
xarray : None
xlrd : 1.2.0
xlwt : None
xlsxwriter : None
None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30953/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30953/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30954 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30954/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30954/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30954/events | https://github.com/pandas-dev/pandas/issues/30954 | 548,719,020 | MDU6SXNzdWU1NDg3MTkwMjA= | 30,954 | REF: remove method and tolerance keywords from Index.get_loc | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [] | closed | false | null | [] | null | 14 | 2020-01-13T05:49:48Z | 2020-01-13T22:21:27Z | 2020-01-13T22:21:27Z | MEMBER | null | There is only one non-test place in the code that passes these arguments (Index.asof, and even then it is just "method"). We can put the relevant code directly in `asof` and simplify get_loc quite a bit. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30954/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30954/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30955 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30955/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30955/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30955/events | https://github.com/pandas-dev/pandas/pull/30955 | 548,778,065 | MDExOlB1bGxSZXF1ZXN0MzYxOTkzODEx | 30,955 | Backport PR #30926 on branch 1.0.x (DOC: Fix whatsnew contributors section) | {
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2020-01-13T08:31:45Z | 2020-01-13T09:48:16Z | 2020-01-13T09:48:16Z | NONE | null | Backport PR #30926: DOC: Fix whatsnew contributors section | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30955/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30955/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30955.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30955",
"merged_at": "2020-01-13T09:48:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30955.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30955"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30956 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30956/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30956/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30956/events | https://github.com/pandas-dev/pandas/issues/30956 | 548,805,346 | MDU6SXNzdWU1NDg4MDUzNDY= | 30,956 | BUG: rpow with -1 and pd.NA should return pd.NA | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_use... | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2020-01-13T09:30:48Z | 2020-01-13T19:03:26Z | 2020-01-13T19:03:26Z | MEMBER | null | In https://github.com/pandas-dev/pandas/pull/30097, we added special cases for 1 and -1 not propagating pd.NA:
```
In [59]: 1 ** pd.NA
Out[59]: 1
In [60]: (-1) ** pd.NA
Out[60]: -1
```
But for -1 this should probably be pd.NA as result in the end, see https://mail.python.org/pipermail/pandas-dev/2020-January/001174.html
```
In [58]: (-1) ** np.array([2, 3, 2.5])
/home/joris/miniconda3/envs/dev/bin/ipython:1: RuntimeWarning: invalid value encountered in power
#!/home/joris/miniconda3/envs/dev/bin/python
Out[58]: array([ 1., -1., nan])
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30956/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30956/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30957 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30957/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30957/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30957/events | https://github.com/pandas-dev/pandas/pull/30957 | 548,814,126 | MDExOlB1bGxSZXF1ZXN0MzYyMDIyNzg0 | 30,957 | Backport PR #30952 on branch 1.0.x (CI: numpydev changed double to single quote) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 0 | 2020-01-13T09:48:48Z | 2020-01-13T10:56:00Z | 2020-01-13T10:55:59Z | NONE | null | Backport PR #30952: CI: numpydev changed double to single quote | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30957/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30957/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30957.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30957",
"merged_at": "2020-01-13T10:55:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30957.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30957"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30958 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30958/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30958/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30958/events | https://github.com/pandas-dev/pandas/issues/30958 | 548,821,700 | MDU6SXNzdWU1NDg4MjE3MDA= | 30,958 | pd.Series.sum() returns nan for Int64 with pd.NA | {
"avatar_url": "https://avatars.githubusercontent.com/u/35495924?v=4",
"events_url": "https://api.github.com/users/koizumihiroo/events{/privacy}",
"followers_url": "https://api.github.com/users/koizumihiroo/followers",
"following_url": "https://api.github.com/users/koizumihiroo/following{/other_user}",
"gists_url": "https://api.github.com/users/koizumihiroo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/koizumihiroo",
"id": 35495924,
"login": "koizumihiroo",
"node_id": "MDQ6VXNlcjM1NDk1OTI0",
"organizations_url": "https://api.github.com/users/koizumihiroo/orgs",
"received_events_url": "https://api.github.com/users/koizumihiroo/received_events",
"repos_url": "https://api.github.com/users/koizumihiroo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/koizumihiroo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/koizumihiroo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/koizumihiroo"
} | [
{
"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, d... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2020-01-13T10:02:21Z | 2020-01-18T15:35:40Z | 2020-01-18T15:35:40Z | NONE | null | #### Code Sample, a copy-pastable example if possible
I'm not sure this is a bug or intended behavior. If intended, I'm glad to be pointed to how API design was discussed and decided.
On `1.0.0 rc0`, `pd.Series.sum()`returns `nan` when using `skipna=False` for `'Int64'` with `pd.NA`.
```python
>>> pd.Series([1, 2, pd.NA]).sum(skipna=False)
<NA>
>>> pd.Series([1, 2, pd.NA], dtype='Int64').sum(skipna=False)
nan
>>> pd.Series([1, 2, np.nan]).sum(skipna=False)
nan
>>> pd.Series([1, 2, np.nan], dtype='Int64').sum(skipna=False)
nan
>>> pd.Series([1, 2, None]).sum(skipna=False)
nan
>>> pd.Series([1, 2, None], dtype='Int64').sum(skipna=False)
nan
```
#### Problem description
I understand the second and third example returns `nan` for backward compatibility, but the first example of `dtype='Int64'` seems natural to return `pd.NA`.
#### Expected Output
```python
>>> pd.Series([1, 2, pd.NA], dtype='Int64').sum(skipna=False)
<NA>
# When breaking backward compatibility is allowed, this is also expected (on and after pandas 2.0.0?)
>>> pd.Series([1, 2, np.nan], dtype='Int64').sum(skipna=False)
<NA>
>>> pd.Series([1, 2, None], dtype='Int64').sum(skipna=False)
<NA>
```
#### Output of ``pd.show_versions()``
<details>
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Linux
OS-release : 4.9.184-linuxkit
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.0rc0
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 19.3.1
setuptools : 44.0.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.2
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
```Dockerfile
# Dockerfile
FROM python:3.7.6
WORKDIR /home
RUN pip install pandas==1.0.0rc0
CMD ["/bin/bash"]
```
</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/30958/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30958/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30959 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30959/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30959/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30959/events | https://github.com/pandas-dev/pandas/pull/30959 | 548,861,057 | MDExOlB1bGxSZXF1ZXN0MzYyMDYxNTA4 | 30,959 | ENH: Add Stata 119 writer | {
"avatar_url": "https://avatars.githubusercontent.com/u/5585221?v=4",
"events_url": "https://api.github.com/users/bashtage/events{/privacy}",
"followers_url": "https://api.github.com/users/bashtage/followers",
"following_url": "https://api.github.com/users/bashtage/following{/other_user}",
"gists_url": "https://api.github.com/users/bashtage/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bashtage",
"id": 5585221,
"login": "bashtage",
"node_id": "MDQ6VXNlcjU1ODUyMjE=",
"organizations_url": "https://api.github.com/users/bashtage/orgs",
"received_events_url": "https://api.github.com/users/bashtage/received_events",
"repos_url": "https://api.github.com/users/bashtage/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bashtage/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bashtage/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bashtage"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "read_sta... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 7 | 2020-01-13T11:13:48Z | 2020-07-28T14:41:36Z | 2020-01-14T16:02:32Z | CONTRIBUTOR | null | Add support for writing Stata 119 format files
Rename new writer to StataWriterUTF8 since no longer version-specific
Improve exception message for unsupported files
Fix small issues in to_stata missed in 118
- [X] xref #23573 (already closed)
- [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/30959/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30959/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30959.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30959",
"merged_at": "2020-01-14T16:02:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30959.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30959"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30960 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30960/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30960/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30960/events | https://github.com/pandas-dev/pandas/pull/30960 | 548,882,119 | MDExOlB1bGxSZXF1ZXN0MzYyMDc4ODIz | 30,960 | [BUG] -1 to the power of pd.NA was returning -1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
} | [
{
"color": "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, d... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 8 | 2020-01-13T11:54:51Z | 2020-02-25T17:13:10Z | 2020-01-13T19:03:26Z | MEMBER | null | - [x] closes #30956
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30960/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30960/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30960.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30960",
"merged_at": "2020-01-13T19:03:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30960.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30960"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30961 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30961/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30961/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30961/events | https://github.com/pandas-dev/pandas/pull/30961 | 548,894,026 | MDExOlB1bGxSZXF1ZXN0MzYyMDg4MTk5 | 30,961 | DOC: Move couple of deprecations whatsnew to correct section | {
"avatar_url": "https://avatars.githubusercontent.com/u/16509490?v=4",
"events_url": "https://api.github.com/users/ryankarlos/events{/privacy}",
"followers_url": "https://api.github.com/users/ryankarlos/followers",
"following_url": "https://api.github.com/users/ryankarlos/following{/other_user}",
"gists_url": "https://api.github.com/users/ryankarlos/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ryankarlos",
"id": 16509490,
"login": "ryankarlos",
"node_id": "MDQ6VXNlcjE2NTA5NDkw",
"organizations_url": "https://api.github.com/users/ryankarlos/orgs",
"received_events_url": "https://api.github.com/users/ryankarlos/received_events",
"repos_url": "https://api.github.com/users/ryankarlos/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ryankarlos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ryankarlos/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ryankarlos"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2020-01-13T12:18:14Z | 2020-01-13T13:08:52Z | 2020-01-13T13:08:37Z | CONTRIBUTOR | null | - [x] closes #30927
- [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/30961/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30961/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30961.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30961",
"merged_at": "2020-01-13T13:08:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30961.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30961"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30962 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30962/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30962/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30962/events | https://github.com/pandas-dev/pandas/issues/30962 | 548,905,012 | MDU6SXNzdWU1NDg5MDUwMTI= | 30,962 | AttributeError: 'FrameFixed' object has no attribute 'format_type' on 1.0.0rc0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": ... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2020-01-13T12:41:15Z | 2020-01-22T14:16:46Z | 2020-01-22T14:16:46Z | CONTRIBUTOR | null | ```python
import pandas as pd
df = pd.DataFrame({"A": [1, 2]})
df.to_hdf("foo.h5", "foo")
with pd.HDFStore("foo.h5") as hdf:
for key in hdf.keys():
storer = hdf.get_storer(key)
print(type(storer), storer.format_type)
```
On 0.25.3, we have
```python
<class 'pandas.io.pytables.FrameFixed'> fixed
```
On 1.0.0rc0
```pytb
Traceback (most recent call last):
File "bug.py", line 10, in <module>
print(storer.format_type)
AttributeError: 'FrameFixed' object has no attribute 'format_type'
```
Didn't see anything about this in the release notes. cc @jbrockmendel (if this was part of your tables cleanup). | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30962/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30962/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30963 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30963/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30963/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30963/events | https://github.com/pandas-dev/pandas/pull/30963 | 548,918,528 | MDExOlB1bGxSZXF1ZXN0MzYyMTA4MDAy | 30,963 | Backport PR #30961 on branch 1.0.x (DOC: Move couple of deprecations whatsnew to correct section) | {
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 0 | 2020-01-13T13:08:48Z | 2020-01-13T14:19:59Z | 2020-01-13T14:19:59Z | NONE | null | Backport PR #30961: DOC: Move couple of deprecations whatsnew to correct section | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30963/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30963/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30963.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30963",
"merged_at": "2020-01-13T14:19:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30963.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30963"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30964 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30964/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30964/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30964/events | https://github.com/pandas-dev/pandas/issues/30964 | 548,925,801 | MDU6SXNzdWU1NDg5MjU4MDE= | 30,964 | DOC: Remove tips and tricks section page from the wiki | {
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
} | [
{
"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": 211029... | 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"
} | 14 | 2020-01-13T13:21:35Z | 2021-07-07T17:10:28Z | 2021-07-07T17:10:27Z | MEMBER | null | This page: https://github.com/pandas-dev/pandas/wiki/Tips-&-Tricks-for-pandas-dev is mostly outdated, or provides general Python information.
Personally, I'd just keep the last section on `PANDAS_TESTING_MODE`. Not sure if the best would be to move it to the CI part of the docs: https://pandas.io/docs/development/contributing.html#testing-with-continuous-integration
Or I'd probably just add a comment where that parameter is being used: https://github.com/pandas-dev/pandas/blob/master/.travis.yml#L46
Anything else that people would like to move to the docs from that page? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30964/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30964/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30965 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30965/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30965/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30965/events | https://github.com/pandas-dev/pandas/issues/30965 | 548,948,001 | MDU6SXNzdWU1NDg5NDgwMDE= | 30,965 | DataFrame.set_index when setting a duplicate name now raises | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "207de5",
"default": false,
"description": nu... | open | false | null | [] | null | 0 | 2020-01-13T13:58:13Z | 2021-07-27T04:24:38Z | null | CONTRIBUTOR | null | As part of https://github.com/pandas-dev/pandas/pull/30588, we now raise when trying to create a 2D index. This introduces a behavior change when you call DataFrame.set_index with duplicate data.
#### Code Sample, a copy-pastable example if possible
```python
In [1]: import pandas as pd
In [2]: df = pd.DataFrame([[1, 2, 3]], columns=['a', 'a', 'b'])
In [3]: result = df.set_index('a')
```
On pandas 0.25.3, that gives back a DataFrame with a broken Index. Some DataFrame operations will work, but even things like printing the repr will fail
```python
# 0.25.3
In [17]: type(result)
Out[17]: pandas.core.frame.DataFrame
In [18]: result.shape
Out[18]: (1, 1)
```
With 1.0.0rc0, that raises
```pytb
~/sandbox/pandas/pandas/core/indexes/numeric.py in __new__(cls, data, dtype, copy, name)
76 if subarr.ndim > 1:
77 # GH#13601, GH#20285, GH#27125
---> 78 raise ValueError("Index data must be 1-dimensional")
79
80 name = maybe_extract_name(name, data, cls)
ValueError: Index data must be 1-dimensional
```
#### Problem description
The old output is clearly broken, so I wouldn't consider this a (major) regression. And I don't think people should be doing this in the first place. But I wanted to ask, should `DataFrame.set_index(scalar)` return a MultiIndex when `scalar` is a duplicate label? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30965/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30965/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30966 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30966/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30966/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30966/events | https://github.com/pandas-dev/pandas/issues/30966 | 548,966,959 | MDU6SXNzdWU1NDg5NjY5NTk= | 30,966 | str accessor functions returns float(NaN) instead of pd.NA | {
"avatar_url": "https://avatars.githubusercontent.com/u/19141733?v=4",
"events_url": "https://api.github.com/users/tsvikas/events{/privacy}",
"followers_url": "https://api.github.com/users/tsvikas/followers",
"following_url": "https://api.github.com/users/tsvikas/following{/other_user}",
"gists_url": "https://api.github.com/users/tsvikas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tsvikas",
"id": 19141733,
"login": "tsvikas",
"node_id": "MDQ6VXNlcjE5MTQxNzMz",
"organizations_url": "https://api.github.com/users/tsvikas/orgs",
"received_events_url": "https://api.github.com/users/tsvikas/received_events",
"repos_url": "https://api.github.com/users/tsvikas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tsvikas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tsvikas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tsvikas"
} | [
{
"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": "5319e7"... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 5 | 2020-01-13T14:28:56Z | 2020-01-14T12:39:48Z | 2020-01-14T12:39:48Z | CONTRIBUTOR | null | #### Code Sample
```python
import pandas as pd
s = pd.Series(['A', 'B', 'C', 'Aaba', 'Baca', np.nan, 'CABA', 'dog', 'cat'], dtype="string")
type(s.str.lower()[5]) # returns <class 'float'>
```
#### Problem description
the `str` accessor, when working on string-typed series, should return a string-typed series, which should be an array of [`string`, `pd.NA`] only, but it seems that some functions (see list below) can return series that contains `float('nan')`.
#### Affected functions
As of now, I found these str accessor functions to be affected:
`upper` `lower` `replace`
also, `extract(expand=False)` on a string type series returns an object type series, which seems unintended as well.
#### Expected Output
`<class 'pandas._libs.missing.NAType'>`
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.0.final.0
python-bits : 64
OS : Linux
OS-release : 5.0.0-38-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_IL
LOCALE : en_IL.UTF-8
pandas : 1.0.0rc0
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 18.1
setuptools : 40.8.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 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/30966/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30966/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30967 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30967/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30967/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30967/events | https://github.com/pandas-dev/pandas/issues/30967 | 548,980,286 | MDU6SXNzdWU1NDg5ODAyODY= | 30,967 | DataFrame.diff fails with nullable integers | {
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
} | [] | closed | false | null | [] | null | 1 | 2020-01-13T14:50:24Z | 2020-01-23T19:00:10Z | 2020-01-23T19:00:10Z | MEMBER | null | Related to #30889 (I've opened a separate issue as the error is different)
#### Code Sample, a copy-pastable example if possible
```python
df = pd.DataFrame({"a": [1, 2, 3]}, dtype="Int16")
df.diff()
```
#### Problem description
This returns
```
IndexError: list assignment index out of range
```
#### Expected Output
Something like
```
a
0 pd.NA
1 1
2 1
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 46c2864c34eee0cd94c8842353331e293b0f2004
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 : 0.25.0+1754.g46c2864c3
numpy : 1.17.3
pytz : 2019.3
dateutil : 2.8.0
pip : 19.3.1
setuptools : 42.0.2.post20191201
Cython : 0.29.14
pytest : 5.3.2
hypothesis : 4.55.4
sphinx : 2.3.0
blosc : None
feather : None
xlsxwriter : 1.2.6
lxml.etree : 4.4.2
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.3.1
fastparquet : 0.3.2
gcsfs : None
lxml.etree : 4.4.2
matplotlib : 3.1.2
numexpr : 2.7.0
odfpy : None
openpyxl : 3.0.1
pandas_gbq : None
pyarrow : 0.15.1
pytables : None
pytest : 5.3.2
s3fs : 0.4.0
scipy : 1.4.0
sqlalchemy : 1.3.11
tables : 3.6.1
tabulate : 0.8.6
xarray : 0.14.1
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.6
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/30967/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30967/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30968 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30968/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30968/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30968/events | https://github.com/pandas-dev/pandas/pull/30968 | 549,000,633 | MDExOlB1bGxSZXF1ZXN0MzYyMTc0MjMz | 30,968 | Backport PR #30900 on branch 1.0.x (REGR: Fixed hash_key=None for object values) | {
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 0 | 2020-01-13T15:22:14Z | 2020-01-13T16:32:34Z | 2020-01-13T16:32:34Z | NONE | null | Backport PR #30900: REGR: Fixed hash_key=None for object values | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30968/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30968/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30968.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30968",
"merged_at": "2020-01-13T16:32:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30968.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30968"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30969 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30969/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30969/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30969/events | https://github.com/pandas-dev/pandas/issues/30969 | 549,028,180 | MDU6SXNzdWU1NDkwMjgxODA= | 30,969 | str.extract(expand=False) on a string typed series returns an object typed dataframe | {
"avatar_url": "https://avatars.githubusercontent.com/u/19141733?v=4",
"events_url": "https://api.github.com/users/tsvikas/events{/privacy}",
"followers_url": "https://api.github.com/users/tsvikas/followers",
"following_url": "https://api.github.com/users/tsvikas/following{/other_user}",
"gists_url": "https://api.github.com/users/tsvikas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tsvikas",
"id": 19141733,
"login": "tsvikas",
"node_id": "MDQ6VXNlcjE5MTQxNzMz",
"organizations_url": "https://api.github.com/users/tsvikas/orgs",
"received_events_url": "https://api.github.com/users/tsvikas/received_events",
"repos_url": "https://api.github.com/users/tsvikas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tsvikas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tsvikas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tsvikas"
} | [
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
},
{
"color": "6138b5",
"defaul... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2020-01-13T16:04:47Z | 2020-01-15T02:56:36Z | 2020-01-15T02:56:36Z | CONTRIBUTOR | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
df = pd.Series(['a1', 'b2', 'c3'], dtype="string").str.extract(r'([ab])(\d)', expand=False)
df.dtypes
```
returns
```
0 object
1 object
dtype: object
```
#### Problem description
the str accessor, when working on string-typed series, should return a string-typed dataframe. It seems that `extract(expand=False)` returns an object-typed dataframe
see @TomAugspurger in https://github.com/pandas-dev/pandas/issues/30966#issuecomment-573724531
#### Expected Output
```
0 string
1 string
dtype: object
```
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.0.final.0
python-bits : 64
OS : Linux
OS-release : 5.0.0-38-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_IL
LOCALE : en_IL.UTF-8
pandas : 1.0.0rc0
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 18.1
setuptools : 40.8.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 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/30969/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30969/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30970 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30970/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30970/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30970/events | https://github.com/pandas-dev/pandas/pull/30970 | 549,029,743 | MDExOlB1bGxSZXF1ZXN0MzYyMTk3NzQy | 30,970 | default set to openpyxl | {
"avatar_url": "https://avatars.githubusercontent.com/u/33174957?v=4",
"events_url": "https://api.github.com/users/SuvigyaJain1/events{/privacy}",
"followers_url": "https://api.github.com/users/SuvigyaJain1/followers",
"following_url": "https://api.github.com/users/SuvigyaJain1/following{/other_user}",
"gists_url": "https://api.github.com/users/SuvigyaJain1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SuvigyaJain1",
"id": 33174957,
"login": "SuvigyaJain1",
"node_id": "MDQ6VXNlcjMzMTc0OTU3",
"organizations_url": "https://api.github.com/users/SuvigyaJain1/orgs",
"received_events_url": "https://api.github.com/users/SuvigyaJain1/received_events",
"repos_url": "https://api.github.com/users/SuvigyaJain1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SuvigyaJain1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SuvigyaJain1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SuvigyaJain1"
} | [] | closed | false | null | [] | null | 0 | 2020-01-13T16:07:16Z | 2020-01-13T16:26:29Z | 2020-01-13T16:26:29Z | NONE | null | - [x] closes #28546
- [ ] tests added / passed
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30970/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30970/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30970.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30970",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/30970.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30970"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30971 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30971/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30971/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30971/events | https://github.com/pandas-dev/pandas/pull/30971 | 549,040,899 | MDExOlB1bGxSZXF1ZXN0MzYyMjA2NzU3 | 30,971 | BUG: reductions for nullable dtypes should return pd.NA for skipna=False | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, d... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2020-01-13T16:25:27Z | 2020-01-19T20:07:37Z | 2020-01-18T15:35:40Z | MEMBER | null | Closes https://github.com/pandas-dev/pandas/issues/30958
Just realized that I should probably check boolean dtype as well | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30971/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30971/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30971.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30971",
"merged_at": "2020-01-18T15:35:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30971.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30971"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30972 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30972/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30972/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30972/events | https://github.com/pandas-dev/pandas/pull/30972 | 549,050,893 | MDExOlB1bGxSZXF1ZXN0MzYyMjE0OTQ3 | 30,972 | DOC: whatsnew for 1.1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"color": "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-01-13T16:42:44Z | 2020-01-13T19:50:09Z | 2020-01-13T19:50:08Z | 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/30972/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30972/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30972.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30972",
"merged_at": "2020-01-13T19:50:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30972.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30972"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/30973 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30973/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30973/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30973/events | https://github.com/pandas-dev/pandas/pull/30973 | 549,063,067 | MDExOlB1bGxSZXF1ZXN0MzYyMjI0ODI3 | 30,973 | Compat for util.testing import | {
"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"
} | [] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2020-01-13T17:03:46Z | 2020-01-14T04:17:39Z | 2020-01-13T20:45:43Z | CONTRIBUTOR | null | Closes #30869 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30973/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30973/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30973.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30973",
"merged_at": "2020-01-13T20:45:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30973.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30973"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30974 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30974/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30974/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30974/events | https://github.com/pandas-dev/pandas/issues/30974 | 549,067,823 | MDU6SXNzdWU1NDkwNjc4MjM= | 30,974 | DOC: Fix isort output in CI | {
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "0e8a16",
"default": true,
"description": n... | closed | false | null | [] | null | 6 | 2020-01-13T17:12:03Z | 2020-02-07T06:12:19Z | 2020-02-07T06:12:19Z | MEMBER | null | In the CI, we're using `isort` to check whether the imports in Python files are sorted in an standard way. See https://github.com/pandas-dev/pandas/blob/master/ci/code_checks.sh#L114
The way it is implemented, we expect isort to not print anything in the terminal if everything is ok, and to show errors for the errors encountered. This is mostly true, except that `isort` is also reporting when there are files being skipped.
The result of this, is that we highlight in the CI as an error when there are files being skipped. See https://github.com/pandas-dev/pandas/pull/30946/checks?check_run_id=385833706#step:6:36
This can be misleading, and we should try to avoid it. Without adding much complexity to the already complex CI. Not sure if there is an `isort` parameter to simply not report the skipped files. Or if there is an easy way to not highlight the skipped files as an error.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30974/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30974/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30975 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30975/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30975/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30975/events | https://github.com/pandas-dev/pandas/issues/30975 | 549,076,849 | MDU6SXNzdWU1NDkwNzY4NDk= | 30,975 | AssertionError from Series.append(DataFrame) with 1.0.0rc0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "ffa0ff",
"de... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2020-01-13T17:29:36Z | 2020-01-24T03:37:33Z | 2020-01-24T03:37:33Z | CONTRIBUTOR | null | #### Code Sample, a copy-pastable example if possible
The behavior of the following changed with 1.0.0rc0
```python
>>> import pandas as pd
>>> df = pd.DataFrame({"A": [1,2], "B": [3, 4]})
>>> df.A.append(df)
```
On 0.25.3, we have
```python
0 A B
0 1.0 NaN NaN
1 2.0 NaN NaN
0 NaN 1.0 3.0
1 NaN 2.0 4.0
```
On 1.0.0rc0, we have
```pytb
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-9-fde662a5b7c4> in <module>
----> 1 df.A.append(df)
~/sandbox/pandas/pandas/core/series.py in append(self, to_append, ignore_index, verify_integrity)
2541 return self._ensure_type(
2542 concat(
-> 2543 to_concat, ignore_index=ignore_index, verify_integrity=verify_integrity
2544 )
2545 )
~/sandbox/pandas/pandas/core/base.py in _ensure_type(self, obj)
93 Used by type checkers.
94 """
---> 95 assert isinstance(obj, type(self)), type(obj)
96 return obj
97
AssertionError: <class 'pandas.core.frame.DataFrame'>
```
#### Problem description
I don't think the behavior of 0.25.3 is necessarily correct. I would expect either a TypeError from passing a DataFrame to Series.append, or something like
```python
In [17]: r
Out[17]:
A B
0 1 3.0
1 2 4.0
0 1 NaN
1 2 NaN
```
where the name of the Series is aligned with the DataFrame. We clearly document that the elements passed to append should be Series, so IMO we should raise. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30975/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30975/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30976 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30976/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30976/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30976/events | https://github.com/pandas-dev/pandas/pull/30976 | 549,085,413 | MDExOlB1bGxSZXF1ZXN0MzYyMjQzMDY0 | 30,976 | BUG: ensure_datetime64ns with bigendian array | {
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "e11d21",
"default": false,
"description": "Functiona... | 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-01-13T17:47:21Z | 2020-01-14T16:14:06Z | 2020-01-14T12:52:26Z | MEMBER | null | - [x] closes #29684
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30976/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30976/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30976.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30976",
"merged_at": "2020-01-14T12:52:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30976.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30976"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30977 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30977/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30977/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30977/events | https://github.com/pandas-dev/pandas/pull/30977 | 549,097,747 | MDExOlB1bGxSZXF1ZXN0MzYyMjUzMDky | 30,977 | JSON Date Handling 1.0 Regressions | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"color": "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": ... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 9 | 2020-01-13T18:13:51Z | 2020-02-06T17:06:46Z | 2020-01-18T15:34:13Z | MEMBER | null | closes #30904
Came across these adding parametrized tests in #30903 which this pulls some elements from but which will also ultimately refactor to avoid duplication; just getting this to work as is
To be clear the regressions were:
1. ISO dates with datetime.date objects was broken
```python
>>> import pandas as pd
>>> import datetime
>>> data = [datetime.date(year=2020, month=1, day=1), "a"]
>>> pd.Series(data).to_json(date_format="iso")
TypeError: Expected datetime object
```
2. `pd.NaT` labels would now yield the sentinel value instead of writing "null"
```python
>>> data = [pd.Timestamp("2020-01-01"), pd.NaT]
>>> pd.Series(data, index=data).to_json()
'{"1577836800000":1577836800000,"-9223372036854":null}'
```
Both have been fixed 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/30977/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30977/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30977.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30977",
"merged_at": "2020-01-18T15:34:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30977.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30977"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30978 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30978/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30978/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30978/events | https://github.com/pandas-dev/pandas/pull/30978 | 549,121,483 | MDExOlB1bGxSZXF1ZXN0MzYyMjcyNTkw | 30,978 | BUG: pd.crosstab(s1, s2) handle column index incorrectly when both series have tuple names | {
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
} | [
{
"color": "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, Stac... | 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-01-13T19:02:05Z | 2020-01-17T23:57:10Z | 2020-01-17T23:57:04Z | MEMBER | null | - [ ] closes #18321
- [ ] 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/30978/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30978/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30978.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30978",
"merged_at": "2020-01-17T23:57:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30978.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30978"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30979 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30979/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30979/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30979/events | https://github.com/pandas-dev/pandas/pull/30979 | 549,126,255 | MDExOlB1bGxSZXF1ZXN0MzYyMjc2NDk2 | 30,979 | STY: concat strings | {
"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-01-13T19:12:37Z | 2020-01-13T22:05:23Z | 2020-01-13T22:01:39Z | 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/30979/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30979/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30979.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30979",
"merged_at": "2020-01-13T22:01:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30979.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30979"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30980 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30980/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30980/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30980/events | https://github.com/pandas-dev/pandas/pull/30980 | 549,130,517 | MDExOlB1bGxSZXF1ZXN0MzYyMjgwMDI4 | 30,980 | API: Disallow NaN in StringArray constructor | {
"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": "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": "5319e7"... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2020-01-13T19:21:36Z | 2020-01-14T12:39:51Z | 2020-01-14T12:39:49Z | CONTRIBUTOR | null | Closes https://github.com/pandas-dev/pandas/issues/30966
~There were a few ways we could have done this. I opted for this way since it still only requires a single pass over the data to validate the values. Other ways like checking for `np.isnan` after checking `is_string_array` would have required a second pass.~
I changed the implementation in subsequent commits. The basic idea is the same, don't allow NaN in the array passed to StringArray, so that we only make a single pass over the data. We do this by changing `StringValidator.is_valid_null` to only allow NA. This required a small change to `PandasArray._from_sequence`, since previously we relied on creating a temporarily invalid StringArray before doing an inplace `__setitem__` to replace NaNs with NA.
cc @tsvikas.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30980/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30980/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30980.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30980",
"merged_at": "2020-01-14T12:39:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30980.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30980"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30981 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30981/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30981/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30981/events | https://github.com/pandas-dev/pandas/pull/30981 | 549,171,853 | MDExOlB1bGxSZXF1ZXN0MzYyMzEzNjE1 | 30,981 | Backport PR #30973 on branch 1.0.x (Compat for util.testing import) | {
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 0 | 2020-01-13T20:45:53Z | 2020-01-13T21:40:40Z | 2020-01-13T21:40:39Z | NONE | null | Backport PR #30973: Compat for util.testing import | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30981/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30981/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30981.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30981",
"merged_at": "2020-01-13T21:40:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30981.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30981"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30982 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30982/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30982/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30982/events | https://github.com/pandas-dev/pandas/pull/30982 | 549,172,965 | MDExOlB1bGxSZXF1ZXN0MzYyMzE0NTA4 | 30,982 | PERF: masked ops for reductions (sum) | {
"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": "8cc645",
"default"... | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 22 | 2020-01-13T20:48:20Z | 2020-03-30T07:07:44Z | 2020-03-27T16:08:26Z | MEMBER | null | The current `nanops` has quite some complexity that is not needed for the masked arrays. This is a small proof of concept to have separate implementations for our nullable masked arrays, taking the sum case (and still ignoring the additional kwargs).
This is also quite a bit faster. On master:
```
In [1]: a = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, np.nan]*1000)
In [2]: s1 = pd.Series(a, dtype="Int64")
In [3]: s2 = pd.Series(a, dtype="float64")
In [4]: %timeit s1.sum()
79.1 µs ± 2.39 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each)
In [5]: %timeit s2.sum()
79.1 µs ± 1.48 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each)
```
the nullable Int64 basically does the same as the nanops implementation for float.
With this PR:
```
In [4]: %timeit s1.sum()
21.5 µs ± 69.9 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each)
In [5]: %timeit s2.sum()
79.8 µs ± 1.03 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each)
```
(when using bigger arrays, the speed-up becomes less big in relative factor. Here it's almost 4x with 10k elements, but with 1M it's aound 2x).
I think it would be interesting to gradually implement some of the ops specifically for the nullable masked arrays. Personally I think it will be easier to do this in new functions than trying to fit it into the existing nanops 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/30982/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30982/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30982.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30982",
"merged_at": "2020-03-27T16:08:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30982.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30982"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30983 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30983/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30983/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30983/events | https://github.com/pandas-dev/pandas/pull/30983 | 549,180,861 | MDExOlB1bGxSZXF1ZXN0MzYyMzIwOTU4 | 30,983 | Backport PR #30960 on branch 1.0.x ([BUG] -1 to the power of pd.NA was returning -1) | {
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 0 | 2020-01-13T21:05:06Z | 2020-01-13T21:40:20Z | 2020-01-13T21:40:20Z | NONE | null | Backport PR #30960: [BUG] -1 to the power of pd.NA was returning -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/30983/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30983/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30983.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30983",
"merged_at": "2020-01-13T21:40:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30983.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30983"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30984 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30984/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30984/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30984/events | https://github.com/pandas-dev/pandas/issues/30984 | 549,199,309 | MDU6SXNzdWU1NDkxOTkzMDk= | 30,984 | DOC: plotting backend is not mentioned in the user guide | {
"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"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 7171206... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/51680175?v=4",
"events_url": "https://api.github.com/users/mehersaipreetam/events{/privacy}",
"followers_url": "https://api.github.com/users/mehersaipreetam/followers",
"following_url": "https://api.github.com/users/mehersaipreetam/following{/other_user}",
"gists_url": "https://api.github.com/users/mehersaipreetam/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mehersaipreetam",
"id": 51680175,
"login": "mehersaipreetam",
"node_id": "MDQ6VXNlcjUxNjgwMTc1",
"organizations_url": "https://api.github.com/users/mehersaipreetam/orgs",
"received_events_url": "https://api.github.com/users/mehersaipreetam/received_events",
"repos_url": "https://api.github.com/users/mehersaipreetam/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mehersaipreetam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mehersaipreetam/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mehersaipreetam"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/51680175?v=4",
"events_url": "https://api.github.com/users/mehersaipreetam/events{/privacy}",
"followers_url": "https://api.github.com/users/mehersaipreetam/followers",
"following_url": "https://api.github.com/users/mehersaipreetam/following{/... | {
"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-01-13T21:44:44Z | 2020-02-05T19:09:23Z | 2020-02-05T19:09:05Z | MEMBER | null | The new plotting backend option is documented for package authors implementing such a backend: https://dev.pandas.io/docs/development/extending.html#plotting-backends, but we should probably mention this in the user guide (https://dev.pandas.io/docs/user_guide/visualization.html) as well. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30984/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30984/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30985 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30985/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30985/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30985/events | https://github.com/pandas-dev/pandas/pull/30985 | 549,202,540 | MDExOlB1bGxSZXF1ZXN0MzYyMzM5MTQx | 30,985 | DOC: remove Table of Contents on the contributing page | {
"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 | [] | null | 8 | 2020-01-13T21:50:29Z | 2020-03-07T20:03:53Z | 2020-03-07T20:03:52Z | MEMBER | null | Currently, the contributing page (https://pandas.pydata.org/pandas-docs/version/1.0.0/development/contributing.html) starts with "Table of Contents".
This PR removes that, because 1) we do that on none of the other pages in our docs and 2) with the new theme, there is a page table of contents in the right sidebar as well (although this shows, when landing on the page, only the first level) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30985/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30985/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30985.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30985",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/30985.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30985"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30986 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30986/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30986/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30986/events | https://github.com/pandas-dev/pandas/issues/30986 | 549,205,157 | MDU6SXNzdWU1NDkyMDUxNTc= | 30,986 | Cannot write MultiIndex DataFrame to excel (to_excel) which contains Peroid IntervalIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/1696847?v=4",
"events_url": "https://api.github.com/users/kurtforrester/events{/privacy}",
"followers_url": "https://api.github.com/users/kurtforrester/followers",
"following_url": "https://api.github.com/users/kurtforrester/following{/other_user}",
"gists_url": "https://api.github.com/users/kurtforrester/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kurtforrester",
"id": 1696847,
"login": "kurtforrester",
"node_id": "MDQ6VXNlcjE2OTY4NDc=",
"organizations_url": "https://api.github.com/users/kurtforrester/orgs",
"received_events_url": "https://api.github.com/users/kurtforrester/received_events",
"repos_url": "https://api.github.com/users/kurtforrester/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kurtforrester/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kurtforrester/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kurtforrester"
} | [
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "207de5",
"default": false,
"de... | 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-01-13T21:56:01Z | 2020-01-24T19:04:55Z | 2020-01-24T19:04:55Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
import numpy as np
midx = pd.MultiIndex.from_arrays(
[
np.repeat([1, 2], 2),
pd.interval_range(start=pd.Timestamp("2020-01-01"), periods=4, freq="6M"),
]
)
df = pd.DataFrame(data=np.random.randint(0, 2, size=(4,)), index=midx)
print(df)
df.to_excel("tmp.xlsx")
```
#### Problem description
I receive a TypeError and the DataFrame does not write to file.
```python
...
File "pandas/_libs/tslibs/timestamps.pyx", line 412, in pandas._libs.tslibs.timestamps.Timestamp.__new__
File "pandas/_libs/tslibs/conversion.pyx", line 329, in pandas._libs.tslibs.conversion.convert_to_tsobject
TypeError: Cannot convert input [True] of type <class 'bool'> to Timestamp
```
#### Expected Output
Expect the DataFrame to write to file. A DataFrame with a Period/IntervalIndex alone can be written to an excel file. Seems to be an issue with MultiIndex.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.4.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.7-200.fc31.x86_64
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 0.25.3
numpy : 1.17.2
pytz : 2019.3
dateutil : 2.8.1
pip : 19.2.3
setuptools : 41.4.0
Cython : 0.29.13
pytest : 5.2.1
hypothesis : 4.54.2
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.2
bottleneck : 1.3.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 : 0.13.0
pytables : None
s3fs : None
scipy : 1.3.2
sqlalchemy : 1.3.9
tables : 3.6.1
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/30986/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30986/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30987 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30987/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30987/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30987/events | https://github.com/pandas-dev/pandas/pull/30987 | 549,205,981 | MDExOlB1bGxSZXF1ZXN0MzYyMzQxOTc5 | 30,987 | FIX: Added small corrections to the test for interpolate limit_area | {
"avatar_url": "https://avatars.githubusercontent.com/u/102827?v=4",
"events_url": "https://api.github.com/users/cchwala/events{/privacy}",
"followers_url": "https://api.github.com/users/cchwala/followers",
"following_url": "https://api.github.com/users/cchwala/following{/other_user}",
"gists_url": "https://api.github.com/users/cchwala/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cchwala",
"id": 102827,
"login": "cchwala",
"node_id": "MDQ6VXNlcjEwMjgyNw==",
"organizations_url": "https://api.github.com/users/cchwala/orgs",
"received_events_url": "https://api.github.com/users/cchwala/received_events",
"repos_url": "https://api.github.com/users/cchwala/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cchwala/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cchwala/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cchwala"
} | [
{
"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-01-13T21:57:44Z | 2020-01-13T22:54:26Z | 2020-01-13T22:30:25Z | CONTRIBUTOR | null | - [ ] closes # nothing to close here
- [ ] tests added / passed
- [ ] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry # not required for this minor fix
Some `tm.assert_series_equal()` have been forgotten in https://github.com/pandas-dev/pandas/blob/2baf788819cd1073d9c15444ebcefcfab8e4b9c8/pandas/tests/series/test_missing.py#L1338
There was also a typo in https://github.com/pandas-dev/pandas/blob/2baf788819cd1073d9c15444ebcefcfab8e4b9c8/pandas/tests/series/test_missing.py#L1374 where `direction` has to be `limit_direction`.
These things have been fixed in this small 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/30987/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30987/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30987.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30987",
"merged_at": "2020-01-13T22:30:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30987.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30987"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30988 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30988/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30988/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30988/events | https://github.com/pandas-dev/pandas/issues/30988 | 549,209,538 | MDU6SXNzdWU1NDkyMDk1Mzg= | 30,988 | BUG: assigment of list with boolean mask scrambles values | {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on s... | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 4 | 2020-01-13T22:05:39Z | 2020-01-14T12:02:14Z | 2020-01-14T12:01:53Z | MEMBER | null | From [gitter](https://gitter.im/pydata/pandas?at=5e0a26d5d5a7f357e6a84f42) (didn't see it reported in an issue):
```
x = pd.Series([None] * 10)
y = [False] * 3 + [True] * 5 + [False] * 2
x[y] = list(range(5))
x
```
gives:
```
0 None
1 None
2 None
3 3
4 4
5 0
6 1
7 2
8 None
9 None
dtype: object
```
For some reason, the assigned values are not in the correct order.
With an array, it works fine (but I think we support list as well?):
```
In [4]: x[y] = np.array(list(range(5)))
In [5]: x
Out[5]:
0 None
1 None
2 None
3 0
4 1
5 2
6 3
7 4
8 None
9 None
dtype: object
```
Tested on pandas master, and also on pandas 0.25 it is buggy (eg in pandas 0.18 it worked fine). | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30988/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30988/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30989 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30989/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30989/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30989/events | https://github.com/pandas-dev/pandas/pull/30989 | 549,229,154 | MDExOlB1bGxSZXF1ZXN0MzYyMzYxMTEx | 30,989 | Update _json.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/8813059?v=4",
"events_url": "https://api.github.com/users/copeland3300/events{/privacy}",
"followers_url": "https://api.github.com/users/copeland3300/followers",
"following_url": "https://api.github.com/users/copeland3300/following{/other_user}",
"gists_url": "https://api.github.com/users/copeland3300/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/copeland3300",
"id": 8813059,
"login": "copeland3300",
"node_id": "MDQ6VXNlcjg4MTMwNTk=",
"organizations_url": "https://api.github.com/users/copeland3300/orgs",
"received_events_url": "https://api.github.com/users/copeland3300/received_events",
"repos_url": "https://api.github.com/users/copeland3300/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/copeland3300/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/copeland3300/subscriptions",
"type": "User",
"url": "https://api.github.com/users/copeland3300"
} | [] | closed | false | null | [] | null | 5 | 2020-01-13T22:53:55Z | 2020-01-14T09:40:54Z | 2020-01-14T01:26:38Z | NONE | null | Without this change, use of the chunksize argument in read_json causes the following error:
`TypeError: initial_value must be str or None, not bytes`
- [x] closes #28906
- [ ] 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/30989/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30989/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30989.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30989",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/30989.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30989"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30990 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30990/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30990/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30990/events | https://github.com/pandas-dev/pandas/pull/30990 | 549,248,716 | MDExOlB1bGxSZXF1ZXN0MzYyMzc3NDA2 | 30,990 | Added clang inline helper | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"color": "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"... | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 12 | 2020-01-13T23:48:43Z | 2020-02-16T18:41:27Z | 2020-02-16T18:41:24Z | MEMBER | null | gcc on macOS I think executes clang more often than not, and it appears we didn't have a inline helper defined for that. This is ported from `CYTHON_INLINE` which essentially does the same in cythonized files, save the static declaration
This might add a bit of build time to macOS (I think partially explains why it's a few minutes faster than the rest) but makes it more similar in performance to the others
Running the full benchmark suite to see where this may 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/30990/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30990/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30990.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30990",
"merged_at": "2020-02-16T18:41:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30990.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30990"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30991 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30991/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30991/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30991/events | https://github.com/pandas-dev/pandas/pull/30991 | 549,253,058 | MDExOlB1bGxSZXF1ZXN0MzYyMzgxMDAx | 30,991 | STY: concat strings | {
"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"
} | 3 | 2020-01-14T00:03:03Z | 2020-01-14T00:51:08Z | 2020-01-14T00:47:47Z | 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/30991/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30991/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30991.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30991",
"merged_at": "2020-01-14T00:47:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30991.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30991"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30992 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30992/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30992/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30992/events | https://github.com/pandas-dev/pandas/pull/30992 | 549,254,961 | MDExOlB1bGxSZXF1ZXN0MzYyMzgyNTky | 30,992 | CLN: de-duplicate _getitem_scalar | {
"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": "20... | 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-01-14T00:08:57Z | 2020-01-14T04:47:50Z | 2020-01-14T04:46: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/30992/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30992/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30992.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30992",
"merged_at": "2020-01-14T04:46:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30992.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30992"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/30993 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30993/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30993/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30993/events | https://github.com/pandas-dev/pandas/issues/30993 | 549,263,771 | MDU6SXNzdWU1NDkyNjM3NzE= | 30,993 | BUG: Kurtosis bug? | {
"avatar_url": "https://avatars.githubusercontent.com/u/3617014?v=4",
"events_url": "https://api.github.com/users/AlcoholV/events{/privacy}",
"followers_url": "https://api.github.com/users/AlcoholV/followers",
"following_url": "https://api.github.com/users/AlcoholV/following{/other_user}",
"gists_url": "https://api.github.com/users/AlcoholV/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AlcoholV",
"id": 3617014,
"login": "AlcoholV",
"node_id": "MDQ6VXNlcjM2MTcwMTQ=",
"organizations_url": "https://api.github.com/users/AlcoholV/orgs",
"received_events_url": "https://api.github.com/users/AlcoholV/received_events",
"repos_url": "https://api.github.com/users/AlcoholV/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AlcoholV/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AlcoholV/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AlcoholV"
} | [
{
"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 | 8 | 2020-01-14T00:38:59Z | 2020-04-05T00:15:54Z | 2020-04-05T00:15:54Z | NONE | null | Why pandas kurtosis and scipy kurtosis result is different?
During the test, I also realized that the Pandas kurtosis value was constantly changing according to the starting point.

| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30993/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30993/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30994 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30994/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30994/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30994/events | https://github.com/pandas-dev/pandas/issues/30994 | 549,329,286 | MDU6SXNzdWU1NDkzMjkyODY= | 30,994 | API: DatetimeIndex.get_loc(datetime) should require tzawareness compat? | {
"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": "53... | closed | false | null | [] | null | 6 | 2020-01-14T04:46:06Z | 2020-10-11T19:16:25Z | 2020-10-11T19:16:24Z | MEMBER | null | ```
dti = pd.date_range("2016-01-01", periods=3)
dti2 = dti.tz_localize("UTC").tz_convert("US/Pacific")
>>> dti.get_loc(dti2[0])
0
>>> dti2.get_loc(dti[0])
KeyError: Timestamp('2016-01-01 00:00:00-0800', tz='US/Pacific', freq='D')
ser = pd.Series(range(3), index=dti)
ser2 = pd.Series(range(3), index=dti2)
>>> ser.loc[dti2[1]]
1
>>> ser2.loc[dti[1]]
KeyError: Timestamp('2016-01-02 00:00:00-0800', tz='US/Pacific', freq='D')
```
get_loc is effectively an equality check, so I think it should behave like all our other comparisons and require tzawareness-compat. So all of these would raise KeyError.
xref #17920, https://github.com/pandas-dev/pandas/pull/30819#issuecomment-572281006 | {
"+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/30994/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30994/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/30995 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30995/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30995/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30995/events | https://github.com/pandas-dev/pandas/pull/30995 | 549,374,157 | MDExOlB1bGxSZXF1ZXN0MzYyNDc4NDQ1 | 30,995 | BUG: Fix Timestamp constructor changes value on ambiguous DST | {
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
... | 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-01-14T07:04:46Z | 2020-01-16T12:40:16Z | 2020-01-15T16:32:37Z | MEMBER | null | - [X] closes #24329
- [X] 1 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/30995/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30995/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30995.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30995",
"merged_at": "2020-01-15T16:32:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30995.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30995"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30996 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30996/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30996/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30996/events | https://github.com/pandas-dev/pandas/pull/30996 | 549,467,426 | MDExOlB1bGxSZXF1ZXN0MzYyNTU0MjYw | 30,996 | STY: Whitespaces placed at the beginning instead at the end of a line | {
"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-01-14T10:20:39Z | 2020-01-14T11:09:16Z | 2020-01-14T11:07:25Z | 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/30996/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30996/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30996.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30996",
"merged_at": "2020-01-14T11:07:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30996.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30996"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30997 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30997/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30997/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30997/events | https://github.com/pandas-dev/pandas/pull/30997 | 549,494,390 | MDExOlB1bGxSZXF1ZXN0MzYyNTc2MTM2 | 30,997 | TST: Insert 'match' to bare pytest raises | {
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"d... | 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-01-14T11:07:52Z | 2020-01-15T21:26:05Z | 2020-01-14T20:31:48Z | MEMBER | null | - [x] ref #30999
- [ ] 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/30997/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30997/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30997.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30997",
"merged_at": "2020-01-14T20:31:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30997.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30997"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30998 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30998/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30998/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30998/events | https://github.com/pandas-dev/pandas/pull/30998 | 549,511,773 | MDExOlB1bGxSZXF1ZXN0MzYyNTkwMDk5 | 30,998 | TST: insert 'match' to bare pytest raises in pandas/tests/internals/ | {
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"d... | 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-01-14T11:40:54Z | 2020-01-24T20:13:08Z | 2020-01-20T16:30:43Z | MEMBER | null | - [x] ref #30999
- [ ] 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/30998/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30998/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/30998.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/30998",
"merged_at": "2020-01-20T16:30:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/30998.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/30998"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/30999 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/30999/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/30999/comments | https://api.github.com/repos/pandas-dev/pandas/issues/30999/events | https://github.com/pandas-dev/pandas/issues/30999 | 549,529,921 | MDU6SXNzdWU1NDk1Mjk5MjE= | 30,999 | [Good first issue] TST: Disallow bare pytest.raises | {
"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": "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",
"d... | 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"
} | 84 | 2020-01-14T12:17:56Z | 2021-01-05T18:47:07Z | 2021-01-05T18:47:07Z | MEMBER | null | End users rely on error messages for their debugging purposes. Thus, it is important that we make sure that the correct error messages are surfaced depending on the error triggered.
The core idea is to convert this:
```python
with pytest.raises(klass):
# Some code that raise an error
```
To this:
```python
with pytest.raises(klass, match=msg):
# Some code that raise an error
```
You can read more about ```pytest.raises``` [here](https://docs.pytest.org/en/latest/assert.html#assertions-about-expected-exceptions).
---
#### Side note:
In case that the raised error message is an external error message (meaning that's not pandas specific), you should use the ```external_error_raised``` instead of ```pytest.raises```.
the usage of ```external_error_raised``` is __exactly__ like ```pytest.raises``` the only difference is that you don't pass in the ```match``` argument.
For example:
```python
import pandas._testing as tm
def test_foo():
with tm.external_error_raised(ValueError):
raise ValueError("foo")
```
---
#### Keynotes:
* Don't forget to link this issue in your PR, paste this
```
https://github.com/pandas-dev/pandas/issues/30999
```
in your PR.
* Please comment what you are planning to work on, so we won't do double the work (no need to mention me, you can just declare what you are planning to work on, just remember to check if something is already taken).
* If a file/files that should be marked as "done" (as if there is no more work to do), isn't marked as "done", please comment letting me know about that (And mentioning me by putting ```@MomIsBestFriend``` at the comment's body, so I'll know where to look).
---
To generate the full list yourself, you can add:
```yaml
- id: unwanted-patterns-bare-pytest-raises
name: Check for use of bare use of pytest raises
language: python
entry: python scripts/validate_unwanted_patterns.py --validation-type="bare_pytest_raises"
types: [python]
files: ^pandas/tests/
exclude: ^pandas/tests/extension
```
to `.pre-commit-config.yaml` in the `- repo: local` section, and then run
```
pre-commit run unwanted-patterns-bare-pytest-raises --all-files.
```
---
### The current list is:
- [ ] pandas/tests/arrays/boolean/test_arithmetic.py
- [ ] pandas/tests/computation/test_compat.py
- [ ] pandas/tests/dtypes/test_inference.py
- [x] pandas/tests/indexes/multi/test_indexing.py
- [x] pandas/tests/indexes/multi/test_setops.py
- [x] pandas/tests/indexes/period/test_indexing.py
- [x] pandas/tests/indexes/test_common.py
- [x] pandas/tests/indexes/test_numpy_compat.py
- [ ] pandas/tests/indexing/multiindex/test_partial.py
- [ ] pandas/tests/indexing/test_coercion.py
- [ ] pandas/tests/io/test_sql.py
- [ ] pandas/tests/libs/test_hashtable.py
- [x] pandas/tests/reductions/test_reductions.py
- [x] pandas/tests/reductions/test_stat_reductions.py
- [ ] pandas/tests/resample/test_resampler_grouper.py
- [ ] pandas/tests/reshape/test_get_dummies.py
- [ ] pandas/tests/reshape/test_union_categoricals.py
- [ ] pandas/tests/series/apply/test_series_apply.py
- [ ] pandas/tests/series/test_ufunc.py
- [ ] pandas/tests/window/moments/test_moments_ewm.py
- [ ] pandas/tests/window/test_apply.py
---
#### NOTE:
The list may change as files are moved/renamed constantly.
---
Took pretty much everything from #23922, that was originally opened by @gfyoung. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/30999/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/30999/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31000 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/31000/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/31000/comments | https://api.github.com/repos/pandas-dev/pandas/issues/31000/events | https://github.com/pandas-dev/pandas/pull/31000 | 549,541,290 | MDExOlB1bGxSZXF1ZXN0MzYyNjEzNjc0 | 31,000 | Backport PR #30980 on branch 1.0.x (API: Disallow NaN in StringArray constructor) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "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": "5319e7"... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 0 | 2020-01-14T12:40:21Z | 2020-01-14T13:24:42Z | 2020-01-14T13:24:41Z | NONE | null | Backport PR #30980: API: Disallow NaN in StringArray constructor | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31000/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/31000/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/31000.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31000",
"merged_at": "2020-01-14T13:24:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31000.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31000"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/31001 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/31001/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/31001/comments | https://api.github.com/repos/pandas-dev/pandas/issues/31001/events | https://github.com/pandas-dev/pandas/pull/31001 | 549,565,287 | MDExOlB1bGxSZXF1ZXN0MzYyNjMyOTg0 | 31,001 | TST: bare pytest raises | {
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"d... | 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-01-14T13:24:19Z | 2020-01-15T21:24:54Z | 2020-01-14T20:18:42Z | MEMBER | null | - [x] ref #30999
- [ ] 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/31001/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/31001/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/31001.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31001",
"merged_at": "2020-01-14T20:18:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31001.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31001"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/31002 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/31002/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/31002/comments | https://api.github.com/repos/pandas-dev/pandas/issues/31002/events | https://github.com/pandas-dev/pandas/issues/31002 | 549,565,473 | MDU6SXNzdWU1NDk1NjU0NzM= | 31,002 | reindex-like has inconsistent behaviour and exceptions if columns don't match | {
"avatar_url": "https://avatars.githubusercontent.com/u/48946947?v=4",
"events_url": "https://api.github.com/users/sanderland/events{/privacy}",
"followers_url": "https://api.github.com/users/sanderland/followers",
"following_url": "https://api.github.com/users/sanderland/following{/other_user}",
"gists_url": "https://api.github.com/users/sanderland/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sanderland",
"id": 48946947,
"login": "sanderland",
"node_id": "MDQ6VXNlcjQ4OTQ2OTQ3",
"organizations_url": "https://api.github.com/users/sanderland/orgs",
"received_events_url": "https://api.github.com/users/sanderland/received_events",
"repos_url": "https://api.github.com/users/sanderland/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sanderland/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sanderland/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sanderland"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] | open | false | null | [] | null | 2 | 2020-01-14T13:24:37Z | 2021-07-27T04:26:05Z | null | CONTRIBUTOR | null | #### Code Sample, a copy-pastable example if possible
```python
df_1 = pd.DataFrame(data=[1,2,3],columns=['a'])
df_2 = pd.DataFrame(data=[4,5,6],index=[0.5,1.5,2.5],columns=['b'])
df_2.reindex_like(df_1, method="bfill") # backfills as if columns matched
df_2.reindex_like(df_1, method="ffill") # all NaN
df_2.reindex_like(df_1, method="nearest") # exception
```
#### Problem description
It appears different methods of filling treat non matching columns differently. I came across this when trying to reindex two dataframes with one column each, whose names didn't match (as they were essentially irrelevant).
#### Workaround
before reindex do `df_2.columns = df_1.columns `
#### Expected Output
The documentation says:
> Its row and column indices are used to define the new indices of this object.
Exactly whether this means column name or position is not super clear, but either way the current behaviour is inconsistent. I would prefer if all of them worked like bfill.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.3.final.0
python-bits : 64
OS : Linux
OS-release : 5.0.0-37-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.3
numpy : 1.17.0
pytz : 2018.9
dateutil : 2.8.0
pip : 19.0.3
setuptools : 41.0.1
Cython : 0.29.6
pytest : 4.3.1
hypothesis : None
sphinx : 1.8.5
blosc : None
feather : None
xlsxwriter : 1.1.5
lxml.etree : 4.3.2
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10
IPython : 7.4.0
pandas_datareader: None
bs4 : 4.7.1
bottleneck : 1.2.1
fastparquet : None
gcsfs : None
lxml.etree : 4.3.2
matplotlib : 3.0.3
numexpr : 2.6.9
odfpy : None
openpyxl : 2.6.1
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.2.1
sqlalchemy : 1.3.1
tables : 3.5.1
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.1.5
</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/31002/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/31002/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31003 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/31003/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/31003/comments | https://api.github.com/repos/pandas-dev/pandas/issues/31003/events | https://github.com/pandas-dev/pandas/issues/31003 | 549,570,647 | MDU6SXNzdWU1NDk1NzA2NDc= | 31,003 | incorrect docs: pd.NA ** 0 should return 1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/19141733?v=4",
"events_url": "https://api.github.com/users/tsvikas/events{/privacy}",
"followers_url": "https://api.github.com/users/tsvikas/followers",
"following_url": "https://api.github.com/users/tsvikas/following{/other_user}",
"gists_url": "https://api.github.com/users/tsvikas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tsvikas",
"id": 19141733,
"login": "tsvikas",
"node_id": "MDQ6VXNlcjE5MTQxNzMz",
"organizations_url": "https://api.github.com/users/tsvikas/orgs",
"received_events_url": "https://api.github.com/users/tsvikas/received_events",
"repos_url": "https://api.github.com/users/tsvikas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tsvikas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tsvikas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tsvikas"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 3 | 2020-01-14T13:33:21Z | 2020-01-14T21:33:15Z | 2020-01-14T21:33:15Z | CONTRIBUTOR | null | `pd.NA ** 0` returns 1. which is correct, as far as I understand <sup>1</sup>
However, the [documents, line 832](https://dev.pandas.io/docs/user_guide/missing_data.html) incorrectly claims that `pd.NA ** 0` returns 0.
----
<sup>1</sup> although one can ask if `NULL**0` should behave like `NAN**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/31003/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/31003/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31004 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/31004/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/31004/comments | https://api.github.com/repos/pandas-dev/pandas/issues/31004/events | https://github.com/pandas-dev/pandas/pull/31004 | 549,590,993 | MDExOlB1bGxSZXF1ZXN0MzYyNjU0MTEz | 31,004 | docs: removed wrong value in `pd.NA ** 0` | {
"avatar_url": "https://avatars.githubusercontent.com/u/19141733?v=4",
"events_url": "https://api.github.com/users/tsvikas/events{/privacy}",
"followers_url": "https://api.github.com/users/tsvikas/followers",
"following_url": "https://api.github.com/users/tsvikas/following{/other_user}",
"gists_url": "https://api.github.com/users/tsvikas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tsvikas",
"id": 19141733,
"login": "tsvikas",
"node_id": "MDQ6VXNlcjE5MTQxNzMz",
"organizations_url": "https://api.github.com/users/tsvikas/orgs",
"received_events_url": "https://api.github.com/users/tsvikas/received_events",
"repos_url": "https://api.github.com/users/tsvikas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tsvikas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tsvikas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tsvikas"
} | [] | closed | false | null | [] | null | 0 | 2020-01-14T14:07:18Z | 2020-01-14T14:14:45Z | 2020-01-14T14:14:45Z | CONTRIBUTOR | null | `pd.NA ** 0` returns 1. The docs fixed to auto-calculate these values.
- [x] closes #31003
- [ ] 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/31004/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/31004/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/31004.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31004",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/31004.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31004"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/31005 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/31005/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/31005/comments | https://api.github.com/repos/pandas-dev/pandas/issues/31005/events | https://github.com/pandas-dev/pandas/pull/31005 | 549,598,946 | MDExOlB1bGxSZXF1ZXN0MzYyNjYwNDcx | 31,005 | DOC: removed wrong value of `pd.NA ** 0` | {
"avatar_url": "https://avatars.githubusercontent.com/u/19141733?v=4",
"events_url": "https://api.github.com/users/tsvikas/events{/privacy}",
"followers_url": "https://api.github.com/users/tsvikas/followers",
"following_url": "https://api.github.com/users/tsvikas/following{/other_user}",
"gists_url": "https://api.github.com/users/tsvikas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tsvikas",
"id": 19141733,
"login": "tsvikas",
"node_id": "MDQ6VXNlcjE5MTQxNzMz",
"organizations_url": "https://api.github.com/users/tsvikas/orgs",
"received_events_url": "https://api.github.com/users/tsvikas/received_events",
"repos_url": "https://api.github.com/users/tsvikas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tsvikas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tsvikas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tsvikas"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 9 | 2020-01-14T14:20:06Z | 2020-02-03T10:32:41Z | 2020-01-14T20:28:50Z | CONTRIBUTOR | null | - [x] closes #31003
- [ ] 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/31005/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/31005/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/31005.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31005",
"merged_at": "2020-01-14T20:28:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31005.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31005"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/31006 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/31006/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/31006/comments | https://api.github.com/repos/pandas-dev/pandas/issues/31006/events | https://github.com/pandas-dev/pandas/issues/31006 | 549,621,097 | MDU6SXNzdWU1NDk2MjEwOTc= | 31,006 | Using the same column twice within pd.DataFrameGroupBy.agg named arguments | {
"avatar_url": "https://avatars.githubusercontent.com/u/8079878?v=4",
"events_url": "https://api.github.com/users/dprice80/events{/privacy}",
"followers_url": "https://api.github.com/users/dprice80/followers",
"following_url": "https://api.github.com/users/dprice80/following{/other_user}",
"gists_url": "https://api.github.com/users/dprice80/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dprice80",
"id": 8079878,
"login": "dprice80",
"node_id": "MDQ6VXNlcjgwNzk4Nzg=",
"organizations_url": "https://api.github.com/users/dprice80/orgs",
"received_events_url": "https://api.github.com/users/dprice80/received_events",
"repos_url": "https://api.github.com/users/dprice80/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dprice80/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dprice80/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dprice80"
} | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 3 | 2020-01-14T14:56:33Z | 2020-01-14T17:16:39Z | 2020-01-14T15:37:32Z | NONE | null | #### Problem description
Currently, in .agg, one cannot use the same column more than once, so the following code results in an error:
```
df = pd.DataFrame({
'group': [1,1,2,2],
'var1': [1,2,3,4]
})
df.groupby(
'group'
).agg(
sum1 = ('var1', lambda x: x[x > 1].sum()),
sum2 = ('var1', lambda x: x[x > 2].sum())
)
```
I understand that it is possible to create a MultiIndex DataFrame using a dictionary input rather than keyword arguments, but this required complicated renaming of columns and flattening of the resulting MI DataFrame. Is there some fundamental reason that a column cannot be used twice for two different column specs of .agg? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31006/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/31006/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31007 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/31007/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/31007/comments | https://api.github.com/repos/pandas-dev/pandas/issues/31007/events | https://github.com/pandas-dev/pandas/issues/31007 | 549,656,682 | MDU6SXNzdWU1NDk2NTY2ODI= | 31,007 | as_index = False not working for applying groupby rolling agg to DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/36887638?v=4",
"events_url": "https://api.github.com/users/hsorsky/events{/privacy}",
"followers_url": "https://api.github.com/users/hsorsky/followers",
"following_url": "https://api.github.com/users/hsorsky/following{/other_user}",
"gists_url": "https://api.github.com/users/hsorsky/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hsorsky",
"id": 36887638,
"login": "hsorsky",
"node_id": "MDQ6VXNlcjM2ODg3NjM4",
"organizations_url": "https://api.github.com/users/hsorsky/orgs",
"received_events_url": "https://api.github.com/users/hsorsky/received_events",
"repos_url": "https://api.github.com/users/hsorsky/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hsorsky/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hsorsky/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hsorsky"
} | [
{
"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,
... | open | false | null | [] | null | 2 | 2020-01-14T15:51:18Z | 2021-04-06T11:40:24Z | null | NONE | null | #### Problem description
When using a rolling agg function on a groupby object, we cannot ommit the groupby columns from the resulting dataframe's index using `as_index = False`, like we can when applying a non-rolling agg function.
#### Code Sample
```python
import pandas as pd
data = {
'groupby_col': ['A', 'A', 'A', 'A', 'A', 'B', 'B', 'B', 'B', 'B', ],
'agg_col': [1, 1, 0, 1, 0, 0, 0, 0, 1, 0],
}
df = pd.DataFrame(data)
df.groupby(['groupby_col'], as_index=False).rolling(4).agg({'agg_col': 'mean'})
```
#### Expected Output
```python
pd.DataFrame({'agg_col': {
0: np.nan,
1: np.nan,
2: np.nan,
3: 0.75,
4: 0.5,
5: np.nan,
6: np.nan,
7: np.nan,
8: 0.25,
9: 0.25}})
```
<table border="1" class="dataframe">
<thead>
<tr style="text-align: right;">
<th></th>
<th>agg_col</th>
</tr>
</thead>
<tbody>
<tr>
<th>0</th>
<td>NaN</td>
</tr>
<tr>
<th>1</th>
<td>NaN</td>
</tr>
<tr>
<th>2</th>
<td>NaN</td>
</tr>
<tr>
<th>3</th>
<td>0.75</td>
</tr>
<tr>
<th>4</th>
<td>0.50</td>
</tr>
<tr>
<th>5</th>
<td>NaN</td>
</tr>
<tr>
<th>6</th>
<td>NaN</td>
</tr>
<tr>
<th>7</th>
<td>NaN</td>
</tr>
<tr>
<th>8</th>
<td>0.25</td>
</tr>
<tr>
<th>9</th>
<td>0.25</td>
</tr>
</tbody>
</table>
#### Actual Output
```python
pd.DataFrame({'agg_col': {
(0, 0): np.nan,
(0, 1): np.nan,
(0, 2): np.nan,
(0, 3): 0.75,
(0, 4): 0.5,
(1, 5): np.nan,
(1, 6): np.nan,
(1, 7): np.nan,
(1, 8): 0.25,
(1, 9): 0.25}})
```
<table border="1" class="dataframe">
<thead>
<tr style="text-align: right;">
<th></th>
<th></th>
<th>agg_col</th>
</tr>
</thead>
<tbody>
<tr>
<th rowspan="5" valign="top">0</th>
<th>0</th>
<td>NaN</td>
</tr>
<tr>
<th>1</th>
<td>NaN</td>
</tr>
<tr>
<th>2</th>
<td>NaN</td>
</tr>
<tr>
<th>3</th>
<td>0.75</td>
</tr>
<tr>
<th>4</th>
<td>0.50</td>
</tr>
<tr>
<th rowspan="5" valign="top">1</th>
<th>5</th>
<td>NaN</td>
</tr>
<tr>
<th>6</th>
<td>NaN</td>
</tr>
<tr>
<th>7</th>
<td>NaN</td>
</tr>
<tr>
<th>8</th>
<td>0.25</td>
</tr>
<tr>
<th>9</th>
<td>0.25</td>
</tr>
</tbody>
</table>
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.3.final.0
python-bits : 64
OS : Darwin
OS-release : 18.7.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 0.25.1
numpy : 1.17.4
pytz : 2019.3
dateutil : 2.8.0
pip : 19.3.1
setuptools : 40.8.0
Cython : 0.29.14
pytest : 5.3.2
hypothesis : None
sphinx : 2.3.0
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : 1.0.1
pymysql : None
psycopg2 : 2.8.4 (dt dec pq3 ext lo64)
jinja2 : 2.10.3
IPython : 7.10.2
pandas_datareader: None
bs4 : 4.8.1
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.2
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.15.1
pytables : None
s3fs : None
scipy : 1.3.0
sqlalchemy : 1.3.11
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/31007/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/31007/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31008 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/31008/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/31008/comments | https://api.github.com/repos/pandas-dev/pandas/issues/31008/events | https://github.com/pandas-dev/pandas/pull/31008 | 549,661,990 | MDExOlB1bGxSZXF1ZXN0MzYyNzExOTI2 | 31,008 | DOC: Moved PANDAS_TESTING_MODE tip to .travis.yml (#30694) | {
"avatar_url": "https://avatars.githubusercontent.com/u/9161025?v=4",
"events_url": "https://api.github.com/users/saloni30agr/events{/privacy}",
"followers_url": "https://api.github.com/users/saloni30agr/followers",
"following_url": "https://api.github.com/users/saloni30agr/following{/other_user}",
"gists_url": "https://api.github.com/users/saloni30agr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/saloni30agr",
"id": 9161025,
"login": "saloni30agr",
"node_id": "MDQ6VXNlcjkxNjEwMjU=",
"organizations_url": "https://api.github.com/users/saloni30agr/orgs",
"received_events_url": "https://api.github.com/users/saloni30agr/received_events",
"repos_url": "https://api.github.com/users/saloni30agr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/saloni30agr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/saloni30agr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/saloni30agr"
} | [
{
"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-01-14T15:59:38Z | 2020-01-18T16:57:52Z | 2020-01-18T16:41:11Z | CONTRIBUTOR | null | Added comments for travis.yml for PANDAS_TESTING_MODE from tips and tricks section of wiki
- [X] xref #30964
- [ ] 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/31008/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/31008/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/31008.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31008",
"merged_at": "2020-01-18T16:41:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31008.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31008"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/31009 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/31009/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/31009/comments | https://api.github.com/repos/pandas-dev/pandas/issues/31009/events | https://github.com/pandas-dev/pandas/pull/31009 | 549,663,866 | MDExOlB1bGxSZXF1ZXN0MzYyNzEzNDY5 | 31,009 | Backport PR #30959 on branch 1.0.x (ENH: Add Stata 119 writer) | {
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 0 | 2020-01-14T16:02:44Z | 2020-01-14T16:33:50Z | 2020-01-14T16:33:50Z | NONE | null | Backport PR #30959: ENH: Add Stata 119 writer | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31009/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/31009/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/31009.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31009",
"merged_at": "2020-01-14T16:33:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31009.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31009"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/31010 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/31010/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/31010/comments | https://api.github.com/repos/pandas-dev/pandas/issues/31010/events | https://github.com/pandas-dev/pandas/issues/31010 | 549,667,396 | MDU6SXNzdWU1NDk2NjczOTY= | 31,010 | DOC: contributing.rst sphinx link leads to 400 bad request | {
"avatar_url": "https://avatars.githubusercontent.com/u/16887528?v=4",
"events_url": "https://api.github.com/users/tonywu1999/events{/privacy}",
"followers_url": "https://api.github.com/users/tonywu1999/followers",
"following_url": "https://api.github.com/users/tonywu1999/following{/other_user}",
"gists_url": "https://api.github.com/users/tonywu1999/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tonywu1999",
"id": 16887528,
"login": "tonywu1999",
"node_id": "MDQ6VXNlcjE2ODg3NTI4",
"organizations_url": "https://api.github.com/users/tonywu1999/orgs",
"received_events_url": "https://api.github.com/users/tonywu1999/received_events",
"repos_url": "https://api.github.com/users/tonywu1999/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tonywu1999/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tonywu1999/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tonywu1999"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/16887528?v=4",
"events_url": "https://api.github.com/users/tonywu1999/events{/privacy}",
"followers_url": "https://api.github.com/users/tonywu1999/followers",
"following_url": "https://api.github.com/users/tonywu1999/following{/other_user}",
"gists_url": "https://api.github.com/users/tonywu1999/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tonywu1999",
"id": 16887528,
"login": "tonywu1999",
"node_id": "MDQ6VXNlcjE2ODg3NTI4",
"organizations_url": "https://api.github.com/users/tonywu1999/orgs",
"received_events_url": "https://api.github.com/users/tonywu1999/received_events",
"repos_url": "https://api.github.com/users/tonywu1999/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tonywu1999/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tonywu1999/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tonywu1999"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/16887528?v=4",
"events_url": "https://api.github.com/users/tonywu1999/events{/privacy}",
"followers_url": "https://api.github.com/users/tonywu1999/followers",
"following_url": "https://api.github.com/users/tonywu1999/following{/other_user}",
... | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 3 | 2020-01-14T16:08:32Z | 2020-01-14T20:22:29Z | 2020-01-14T20:22:20Z | CONTRIBUTOR | null | When reading through the contributing guidelines (https://dev.pandas.io/docs/development/contributing.html), there are links to the Sphinx documentation and an introduction to reST.
_Sphinx documentation_: http://sphinx.pocoo.org/
_Introduction to reST_: http://sphinx.pocoo.org/rest.html
However, these links are not working and are leading to 400 bad requests.
I propose we replace these links with the following links:
_Sphinx documentation_: http://www.sphinx-doc.org/en/master/
_Introduction to reST_: https://www.sphinx-doc.org/en/master/usage/restructuredtext/index.html
I think this will be an easy fix, editing the links in the contributing.rst file in the documentation folder.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31010/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/31010/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/31011 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/31011/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/31011/comments | https://api.github.com/repos/pandas-dev/pandas/issues/31011/events | https://github.com/pandas-dev/pandas/pull/31011 | 549,733,973 | MDExOlB1bGxSZXF1ZXN0MzYyNzcwOTYx | 31,011 | DOC: Changed links to sphinx documentation in contributing.rst file | {
"avatar_url": "https://avatars.githubusercontent.com/u/16887528?v=4",
"events_url": "https://api.github.com/users/tonywu1999/events{/privacy}",
"followers_url": "https://api.github.com/users/tonywu1999/followers",
"following_url": "https://api.github.com/users/tonywu1999/following{/other_user}",
"gists_url": "https://api.github.com/users/tonywu1999/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tonywu1999",
"id": 16887528,
"login": "tonywu1999",
"node_id": "MDQ6VXNlcjE2ODg3NTI4",
"organizations_url": "https://api.github.com/users/tonywu1999/orgs",
"received_events_url": "https://api.github.com/users/tonywu1999/received_events",
"repos_url": "https://api.github.com/users/tonywu1999/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tonywu1999/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tonywu1999/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tonywu1999"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2020-01-14T18:12:43Z | 2020-01-14T20:21:05Z | 2020-01-14T20:20:51Z | CONTRIBUTOR | null | GH31010: fixed this issue where inactive links for sphinx documentation were replaced with active links in the contributing documentation.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31011/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/31011/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/31011.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31011",
"merged_at": "2020-01-14T20:20:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31011.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31011"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/31012 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/31012/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/31012/comments | https://api.github.com/repos/pandas-dev/pandas/issues/31012/events | https://github.com/pandas-dev/pandas/pull/31012 | 549,796,209 | MDExOlB1bGxSZXF1ZXN0MzYyODIxMTA0 | 31,012 | Backport PR #31011 on branch 1.0.x (DOC: Changed links to sphinx documentation in contributing.rst file) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 0 | 2020-01-14T20:21:03Z | 2020-01-14T21:00:49Z | 2020-01-14T21:00:48Z | NONE | null | Backport PR #31011: DOC: Changed links to sphinx documentation in contributing.rst file | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31012/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/31012/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/31012.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31012",
"merged_at": "2020-01-14T21:00:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31012.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31012"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/31013 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/31013/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/31013/comments | https://api.github.com/repos/pandas-dev/pandas/issues/31013/events | https://github.com/pandas-dev/pandas/pull/31013 | 549,803,040 | MDExOlB1bGxSZXF1ZXN0MzYyODI2NTc5 | 31,013 | BUG: pivot_table with multi-index columns only fails | {
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
} | [
{
"color": "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, Stac... | 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-01-14T20:34:53Z | 2020-01-15T03:19:30Z | 2020-01-15T03:19:24Z | MEMBER | null | - [x] closes #17038
- [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/31013/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/31013/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/31013.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31013",
"merged_at": "2020-01-15T03:19:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31013.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31013"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/31014 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/31014/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/31014/comments | https://api.github.com/repos/pandas-dev/pandas/issues/31014/events | https://github.com/pandas-dev/pandas/pull/31014 | 549,804,078 | MDExOlB1bGxSZXF1ZXN0MzYyODI3NDIx | 31,014 | Revert "DOC: removed wrong value of `pd.NA ** 0`" | {
"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"
} | [] | closed | false | null | [] | null | 1 | 2020-01-14T20:36:52Z | 2020-01-14T20:39:25Z | 2020-01-14T20:39:21Z | CONTRIBUTOR | null | Reverts pandas-dev/pandas#31005
Made to the wrong branch. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/31014/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/31014/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/31014.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/31014",
"merged_at": "2020-01-14T20:39:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/31014.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/31014"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.