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/32216 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32216/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32216/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32216/events | https://github.com/pandas-dev/pandas/pull/32216 | 569,593,602 | MDExOlB1bGxSZXF1ZXN0Mzc4Nzc2NzAz | 32,216 | REF: de-duplicate factorize and duplicated code | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": "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-02-24T01:13:36Z | 2020-02-24T16:13:10Z | 2020-02-24T14:32: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/32216/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32216/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32216.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32216",
"merged_at": "2020-02-24T14:32:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32216.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32216"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/32217 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32217/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32217/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32217/events | https://github.com/pandas-dev/pandas/issues/32217 | 569,746,081 | MDU6SXNzdWU1Njk3NDYwODE= | 32,217 | rame | {
"avatar_url": "https://avatars.githubusercontent.com/u/57360592?v=4",
"events_url": "https://api.github.com/users/albertmarzo/events{/privacy}",
"followers_url": "https://api.github.com/users/albertmarzo/followers",
"following_url": "https://api.github.com/users/albertmarzo/following{/other_user}",
"gists_url": "https://api.github.com/users/albertmarzo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/albertmarzo",
"id": 57360592,
"login": "albertmarzo",
"node_id": "MDQ6VXNlcjU3MzYwNTky",
"organizations_url": "https://api.github.com/users/albertmarzo/orgs",
"received_events_url": "https://api.github.com/users/albertmarzo/received_events",
"repos_url": "https://api.github.com/users/albertmarzo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/albertmarzo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/albertmarzo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/albertmarzo"
} | [] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 1 | 2020-02-24T09:57:12Z | 2020-02-24T18:45:21Z | 2020-02-24T18:44:56Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
# Your code here
```
#### Problem description
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution.]
**Note**: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates!
**Note**: Many problems can be resolved by simply upgrading `pandas` to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if `master` addresses this issue, but that is not necessary.
For documentation-related issues, you can check the latest versions of the docs on `master` here:
https://pandas-docs.github.io/pandas-docs-travis/
If the issue has not been resolved there, go ahead and file it in the issue tracker.
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32217/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32217/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32218 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32218/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32218/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32218/events | https://github.com/pandas-dev/pandas/issues/32218 | 569,821,312 | MDU6SXNzdWU1Njk4MjEzMTI= | 32,218 | Inconsistent behavior when DataFrame with strings and None is created from lists or dictionary. | {
"avatar_url": "https://avatars.githubusercontent.com/u/18338679?v=4",
"events_url": "https://api.github.com/users/ace-e4s/events{/privacy}",
"followers_url": "https://api.github.com/users/ace-e4s/followers",
"following_url": "https://api.github.com/users/ace-e4s/following{/other_user}",
"gists_url": "https://api.github.com/users/ace-e4s/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ace-e4s",
"id": 18338679,
"login": "ace-e4s",
"node_id": "MDQ6VXNlcjE4MzM4Njc5",
"organizations_url": "https://api.github.com/users/ace-e4s/orgs",
"received_events_url": "https://api.github.com/users/ace-e4s/received_events",
"repos_url": "https://api.github.com/users/ace-e4s/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ace-e4s/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ace-e4s/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ace-e4s"
} | [
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"de... | open | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/5862228?v=4",
"events_url": "https://api.github.com/users/cgarciae/events{/privacy}",
"followers_url": "https://api.github.com/users/cgarciae/followers",
"following_url": "https://api.github.com/users/cgarciae/following{/other_user}",
"gists_url": "https://api.github.com/users/cgarciae/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cgarciae",
"id": 5862228,
"login": "cgarciae",
"node_id": "MDQ6VXNlcjU4NjIyMjg=",
"organizations_url": "https://api.github.com/users/cgarciae/orgs",
"received_events_url": "https://api.github.com/users/cgarciae/received_events",
"repos_url": "https://api.github.com/users/cgarciae/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cgarciae/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cgarciae/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cgarciae"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/5862228?v=4",
"events_url": "https://api.github.com/users/cgarciae/events{/privacy}",
"followers_url": "https://api.github.com/users/cgarciae/followers",
"following_url": "https://api.github.com/users/cgarciae/following{/other_user}",
"gis... | null | 6 | 2020-02-24T12:20:47Z | 2021-07-29T04:32:05Z | null | NONE | null | #### Code Sample
```python
import pandas as pd
pd.__version__
# df created from list, None is casted to str
df = pd.DataFrame(["1", "2", None], columns=["a"], dtype="str")
type(df.loc[2].values[0])
# Equivalent df created from dict, None remains NoneType
df = pd.DataFrame({"a": ["1", "2", None]}, dtype="str")
type(df.loc[2].values[0]))
```
#### Problem description
None is not casted consistently for DataFrames with None values and dtype set to str.
If DataFrame is created from list, then None is casted to str -> None -> "None".
If DataFrame is created from dict, then None remains NoneType -> None -> None.
IMO, the latter is the preferred behavior. I hope you consider this when continuing your work on string types and na types in future versions.
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.5.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.0.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 41.2.0
Cython : None
pytest : 5.3.5
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
pytest : 5.3.5
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32218/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32218/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32219 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32219/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32219/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32219/events | https://github.com/pandas-dev/pandas/issues/32219 | 569,949,721 | MDU6SXNzdWU1Njk5NDk3MjE= | 32,219 | calling `mean` on a `DataFrameGroupBy` with `Int64` dtype results in `TypeError` | {
"avatar_url": "https://avatars.githubusercontent.com/u/893512?v=4",
"events_url": "https://api.github.com/users/mojones/events{/privacy}",
"followers_url": "https://api.github.com/users/mojones/followers",
"following_url": "https://api.github.com/users/mojones/following{/other_user}",
"gists_url": "https://api.github.com/users/mojones/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mojones",
"id": 893512,
"login": "mojones",
"node_id": "MDQ6VXNlcjg5MzUxMg==",
"organizations_url": "https://api.github.com/users/mojones/orgs",
"received_events_url": "https://api.github.com/users/mojones/received_events",
"repos_url": "https://api.github.com/users/mojones/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mojones/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mojones/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mojones"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT,... | closed | false | null | [] | {
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
} | 1 | 2020-02-24T15:54:58Z | 2020-03-12T02:28:59Z | 2020-03-12T02:28:59Z | CONTRIBUTOR | null | ```python
import pandas as pd
df = pd.DataFrame({
'a' : [0,0,1,1,2,2,3,3],
'b' : [1,2,3,4,5,6,7,8]
},
dtype='Int64')
df.groupby('a').mean()
```
#### Problem description
Using the new nullable integer data type, calling `mean` after grouping results in a `TypeError`. Using `int64` dtype it works:
```python
import pandas as pd
df = pd.DataFrame({
'a' : [0,0,1,1,2,2,3,3],
'b' : [1,2,3,4,5,6,7,8]
},
dtype='int64')
print(df.groupby('a').mean())
```
as does keeping `Int64` dtype but taking a single column to give a `SeriesGroupBy`:
```python
import pandas as pd
df = pd.DataFrame({
'a' : [0,0,1,1,2,2,3,3],
'b' : [1,2,3,4,5,6,7,8]
},
dtype='Int64')
print(df.groupby('a')['b'].mean())
```
The error does not occur when calling `min`, `max` or `first`, but does also occur with `median` and `std`.
#### Expected Output
```
b
a
0 1.5
1 3.5
2 5.5
3 7.5
```
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.3.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-74-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 1.0.1
numpy : 1.18.1
pytz : 2019.1
dateutil : 2.8.0
pip : 19.1.1
setuptools : 41.0.1
Cython : None
pytest : 5.3.4
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.3.3
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.5.0
pandas_datareader: None
bs4 : 4.8.1
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.3.3
matplotlib : 3.1.2
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 5.3.4
pyxlsb : None
s3fs : None
scipy : 1.3.0
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : None
xlsxwriter : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32219/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32219/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32220 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32220/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32220/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32220/events | https://github.com/pandas-dev/pandas/issues/32220 | 569,975,481 | MDU6SXNzdWU1Njk5NzU0ODE= | 32,220 | CI: value_counts tests failing sometimes | {
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "5319e7",
"default": false,
"description": ... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/... | null | 4 | 2020-02-24T16:35:28Z | 2020-03-04T13:52:31Z | 2020-03-04T13:52:31Z | MEMBER | null | It seems like we're getting some failures from `test_value_counts_unique_nunique` in `pandas/tests/base/test_ops.py` (weird thing is that it only fails some of the time; maybe because of randomized test data?). Looks like these tests were updated in https://github.com/pandas-dev/pandas/pull/32046; @SaturnFromTitan any ideas what might be happening there?
Sample failed pipeline: https://github.com/pandas-dev/pandas/runs/464853016 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32220/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32220/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32221 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32221/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32221/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32221/events | https://github.com/pandas-dev/pandas/pull/32221 | 570,126,372 | MDExOlB1bGxSZXF1ZXN0Mzc5MjE0MzA4 | 32,221 | CI: Remove float16 fixture value | {
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
} | [
{
"color": "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": "5319e7",
"default": false,
"description": ... | 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-02-24T20:24:56Z | 2020-02-25T18:51:35Z | 2020-02-25T18:51:26Z | CONTRIBUTOR | null | - [x] xref #32220
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Hopefully, this fixes the flaky test
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32221/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32221/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32221.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32221",
"merged_at": "2020-02-25T18:51:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32221.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32221"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32222 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32222/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32222/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32222/events | https://github.com/pandas-dev/pandas/pull/32222 | 570,138,111 | MDExOlB1bGxSZXF1ZXN0Mzc5MjIzOTcw | 32,222 | BUG: the sample skewness is wrong computed | {
"avatar_url": "https://avatars.githubusercontent.com/u/45976948?v=4",
"events_url": "https://api.github.com/users/anmyachev/events{/privacy}",
"followers_url": "https://api.github.com/users/anmyachev/followers",
"following_url": "https://api.github.com/users/anmyachev/following{/other_user}",
"gists_url": "https://api.github.com/users/anmyachev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/anmyachev",
"id": 45976948,
"login": "anmyachev",
"node_id": "MDQ6VXNlcjQ1OTc2OTQ4",
"organizations_url": "https://api.github.com/users/anmyachev/orgs",
"received_events_url": "https://api.github.com/users/anmyachev/received_events",
"repos_url": "https://api.github.com/users/anmyachev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/anmyachev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anmyachev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/anmyachev"
} | [] | closed | false | null | [] | null | 9 | 2020-02-24T20:48:21Z | 2020-04-16T16:59:58Z | 2020-04-16T16:59:58Z | CONTRIBUTOR | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Right formula can be found here: https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.skew.html | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32222/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32222/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32222.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32222",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32222.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32222"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32223 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32223/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32223/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32223/events | https://github.com/pandas-dev/pandas/pull/32223 | 570,141,319 | MDExOlB1bGxSZXF1ZXN0Mzc5MjI2NjQ1 | 32,223 | BUG: Fix DateFrameGroupBy.mean error for Int64 dtype | {
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
} | 5 | 2020-02-24T20:55:12Z | 2020-03-12T13:19:45Z | 2020-03-12T02:29:00Z | MEMBER | null | - [x] closes #32219
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
It looks like this was due to the `TypeError` not being caught | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32223/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32223/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32223.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32223",
"merged_at": "2020-03-12T02:28:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32223.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32223"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32224 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32224/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32224/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32224/events | https://github.com/pandas-dev/pandas/pull/32224 | 570,172,852 | MDExOlB1bGxSZXF1ZXN0Mzc5MjUyMzEw | 32,224 | PERF: lazify consolidation check | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": "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-02-24T21:58:32Z | 2020-02-26T02:18:52Z | 2020-02-26T02:07:34Z | MEMBER | null | The benchmark I'm using for this (and upcoming related PRs) is based on the asv that is most affected by removing `fast_apply` (see #32086).
```
import numpy as np
from pandas import *
%load_ext line_profiler
def get_df():
N = 10 ** 4
labels = np.random.randint(0, 2000, size=N)
labels2 = np.random.randint(0, 3, size=N)
df = DataFrame(
{
"key": labels,
"key2": labels2,
"value1": np.random.randn(N),
"value2": ["foo", "bar", "baz", "qux"] * (N // 4),
}
)
return df
df = get_df()
gb = df.groupby("key")
%prun -s cumulative gb.apply(lambda x: 1)
```
If we disable `fast_apply` on master, this gives:
```
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.278 0.278 groupby.py:701(apply)
1 0.000 0.000 0.278 0.278 groupby.py:750(_python_apply_general)
1 0.009 0.009 0.275 0.275 ops.py:151(apply)
1987 0.003 0.000 0.257 0.000 ops.py:858(__iter__)
1986 0.003 0.000 0.251 0.000 ops.py:889(_chop)
1986 0.003 0.000 0.247 0.000 indexing.py:814(__getitem__)
1986 0.001 0.000 0.243 0.000 indexing.py:1462(_getitem_axis)
1986 0.003 0.000 0.242 0.000 indexing.py:1488(_get_slice_axis)
1986 0.007 0.000 0.230 0.000 generic.py:3470(_slice)
1986 0.008 0.000 0.203 0.000 managers.py:713(get_slice)
1987 0.005 0.000 0.129 0.000 managers.py:125(__init__)
1987 0.003 0.000 0.060 0.000 managers.py:634(_consolidate_check)
1987 0.026 0.000 0.059 0.000 managers.py:215(_rebuild_blknos_and_blklocs)
1987 0.003 0.000 0.056 0.000 managers.py:635(<listcomp>)
5961 0.015 0.000 0.053 0.000 blocks.py:335(ftype)
```
If we disable `fast_apply` on this PR:
```
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.198 0.198 groupby.py:701(apply)
1 0.000 0.000 0.198 0.198 groupby.py:750(_python_apply_general)
1 0.008 0.008 0.195 0.195 ops.py:151(apply)
1979 0.002 0.000 0.176 0.000 ops.py:903(__iter__)
1978 0.002 0.000 0.172 0.000 ops.py:934(_chop)
1978 0.003 0.000 0.169 0.000 indexing.py:814(__getitem__)
1978 0.001 0.000 0.165 0.000 indexing.py:1462(_getitem_axis)
1978 0.003 0.000 0.164 0.000 indexing.py:1488(_get_slice_axis)
1978 0.006 0.000 0.153 0.000 generic.py:3470(_slice)
1978 0.007 0.000 0.129 0.000 managers.py:713(get_slice)
1980 0.004 0.000 0.061 0.000 managers.py:125(__init__)
1980 0.021 0.000 0.052 0.000 managers.py:215(_rebuild_blknos_and_blklocs)
1978 0.002 0.000 0.048 0.000 managers.py:723(<listcomp>)
5934 0.010 0.000 0.045 0.000 blocks.py:310(getitem_block)
5942 0.003 0.000 0.031 0.000 blocks.py:275(make_block_same_class)
```
We save almost 30% by lazifying the consolidation check and consolidate on _slice. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32224/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32224/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32224.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32224",
"merged_at": "2020-02-26T02:07:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32224.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32224"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32225 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32225/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32225/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32225/events | https://github.com/pandas-dev/pandas/issues/32225 | 570,207,214 | MDU6SXNzdWU1NzAyMDcyMTQ= | 32,225 | Treatment of Pre-Epoch datetimes in windows | {
"avatar_url": "https://avatars.githubusercontent.com/u/37914376?v=4",
"events_url": "https://api.github.com/users/Jacob-Bishop/events{/privacy}",
"followers_url": "https://api.github.com/users/Jacob-Bishop/followers",
"following_url": "https://api.github.com/users/Jacob-Bishop/following{/other_user}",
"gists_url": "https://api.github.com/users/Jacob-Bishop/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Jacob-Bishop",
"id": 37914376,
"login": "Jacob-Bishop",
"node_id": "MDQ6VXNlcjM3OTE0Mzc2",
"organizations_url": "https://api.github.com/users/Jacob-Bishop/orgs",
"received_events_url": "https://api.github.com/users/Jacob-Bishop/received_events",
"repos_url": "https://api.github.com/users/Jacob-Bishop/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Jacob-Bishop/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jacob-Bishop/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Jacob-Bishop"
} | [] | closed | false | null | [] | null | 1 | 2020-02-24T23:19:07Z | 2020-02-25T18:49:01Z | 2020-02-25T18:49:01Z | NONE | null | #### Code Sample
```python
import datetime
datetime.datetime(1953,1,23,0).astimezone(datetime.timezone(datetime.timedelta(days=-1, seconds=57600), 'Pacific Standard Time'))
```
#### Problem description
```pandas._libs.tslibs.tzconversion._tz_convert_tzlocal_utc``` calls ```dt.astimezone()```, which fails on Windows for pre-Epoch datetimes (see, e.g., code sample above) with ```OSError: [Errno 22] Invalid argument.``` This appears to be related to this issue https://github.com/dateutil/dateutil/issues/197, where time.localtime() can't take negative values on Windows.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 78 Stepping 3, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 0.25.3
numpy : 1.17.3
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.2.0.post20200210
Cython : None
pytest : None
hypothesis : None
sphinx : 2.4.0
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.4.1
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.9.0
pandas_datareader: None
bs4 : 4.8.1
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.4.1
matplotlib : 3.1.1
numexpr : None
odfpy : None
openpyxl : 3.0.0
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.3.2
sqlalchemy : None
tables : None
xarray : None
xlrd : 1.2.0
xlwt : None
xlsxwriter : None
</details>
# Edit
The error appears to be in the datetutil module, not directly in datetime. See the stacktrace below:
<details>
Exception ignored in: 'pandas._libs.tslibs.tzconversion._tz_convert_tzlocal_utc'
Traceback (most recent call last):
File "C:\Users\jbishop\AppData\Roaming\Python\Python37\site-packages\dateutil\tz\_common.py", line 144, in fromutc
return f(self, dt)
File "C:\Users\jbishop\AppData\Roaming\Python\Python37\site-packages\dateutil\tz\_common.py", line 258, in fromutc
dt_wall = self._fromutc(dt)
File "C:\Users\jbishop\AppData\Roaming\Python\Python37\site-packages\dateutil\tz\_common.py", line 222, in _fromutc
dtoff = dt.utcoffset()
File "C:\Users\jbishop\AppData\Roaming\Python\Python37\site-packages\dateutil\tz\tz.py", line 222, in utcoffset
if self._isdst(dt):
File "C:\Users\jbishop\AppData\Roaming\Python\Python37\site-packages\dateutil\tz\tz.py", line 291, in _isdst
dstval = self._naive_is_dst(dt)
File "C:\Users\jbishop\AppData\Roaming\Python\Python37\site-packages\dateutil\tz\tz.py", line 260, in _naive_is_dst
return time.localtime(timestamp + time.timezone).tm_isdst
OSError: [Errno 22] Invalid argument
</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/32225/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32225/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32226 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32226/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32226/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32226/events | https://github.com/pandas-dev/pandas/pull/32226 | 570,218,446 | MDExOlB1bGxSZXF1ZXN0Mzc5MjkwMjI3 | 32,226 | REF/TST: method-specific files for Series timeseries methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "C4A000",
"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-02-24T23:50:30Z | 2020-02-25T23:23:59Z | 2020-02-25T21:49:52Z | MEMBER | null | cc @WillAyd @simonjayhawkins got the [go ahead](https://github.com/pandas-dev/pandas/pull/32110#issuecomment-589974610) the other day to take these off Jeff's plate | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32226/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32226/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32226.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32226",
"merged_at": "2020-02-25T21:49:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32226.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32226"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32227 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32227/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32227/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32227/events | https://github.com/pandas-dev/pandas/pull/32227 | 570,232,890 | MDExOlB1bGxSZXF1ZXN0Mzc5MzAyMjAw | 32,227 | REF/TST: method-specific files for rename, reset_index | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "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": "C4A000",
"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-02-25T00:32:43Z | 2020-02-25T20:47:36Z | 2020-02-25T20:41:13Z | 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/32227/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32227/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32227.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32227",
"merged_at": "2020-02-25T20:41:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32227.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32227"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/32228 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32228/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32228/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32228/events | https://github.com/pandas-dev/pandas/pull/32228 | 570,237,172 | MDExOlB1bGxSZXF1ZXN0Mzc5MzA1Nzg1 | 32,228 | REF/TST: method-specific files for combine, update; parametrize | {
"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": "C4A000",
"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-02-25T00:46:02Z | 2020-02-25T20:46:53Z | 2020-02-25T20:41:55Z | 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/32228/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32228/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32228.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32228",
"merged_at": "2020-02-25T20:41:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32228.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32228"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/32229 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32229/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32229/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32229/events | https://github.com/pandas-dev/pandas/issues/32229 | 570,254,710 | MDU6SXNzdWU1NzAyNTQ3MTA= | 32,229 | 32 bit CI Failures | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
} | 2 | 2020-02-25T01:43:33Z | 2020-02-25T18:55:56Z | 2020-02-25T18:55:56Z | MEMBER | null | Haven't had time to debug but seeing this in the logs when setting up the 32 bit linux environment:
```sh
Traceback (most recent call last):
File "/home/vsts/miniconda3/bin/conda", line 7, in <module>
from conda.cli import main
ImportError: No module named conda.cli
``` | {
"+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/32229/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32229/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32230 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32230/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32230/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32230/events | https://github.com/pandas-dev/pandas/pull/32230 | 570,269,497 | MDExOlB1bGxSZXF1ZXN0Mzc5MzMxODEz | 32,230 | REF/TST: method-specific files for DataFrame timeseries methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "C4A000",
"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-02-25T02:32:51Z | 2020-02-25T20:51:01Z | 2020-02-25T20:40:23Z | MEMBER | null | xref #32226. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32230/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32230/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32230.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32230",
"merged_at": "2020-02-25T20:40:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32230.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32230"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32231 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32231/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32231/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32231/events | https://github.com/pandas-dev/pandas/pull/32231 | 570,287,133 | MDExOlB1bGxSZXF1ZXN0Mzc5MzQ1NzMw | 32,231 | DOC: Clean up of DataFrame.ewm | {
"avatar_url": "https://avatars.githubusercontent.com/u/12001304?v=4",
"events_url": "https://api.github.com/users/sursu/events{/privacy}",
"followers_url": "https://api.github.com/users/sursu/followers",
"following_url": "https://api.github.com/users/sursu/following{/other_user}",
"gists_url": "https://api.github.com/users/sursu/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sursu",
"id": 12001304,
"login": "sursu",
"node_id": "MDQ6VXNlcjEyMDAxMzA0",
"organizations_url": "https://api.github.com/users/sursu/orgs",
"received_events_url": "https://api.github.com/users/sursu/received_events",
"repos_url": "https://api.github.com/users/sursu/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sursu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sursu/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sursu"
} | [] | closed | false | null | [] | null | 2 | 2020-02-25T03:30:52Z | 2020-02-25T04:24:04Z | 2020-02-25T04:24:04Z | CONTRIBUTOR | null | - [ ] closes #31647
Though, I don't know what @MarcoGorelli meant in the 5'th issue.
Didn't know how to expand my previous Pull Request: #32212, as I have already deleted the files on my machine.
Here are the screenshots, @WillAyd:


In the first image a controversial change might be: log(0.5) -> -ln(2).
The Notes have been expanded with a simple example from the provided link. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32231/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32231/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32231.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32231",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32231.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32231"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32232 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32232/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32232/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32232/events | https://github.com/pandas-dev/pandas/pull/32232 | 570,292,846 | MDExOlB1bGxSZXF1ZXN0Mzc5MzUwMzA5 | 32,232 | use ExtensionIndex._concat_same_dtype | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "6138b5",
"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-02-25T03:49:29Z | 2020-02-26T02:35:19Z | 2020-02-26T02:31:37Z | MEMBER | null | DatetimelikeIndex._concat_same_dtpye is identical to ExtensionIndex version, so re-use that. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32232/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32232/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32232.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32232",
"merged_at": "2020-02-26T02:31:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32232.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32232"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32233 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32233/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32233/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32233/events | https://github.com/pandas-dev/pandas/issues/32233 | 570,302,383 | MDU6SXNzdWU1NzAzMDIzODM= | 32,233 | [FEATURE] Ability to pass regex module flags in DataFrame.replace while regex=True | {
"avatar_url": "https://avatars.githubusercontent.com/u/21088161?v=4",
"events_url": "https://api.github.com/users/vishnu-dev/events{/privacy}",
"followers_url": "https://api.github.com/users/vishnu-dev/followers",
"following_url": "https://api.github.com/users/vishnu-dev/following{/other_user}",
"gists_url": "https://api.github.com/users/vishnu-dev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/vishnu-dev",
"id": 21088161,
"login": "vishnu-dev",
"node_id": "MDQ6VXNlcjIxMDg4MTYx",
"organizations_url": "https://api.github.com/users/vishnu-dev/orgs",
"received_events_url": "https://api.github.com/users/vishnu-dev/received_events",
"repos_url": "https://api.github.com/users/vishnu-dev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/vishnu-dev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vishnu-dev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/vishnu-dev"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "String e... | open | false | null | [] | null | 1 | 2020-02-25T04:24:08Z | 2020-09-01T22:51:52Z | null | NONE | null | #### Code Sample
```python
# For ignoring case, I have to explicitly change the regex
replace_map = {
'[Q|q]uick[P|p]ay with [Z|z]elle payment to ': 'Payment to',
'[Q|q]uick[P|p]ay with [Z|z]elle payment from ': 'Payment from'
}
df.replace({'title': replace_map}, regex=True, inplace=True)
```
#### Problem description
According to [pandas docs](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.replace.html) for `DataFrame.replace` the replace has ability to take regex input, but doesn't have the ability to take in regex flags such as `re.I` or `re.IGNORECASE` for case insensitive search. Can we have a flags argument to take in regex module flags as input.
#### Expected Output
```python
replace_map = {
'QuickPay with Zelle payment to ': 'Payment to',
'QuickPay with Zelle payment from ': 'Payment from'
}
# Can't we include flags as argument?
df.replace({'title': replace_map}, regex=True, inplace=True, flags=re.I)
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32233/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32233/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32234 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32234/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32234/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32234/events | https://github.com/pandas-dev/pandas/issues/32234 | 570,381,519 | MDU6SXNzdWU1NzAzODE1MTk= | 32,234 | Using scipy's entropy function with "string" dtype | {
"avatar_url": "https://avatars.githubusercontent.com/u/23078199?v=4",
"events_url": "https://api.github.com/users/SylvainLan/events{/privacy}",
"followers_url": "https://api.github.com/users/SylvainLan/followers",
"following_url": "https://api.github.com/users/SylvainLan/following{/other_user}",
"gists_url": "https://api.github.com/users/SylvainLan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SylvainLan",
"id": 23078199,
"login": "SylvainLan",
"node_id": "MDQ6VXNlcjIzMDc4MTk5",
"organizations_url": "https://api.github.com/users/SylvainLan/orgs",
"received_events_url": "https://api.github.com/users/SylvainLan/received_events",
"repos_url": "https://api.github.com/users/SylvainLan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SylvainLan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SylvainLan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SylvainLan"
} | [
{
"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": "String extension data ty... | open | false | null | [] | null | 3 | 2020-02-25T08:01:03Z | 2021-07-29T04:39:01Z | null | CONTRIBUTOR | null | Hello,
I calculate entropies of real valued random variables thanks to `pandas` and `scipy.stats`. For some practical reason, I bin my df's values with `pd.cut` and the `labels` I assign to these binned valued has to be a string. I wanted to use the new "string" dtype introduced in 1.0.0, but there seems to be an issue, here is a code sample :
```
import pandas as pd
import numpy as np
from scipy.stats import entropy
df = pd.DataFrame({'val': np.random.rand(1000)})
bins = np.linspace(0, 1, 11)
labels = [str(int(10*i)) for i in bins[:-1]]
df['bin_val'] = pd.cut(df['val'], bins=bins, labels=labels)
# This works
print(entropy(df['bin_val'].value_counts()))
df['bin_val'] = df['bin_val'].astype("string")
# This raises an error
print(entropy(df['bin_val'].value_counts()))
```
The error raised is `TypeError: ufunc 'entr' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32234/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32234/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32235 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32235/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32235/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32235/events | https://github.com/pandas-dev/pandas/pull/32235 | 570,462,317 | MDExOlB1bGxSZXF1ZXN0Mzc5NDkwMTI2 | 32,235 | Fix exception causes in 14 modules | {
"avatar_url": "https://avatars.githubusercontent.com/u/56778?v=4",
"events_url": "https://api.github.com/users/cool-RR/events{/privacy}",
"followers_url": "https://api.github.com/users/cool-RR/followers",
"following_url": "https://api.github.com/users/cool-RR/following{/other_user}",
"gists_url": "https://api.github.com/users/cool-RR/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cool-RR",
"id": 56778,
"login": "cool-RR",
"node_id": "MDQ6VXNlcjU2Nzc4",
"organizations_url": "https://api.github.com/users/cool-RR/orgs",
"received_events_url": "https://api.github.com/users/cool-RR/received_events",
"repos_url": "https://api.github.com/users/cool-RR/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cool-RR/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cool-RR/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cool-RR"
} | [
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 4 | 2020-02-25T10:21:12Z | 2020-02-26T12:45:32Z | 2020-02-26T12:44:51Z | CONTRIBUTOR | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32235/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32235/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32235.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32235",
"merged_at": "2020-02-26T12:44:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32235.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32235"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32236 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32236/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32236/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32236/events | https://github.com/pandas-dev/pandas/pull/32236 | 570,501,889 | MDExOlB1bGxSZXF1ZXN0Mzc5NTIzOTA2 | 32,236 | Added message to pytest raises for test_constructor_dict | {
"avatar_url": "https://avatars.githubusercontent.com/u/24456081?v=4",
"events_url": "https://api.github.com/users/Dom-L-G/events{/privacy}",
"followers_url": "https://api.github.com/users/Dom-L-G/followers",
"following_url": "https://api.github.com/users/Dom-L-G/following{/other_user}",
"gists_url": "https://api.github.com/users/Dom-L-G/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Dom-L-G",
"id": 24456081,
"login": "Dom-L-G",
"node_id": "MDQ6VXNlcjI0NDU2MDgx",
"organizations_url": "https://api.github.com/users/Dom-L-G/orgs",
"received_events_url": "https://api.github.com/users/Dom-L-G/received_events",
"repos_url": "https://api.github.com/users/Dom-L-G/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Dom-L-G/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Dom-L-G/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Dom-L-G"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 2 | 2020-02-25T11:26:39Z | 2020-02-26T12:43:58Z | 2020-02-26T12:43:54Z | CONTRIBUTOR | null | - [x] ref #30999
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] added message to pytest.raises for test_constructor_dict
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32236/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32236/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32236.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32236",
"merged_at": "2020-02-26T12:43:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32236.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32236"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32237 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32237/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32237/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32237/events | https://github.com/pandas-dev/pandas/pull/32237 | 570,513,038 | MDExOlB1bGxSZXF1ZXN0Mzc5NTMzMTAz | 32,237 | travis: enable bionic & multi-cpu testing | {
"avatar_url": "https://avatars.githubusercontent.com/u/19779?v=4",
"events_url": "https://api.github.com/users/xnox/events{/privacy}",
"followers_url": "https://api.github.com/users/xnox/followers",
"following_url": "https://api.github.com/users/xnox/following{/other_user}",
"gists_url": "https://api.github.com/users/xnox/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/xnox",
"id": 19779,
"login": "xnox",
"node_id": "MDQ6VXNlcjE5Nzc5",
"organizations_url": "https://api.github.com/users/xnox/orgs",
"received_events_url": "https://api.github.com/users/xnox/received_events",
"repos_url": "https://api.github.com/users/xnox/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/xnox/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xnox/subscriptions",
"type": "User",
"url": "https://api.github.com/users/xnox"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | null | 7 | 2020-02-25T11:46:40Z | 2020-03-15T00:56:51Z | 2020-03-15T00:56:51Z | NONE | null | - [x] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32237/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32237/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32237.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32237",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32237.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32237"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32238 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32238/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32238/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32238/events | https://github.com/pandas-dev/pandas/issues/32238 | 570,559,679 | MDU6SXNzdWU1NzA1NTk2Nzk= | 32,238 | read_excel with xlsb | {
"avatar_url": "https://avatars.githubusercontent.com/u/44175527?v=4",
"events_url": "https://api.github.com/users/ShayHa/events{/privacy}",
"followers_url": "https://api.github.com/users/ShayHa/followers",
"following_url": "https://api.github.com/users/ShayHa/following{/other_user}",
"gists_url": "https://api.github.com/users/ShayHa/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShayHa",
"id": 44175527,
"login": "ShayHa",
"node_id": "MDQ6VXNlcjQ0MTc1NTI3",
"organizations_url": "https://api.github.com/users/ShayHa/orgs",
"received_events_url": "https://api.github.com/users/ShayHa/received_events",
"repos_url": "https://api.github.com/users/ShayHa/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShayHa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShayHa/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShayHa"
} | [
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
}
] | closed | false | null | [] | null | 2 | 2020-02-25T13:12:05Z | 2020-03-11T10:24:26Z | 2020-03-11T10:24:26Z | NONE | null |
```python
df = pd.read_excel()
```
As it been said in the new docs that read_excel can now read xlsb, I tried to run my xlsb file and still got and error.
```
Supports xls, xlsx, xlsm, xlsb, and odf file extensions read from a local filesystem or URL. Supports an option to read a single sheet or a list of sheets.
```
#### Expected Output
A working df.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.9.final.0
python-bits : 64
OS : Linux
OS-release : 4.14.137+
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.1
numpy : 1.17.5
pytz : 2018.9
dateutil : 2.6.1
pip : 19.3.1
setuptools : 45.1.0
Cython : 0.29.15
pytest : 3.6.4
hypothesis : None
sphinx : 1.8.5
blosc : None
feather : 0.4.0
xlsxwriter : None
lxml.etree : 4.2.6
html5lib : 1.0.1
pymysql : None
psycopg2 : 2.7.6.1 (dt dec pq3 ext lo64)
jinja2 : 2.11.1
IPython : 5.5.0
pandas_datareader: None
bs4 : 4.6.3
bottleneck : 1.3.1
fastparquet : None
gcsfs : None
lxml.etree : 4.2.6
matplotlib : 3.1.3
numexpr : 2.7.1
odfpy : None
openpyxl : 2.5.9
pandas_gbq : 0.11.0
pyarrow : 0.14.1
pytables : None
pytest : 3.6.4
pyxlsb : None
s3fs : 0.4.0
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : 3.4.4
tabulate : 0.8.6
xarray : 0.14.1
xlrd : 1.1.0
xlwt : 1.3.0
xlsxwriter : None
numba : 0.47.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/32238/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32238/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32239 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32239/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32239/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32239/events | https://github.com/pandas-dev/pandas/issues/32239 | 570,611,531 | MDU6SXNzdWU1NzA2MTE1MzE= | 32,239 | Creating lag windows in pandas is slow for large dataset | {
"avatar_url": "https://avatars.githubusercontent.com/u/33640392?v=4",
"events_url": "https://api.github.com/users/ankurrajdev/events{/privacy}",
"followers_url": "https://api.github.com/users/ankurrajdev/followers",
"following_url": "https://api.github.com/users/ankurrajdev/following{/other_user}",
"gists_url": "https://api.github.com/users/ankurrajdev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ankurrajdev",
"id": 33640392,
"login": "ankurrajdev",
"node_id": "MDQ6VXNlcjMzNjQwMzky",
"organizations_url": "https://api.github.com/users/ankurrajdev/orgs",
"received_events_url": "https://api.github.com/users/ankurrajdev/received_events",
"repos_url": "https://api.github.com/users/ankurrajdev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ankurrajdev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ankurrajdev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ankurrajdev"
} | [] | closed | false | null | [] | null | 2 | 2020-02-25T14:31:58Z | 2020-02-25T15:56:37Z | 2020-02-25T15:27:59Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
# Your code here
for lag in [2, 3, 7, 15, 21]:
df_tmp.set_index("date")
.groupby("group")
.resample("D")
.sum()
.groupby("group")
.shift()
.reset_index()
.fillna(0)
.groupby("group")
.rolling(f"{lag}D", on="date")
.agg(self.funcs)[self.cols]
```
I want to add sum_click_last2days, mean_click_last2days, sum_click_last4days, mean_click_last4days and so on depending on columns, functions and lag windows passed.
Here last n days mean rolling sum till last day. Hence, if we are running on 10th, we would want sum for 8th and 9th.
This is working fine for smaller dataset but is not efficient for a large dataset( 19M and there are 700K groups)
#### Problem description
This is working fine for smaller dataset but is not efficient for a large dataset( 19M and there are 700K groups)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32239/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32239/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32240 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32240/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32240/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32240/events | https://github.com/pandas-dev/pandas/issues/32240 | 570,671,758 | MDU6SXNzdWU1NzA2NzE3NTg= | 32,240 | NamedAgg with as_index= False drops aggregated values | {
"avatar_url": "https://avatars.githubusercontent.com/u/13164365?v=4",
"events_url": "https://api.github.com/users/RaghavaDhanya/events{/privacy}",
"followers_url": "https://api.github.com/users/RaghavaDhanya/followers",
"following_url": "https://api.github.com/users/RaghavaDhanya/following{/other_user}",
"gists_url": "https://api.github.com/users/RaghavaDhanya/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/RaghavaDhanya",
"id": 13164365,
"login": "RaghavaDhanya",
"node_id": "MDQ6VXNlcjEzMTY0MzY1",
"organizations_url": "https://api.github.com/users/RaghavaDhanya/orgs",
"received_events_url": "https://api.github.com/users/RaghavaDhanya/received_events",
"repos_url": "https://api.github.com/users/RaghavaDhanya/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/RaghavaDhanya/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RaghavaDhanya/subscriptions",
"type": "User",
"url": "https://api.github.com/users/RaghavaDhanya"
} | [
{
"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,
... | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 0 | 2020-02-25T15:56:42Z | 2020-07-15T22:19:13Z | 2020-07-15T22:19:13Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
file_name = "https://raw.githubusercontent.com/uiuc-cse/data-fa14/gh-pages/data/iris.csv"
df = pd.read_csv(file_name)
df[['species','petal_width']].groupby('species', as_index=False).agg(min_width=pd.NamedAgg(column='petal_width', aggfunc='min'))
```
#### Problem description
When I try to use `as_index=False`with named aggregations it seems to be dropping values and replacing them with index. This is the output of the above code.
| | min_width |
|---:|:------------|
| 0 | setosa |
| 1 | versicolor |
| 2 | virginica |
#### Expected Output
| | species | min_width |
|---:|:-----------|--------------:|
| 0 | setosa | 0.1 |
| 1 | versicolor | 1 |
| 2 | virginica | 1.4 |
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.3.final.0
python-bits : 64
OS : Linux
OS-release : 4.14.138+
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.1
numpy : 1.16.4
pytz : 2019.1
dateutil : 2.8.0
pip : 19.1
setuptools : 41.0.1
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.5.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.1
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.3.0
sqlalchemy : 1.3.4
tables : None
tabulate : None
xarray : 0.12.2
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
```
</details>
| {
"+1": 6,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 6,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32240/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32240/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32241 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32241/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32241/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32241/events | https://github.com/pandas-dev/pandas/pull/32241 | 570,705,062 | MDExOlB1bGxSZXF1ZXN0Mzc5Njk2MDI4 | 32,241 | CI: troubleshoot 32bit build | {
"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-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
} | 5 | 2020-02-25T16:57:42Z | 2021-11-20T23:21:51Z | 2020-02-25T18:47:35Z | MEMBER | null | closes #32229 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32241/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32241/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32241.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32241",
"merged_at": "2020-02-25T18:47:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32241.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32241"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32242 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32242/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32242/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32242/events | https://github.com/pandas-dev/pandas/pull/32242 | 570,732,480 | MDExOlB1bGxSZXF1ZXN0Mzc5NzE4Mjg0 | 32,242 | BUG: Fixed bug, where pandas._libs.lib.maybe_convert_objects function improperly handled arrays with bools and NaNs | {
"avatar_url": "https://avatars.githubusercontent.com/u/40292327?v=4",
"events_url": "https://api.github.com/users/AnnaDaglis/events{/privacy}",
"followers_url": "https://api.github.com/users/AnnaDaglis/followers",
"following_url": "https://api.github.com/users/AnnaDaglis/following{/other_user}",
"gists_url": "https://api.github.com/users/AnnaDaglis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AnnaDaglis",
"id": 40292327,
"login": "AnnaDaglis",
"node_id": "MDQ6VXNlcjQwMjkyMzI3",
"organizations_url": "https://api.github.com/users/AnnaDaglis/orgs",
"received_events_url": "https://api.github.com/users/AnnaDaglis/received_events",
"repos_url": "https://api.github.com/users/AnnaDaglis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AnnaDaglis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AnnaDaglis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AnnaDaglis"
} | [
{
"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-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
} | 5 | 2020-02-25T17:42:41Z | 2020-03-09T19:17:42Z | 2020-03-09T15:42:17Z | CONTRIBUTOR | null | - [x] closes #32146
- [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/32242/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32242/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32242.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32242",
"merged_at": "2020-03-09T15:42:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32242.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32242"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32243 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32243/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32243/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32243/events | https://github.com/pandas-dev/pandas/issues/32243 | 570,746,888 | MDU6SXNzdWU1NzA3NDY4ODg= | 32,243 | Convert style object to DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/26003054?v=4",
"events_url": "https://api.github.com/users/m2rik/events{/privacy}",
"followers_url": "https://api.github.com/users/m2rik/followers",
"following_url": "https://api.github.com/users/m2rik/following{/other_user}",
"gists_url": "https://api.github.com/users/m2rik/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/m2rik",
"id": 26003054,
"login": "m2rik",
"node_id": "MDQ6VXNlcjI2MDAzMDU0",
"organizations_url": "https://api.github.com/users/m2rik/orgs",
"received_events_url": "https://api.github.com/users/m2rik/received_events",
"repos_url": "https://api.github.com/users/m2rik/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/m2rik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/m2rik/subscriptions",
"type": "User",
"url": "https://api.github.com/users/m2rik"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "006b75",
"default": false,
"descript... | closed | false | null | [] | null | 1 | 2020-02-25T18:22:08Z | 2021-02-10T20:33:43Z | 2021-02-10T20:33:42Z | NONE | null |
```python
# Your code here
df.style.hide_index()
```
#### Problem description
How do I convert a Style object back to a dataframe to be outputted by nbconvert as a latex file or pdf
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32243/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32243/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32244 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32244/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32244/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32244/events | https://github.com/pandas-dev/pandas/pull/32244 | 570,751,816 | MDExOlB1bGxSZXF1ZXN0Mzc5NzM0MTQy | 32,244 | CLN: simplify+annotate _shallow_copy | {
"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": "d4c5f9",
"default": false,
"description": "Series/DataF... | 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-02-25T18:31:38Z | 2020-02-26T02:17:31Z | 2020-02-26T02:10:40Z | MEMBER | null | IntervalIndex is still an outlier, will be handled separately | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32244/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32244/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32244.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32244",
"merged_at": "2020-02-26T02:10:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32244.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32244"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32245 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32245/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32245/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32245/events | https://github.com/pandas-dev/pandas/pull/32245 | 570,760,290 | MDExOlB1bGxSZXF1ZXN0Mzc5NzQxMTM0 | 32,245 | Backport PR #32241 on branch 1.0.x (CI: troubleshoot 32bit build) | {
"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": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
} | 0 | 2020-02-25T18:48:04Z | 2020-02-26T12:37:30Z | 2020-02-25T19:52:54Z | NONE | null | Backport PR #32241: CI: troubleshoot 32bit build | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32245/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32245/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32245.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32245",
"merged_at": "2020-02-25T19:52:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32245.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32245"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32246 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32246/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32246/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32246/events | https://github.com/pandas-dev/pandas/issues/32246 | 570,782,807 | MDU6SXNzdWU1NzA3ODI4MDc= | 32,246 | web site unwanted message | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "23ef97",
"default": false,
"description": "pandas website",
"id": 1508144531,
"name": "Web",
"node_id": "MDU6TGFiZWwxNTA4MTQ0NTMx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Web"
}
] | closed | false | null | [] | null | 1 | 2020-02-25T19:30:16Z | 2020-02-27T10:55:57Z | 2020-02-27T10:55:57Z | 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/32246/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32246/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32247 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32247/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32247/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32247/events | https://github.com/pandas-dev/pandas/pull/32247 | 570,795,665 | MDExOlB1bGxSZXF1ZXN0Mzc5NzcwMzQ4 | 32,247 | REF: simplify IntervalIndex/IntervalArray _shallow_copy | {
"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": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 2 | 2020-02-25T19:54:31Z | 2020-02-26T04:08:01Z | 2020-02-26T03:59:06Z | MEMBER | null | xref #32244 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32247/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32247/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32247.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32247",
"merged_at": "2020-02-26T03:59:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32247.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32247"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32248 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32248/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32248/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32248/events | https://github.com/pandas-dev/pandas/pull/32248 | 570,847,545 | MDExOlB1bGxSZXF1ZXN0Mzc5ODEzODk1 | 32,248 | REF: method-specific file for to_timestamp | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 1 | 2020-02-25T21:33:11Z | 2020-02-26T02:04:08Z | 2020-02-26T02:03:30Z | MEMBER | null | cc @MomIsBestFriend this is the only test we have for DataFrame.to_timestamp, but it was apparently written before the convention of "small, focused tests" took hold. It would be helpful if this could be split/modernized. | {
"+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/32248/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32248/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32248.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32248",
"merged_at": "2020-02-26T02:03:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32248.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32248"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32249 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32249/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32249/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32249/events | https://github.com/pandas-dev/pandas/issues/32249 | 570,848,108 | MDU6SXNzdWU1NzA4NDgxMDg= | 32,249 | Deserialization with pyarrow fails for certain Timestamp-based data frame | {
"avatar_url": "https://avatars.githubusercontent.com/u/6169306?v=4",
"events_url": "https://api.github.com/users/fuglede/events{/privacy}",
"followers_url": "https://api.github.com/users/fuglede/followers",
"following_url": "https://api.github.com/users/fuglede/following{/other_user}",
"gists_url": "https://api.github.com/users/fuglede/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/fuglede",
"id": 6169306,
"login": "fuglede",
"node_id": "MDQ6VXNlcjYxNjkzMDY=",
"organizations_url": "https://api.github.com/users/fuglede/orgs",
"received_events_url": "https://api.github.com/users/fuglede/received_events",
"repos_url": "https://api.github.com/users/fuglede/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/fuglede/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fuglede/subscriptions",
"type": "User",
"url": "https://api.github.com/users/fuglede"
} | [] | closed | false | null | [] | null | 2 | 2020-02-25T21:34:11Z | 2020-02-26T08:37:12Z | 2020-02-25T22:21:55Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
import pyarrow as pa
df = pd.DataFrame([{'Minutes5UTC': '2020-02-25T21:15:00+00:00', 'Minutes5DK': '2020-02-25T22:15:00'}])
df['Minutes5DK'] = pd.to_datetime(df.Minutes5DK)
df['Minutes5UTC'] = pd.to_datetime(df.Minutes5UTC)
context = pa.default_serialization_context()
pa.deserialize(pa.serialize(df).to_buffer().to_pybytes())
```
#### Problem description
When following the [procedure outlined here](https://stackoverflow.com/a/57986261/5085211) to use `pyarrow` to serialize/deserialize data frames, the above example fails with the following traceback:
```
--------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-9-6f75cc47c6d5> in <module>
----> 1 pa.deserialize(pa.serialize(df).to_buffer().to_pybytes())
~/miniconda3/envs/emission/lib/python3.8/site-packages/pyarrow/serialization.pxi in pyarrow.lib.deserialize()
~/miniconda3/envs/emission/lib/python3.8/site-packages/pyarrow/serialization.pxi in pyarrow.lib.deserialize_from()
~/miniconda3/envs/emission/lib/python3.8/site-packages/pyarrow/serialization.pxi in pyarrow.lib.SerializedPyObject.deserialize()
~/miniconda3/envs/emission/lib/python3.8/site-packages/pyarrow/serialization.pxi in pyarrow.lib.SerializationContext._deserialize_callback()
~/miniconda3/envs/emission/lib/python3.8/site-packages/pyarrow/serialization.py in _deserialize_pandas_dataframe(data)
167
168 def _deserialize_pandas_dataframe(data):
--> 169 return pdcompat.serialized_dict_to_dataframe(data)
170
171 def _serialize_pandas_series(obj):
~/miniconda3/envs/emission/lib/python3.8/site-packages/pyarrow/pandas_compat.py in serialized_dict_to_dataframe(data)
661 def serialized_dict_to_dataframe(data):
662 import pandas.core.internals as _int
--> 663 reconstructed_blocks = [_reconstruct_block(block)
664 for block in data['blocks']]
665
~/miniconda3/envs/emission/lib/python3.8/site-packages/pyarrow/pandas_compat.py in <listcomp>(.0)
661 def serialized_dict_to_dataframe(data):
662 import pandas.core.internals as _int
--> 663 reconstructed_blocks = [_reconstruct_block(block)
664 for block in data['blocks']]
665
~/miniconda3/envs/emission/lib/python3.8/site-packages/pyarrow/pandas_compat.py in _reconstruct_block(item, columns, extension_columns)
707 klass=_int.CategoricalBlock)
708 elif 'timezone' in item:
--> 709 dtype = make_datetimetz(item['timezone'])
710 block = _int.make_block(block_arr, placement=placement,
711 klass=_int.DatetimeTZBlock,
~/miniconda3/envs/emission/lib/python3.8/site-packages/pyarrow/pandas_compat.py in make_datetimetz(tz)
734 def make_datetimetz(tz):
735 tz = pa.lib.string_to_tzinfo(tz)
--> 736 return _pandas_api.datetimetz_type('ns', tz=tz)
737
738
TypeError: 'NoneType' object is not callable
```
Perhaps interestingly, if I comment out the two `pd.to_datetime` lines, the thing works (perhaps unsurprisingly), but if I then include them again, the original reproducing example all of a sudden works. That is, this works:
```python
import pandas as pd
import pyarrow as pa
df = pd.DataFrame([{'Minutes5UTC': '2020-02-25T21:15:00+00:00', 'Minutes5DK': '2020-02-25T22:15:00'}])
context = pa.default_serialization_context()
pa.deserialize(pa.serialize(df).to_buffer().to_pybytes())
df = pd.DataFrame([{'Minutes5UTC': '2020-02-25T21:15:00+00:00', 'Minutes5DK': '2020-02-25T22:15:00'}])
df['Minutes5DK'] = pd.to_datetime(df.Minutes5DK)
df['Minutes5UTC'] = pd.to_datetime(df.Minutes5UTC)
context = pa.default_serialization_context()
pa.deserialize(pa.serialize(df).to_buffer().to_pybytes())
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.1.final.0
python-bits : 64
OS : Linux
OS-release : 4.9.0-11-amd64
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.2.0.post20200210
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32249/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32249/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32250 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32250/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32250/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32250/events | https://github.com/pandas-dev/pandas/pull/32250 | 570,851,428 | MDExOlB1bGxSZXF1ZXN0Mzc5ODE3MDky | 32,250 | TST: method-specific file for select_dtypes | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 1 | 2020-02-25T21:40:07Z | 2020-02-26T02:03:42Z | 2020-02-26T02:00:50Z | 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/32250/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32250/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32250.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32250",
"merged_at": "2020-02-26T02:00:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32250.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32250"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/32251 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32251/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32251/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32251/events | https://github.com/pandas-dev/pandas/issues/32251 | 570,858,535 | MDU6SXNzdWU1NzA4NTg1MzU= | 32,251 | pandas.tseries.offsets.CustomBusinessDay apply_index implementation | {
"avatar_url": "https://avatars.githubusercontent.com/u/9064408?v=4",
"events_url": "https://api.github.com/users/gaibo/events{/privacy}",
"followers_url": "https://api.github.com/users/gaibo/followers",
"following_url": "https://api.github.com/users/gaibo/following{/other_user}",
"gists_url": "https://api.github.com/users/gaibo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gaibo",
"id": 9064408,
"login": "gaibo",
"node_id": "MDQ6VXNlcjkwNjQ0MDg=",
"organizations_url": "https://api.github.com/users/gaibo/orgs",
"received_events_url": "https://api.github.com/users/gaibo/received_events",
"repos_url": "https://api.github.com/users/gaibo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gaibo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gaibo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gaibo"
} | [
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
] | closed | false | null | [] | null | 3 | 2020-02-25T21:52:23Z | 2020-03-23T01:11:45Z | 2020-03-23T01:11:45Z | CONTRIBUTOR | null | #### Code Sample
Hi there, I'm trying to do something like this:
```python
BUSDAY_OFFSET = pd.offsets.CustomBusinessDay(calendar=MY_HOLIDAY_CALENDAR)
my_rollback = pd.date_range('2010-05-10', '2020-02-25') + BUSDAY_OFFSET - BUSDAY_OFFSET
```
and I am getting the following warning:
```
C:\Users\my_username\AppData\Local\Continuum\anaconda3\lib\site-packages\pandas\core\arrays\datetimes.py:743: PerformanceWarning: Non-vectorized DateOffset being applied to Series or DatetimeIndex
"or DatetimeIndex", PerformanceWarning)
```
#### Problem description
The custom business day non-vectorized addition/subtraction works, but when performed on the order of millions of dates (ridiculous because I could take out duplicate dates, I know, but it was my original use case), it takes a non-trivial amount of time, whereas `` pd.offsets.Day()`` can be added and subtracted in trivial time.
I checked _datetimes.py_ and CustomBusinessDay's apply_index() method is not implemented, and it is not clear from any indication whether that's intended (as in, the user should override it?) or not. [The doc page is here](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.tseries.offsets.CustomBusinessDay.apply_index.html#pandas.tseries.offsets.CustomBusinessDay.apply_index).
Can anyone familiar with CustomBusinessDay's structure comment on whether there can be a simple fix?
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.7.3.final.0
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.24.2
pytest: 5.0.1
pip: 19.1.1
setuptools: 41.0.1
Cython: 0.29.12
numpy: 1.16.4
scipy: 1.2.1
pyarrow: None
xarray: None
IPython: 7.6.1
sphinx: 2.1.2
patsy: 0.5.1
dateutil: 2.8.0
pytz: 2019.1
blosc: None
bottleneck: 1.2.1
tables: 3.5.2
numexpr: 2.6.9
feather: None
matplotlib: 3.1.0
openpyxl: 2.6.2
xlrd: 1.2.0
xlwt: 1.3.0
xlsxwriter: 1.1.8
lxml.etree: 4.3.4
bs4: 4.7.1
html5lib: 1.0.1
sqlalchemy: 1.3.5
pymysql: None
psycopg2: None
jinja2: 2.10.1
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
gcsfs: 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/32251/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32251/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32252 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32252/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32252/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32252/events | https://github.com/pandas-dev/pandas/pull/32252 | 570,863,211 | MDExOlB1bGxSZXF1ZXN0Mzc5ODI2Nzky | 32,252 | (wip) BUG: itertuples was retuning empty list if frame had no columns | {
"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 | 2 | 2020-02-25T22:01:03Z | 2020-10-10T14:14:57Z | 2020-04-02T00:06:25Z | MEMBER | null | (currently not right)
- [ ] closes #25408
- [ ] 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/32252/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32252/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32252.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32252",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32252.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32252"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32253 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32253/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32253/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32253/events | https://github.com/pandas-dev/pandas/pull/32253 | 570,926,457 | MDExOlB1bGxSZXF1ZXN0Mzc5ODgzNDQ2 | 32,253 | TST: method-specific file for combine | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 1 | 2020-02-25T23:43:02Z | 2020-02-26T02:02:57Z | 2020-02-26T02:01:47Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32253/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32253/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32253.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32253",
"merged_at": "2020-02-26T02:01:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32253.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32253"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/32254 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32254/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32254/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32254/events | https://github.com/pandas-dev/pandas/pull/32254 | 570,932,785 | MDExOlB1bGxSZXF1ZXN0Mzc5ODg5MTA2 | 32,254 | REF: move misplaced Series.append tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 1 | 2020-02-25T23:53:10Z | 2020-02-26T02:04:46Z | 2020-02-26T02:02:42Z | 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/32254/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32254/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32254.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32254",
"merged_at": "2020-02-26T02:02:42Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32254.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32254"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/32255 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32255/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32255/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32255/events | https://github.com/pandas-dev/pandas/pull/32255 | 570,945,522 | MDExOlB1bGxSZXF1ZXN0Mzc5OTAwNTc2 | 32,255 | Implement __array__ on ExtensionIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
},
{
"color": "e... | 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-02-26T00:13:48Z | 2020-03-07T15:18:39Z | 2020-03-07T11:26:55Z | 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/32255/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32255/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32255.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32255",
"merged_at": "2020-03-07T11:26:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32255.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32255"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/32256 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32256/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32256/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32256/events | https://github.com/pandas-dev/pandas/pull/32256 | 570,955,380 | MDExOlB1bGxSZXF1ZXN0Mzc5OTA5NTQz | 32,256 | CLN tests.generic | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 1 | 2020-02-26T00:28:31Z | 2020-02-26T02:06:31Z | 2020-02-26T02:06:06Z | MEMBER | null | Some of this is commented out or otherwise unneeded, other parts belong in test_internals. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32256/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32256/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32256.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32256",
"merged_at": "2020-02-26T02:06:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32256.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32256"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32257 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32257/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32257/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32257/events | https://github.com/pandas-dev/pandas/pull/32257 | 571,010,955 | MDExOlB1bGxSZXF1ZXN0Mzc5OTU5NzM5 | 32,257 | PERF: pass through to numpy validation for iloc setitem | {
"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": "a1... | 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-02-26T02:00:45Z | 2020-02-27T14:55:30Z | 2020-02-27T12:52:36Z | MEMBER | null | We lose a little bit of ground on the range and slice (not really sure why), pick up a bigger amount of ground on list or ndarray.
```
In [3]: ser = pd.Series(range(10**5))
In [4]: key = range(100, 200)
In [5]: key2 = list(key)
In [6]: key3 = slice(100, 200)
In [7]: key4 = np.array(key2)
In [16]: %timeit ser.iloc[key] = 1
56.3 µs ± 1.19 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- master
62.9 µs ± 1.77 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- PR
In [17]: %timeit ser.iloc[key2] = 1
95.6 µs ± 2.69 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- master
55.6 µs ± 922 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- PR
In [20]: %timeit ser.iloc[key3] = 1
49 µs ± 756 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- master
50.6 µs ± 1.01 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- PR
In [21]: %timeit ser.iloc[key4] = 1
71.6 µs ± 1.98 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) # <-- master
45.7 µs ± 427 ns per loop (mean ± std. dev. of 7 runs, 10000 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/32257/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32257/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32257.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32257",
"merged_at": "2020-02-27T12:52:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32257.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32257"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32258 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32258/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32258/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32258/events | https://github.com/pandas-dev/pandas/pull/32258 | 571,018,150 | MDExOlB1bGxSZXF1ZXN0Mzc5OTY2MDY0 | 32,258 | TST: broken off from #32187 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 4 | 2020-02-26T02:13:12Z | 2020-03-03T01:59:38Z | 2020-03-03T01:56:51Z | MEMBER | null | troubleshooting an apparently-unrelated Travis failure there | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32258/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32258/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32258.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32258",
"merged_at": "2020-03-03T01:56:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32258.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32258"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32259 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32259/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32259/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32259/events | https://github.com/pandas-dev/pandas/issues/32259 | 571,034,786 | MDU6SXNzdWU1NzEwMzQ3ODY= | 32,259 | Bug: groupby with sort=False creates buggy MultiIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/6195346?v=4",
"events_url": "https://api.github.com/users/xin-jin/events{/privacy}",
"followers_url": "https://api.github.com/users/xin-jin/followers",
"following_url": "https://api.github.com/users/xin-jin/following{/other_user}",
"gists_url": "https://api.github.com/users/xin-jin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/xin-jin",
"id": 6195346,
"login": "xin-jin",
"node_id": "MDQ6VXNlcjYxOTUzNDY=",
"organizations_url": "https://api.github.com/users/xin-jin/orgs",
"received_events_url": "https://api.github.com/users/xin-jin/received_events",
"repos_url": "https://api.github.com/users/xin-jin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/xin-jin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xin-jin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/xin-jin"
} | [
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": ... | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 8 | 2020-02-26T02:58:14Z | 2021-01-04T00:15:57Z | 2021-01-04T00:15:57Z | NONE | null | ```python
d = pd.to_datetime(['2020-11-02', '2019-01-02', '2020-01-02', '2020-02-04', '2020-11-03', '2019-11-03', '2019-11-13', '2019-11-13'])
a = np.arange(len(d))
b = np.random.rand(len(d))
df = pd.DataFrame({'d': d, 'a': a, 'b': b})
t = df.groupby(['d', 'a'], sort=False).mean()
```
The index of `t` is certainly not sorted, but `t.index.is_lexsorted()` returns True.
Another more subtle example is
```python
d = [3,4,10,0,1,2,5,3]
a = np.arange(len(d))
b = np.random.rand(len(d))
df = pd.DataFrame({'d': d, 'a': a, 'b': b})
t = df.groupby(['d', 'a'], sort=False).mean()
```
This time the lexsort flag is correct. However, calling sortlevel will not sort the new MultiIndex correctly, that is, `t.index.sortlevel(['d', 'a'])[0]` returns
```
MultiIndex([( 3, 0),
( 3, 7),
( 4, 1),
(10, 2),
( 0, 3),
( 1, 4),
( 2, 5),
( 5, 6)],
names=['d', 'a'])
```
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.4.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-72-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.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.2.0.post20200210
Cython : 0.29.15
pytest : 5.3.5
hypothesis : 5.5.4
sphinx : 2.4.0
blosc : None
feather : None
xlsxwriter : 1.2.7
lxml.etree : 4.5.0
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: 0.8.1
bs4 : 4.8.2
bottleneck : 1.3.2
fastparquet : None
gcsfs : None
lxml.etree : 4.5.0
matplotlib : 3.1.3
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : 0.13.0
pytables : None
pytest : 5.3.5
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.7
numba : 0.45.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/32259/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32259/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32260 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32260/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32260/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32260/events | https://github.com/pandas-dev/pandas/pull/32260 | 571,049,024 | MDExOlB1bGxSZXF1ZXN0Mzc5OTkxNDM0 | 32,260 | CLN: remove dtype kwarg from _simple_new | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 1 | 2020-02-26T03:42:23Z | 2020-02-26T16:08:13Z | 2020-02-26T12:27:25Z | MEMBER | null | DatetimeIndex remains an outlier, upcoming 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/32260/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32260/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32260.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32260",
"merged_at": "2020-02-26T12:27:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32260.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32260"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32261 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32261/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32261/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32261/events | https://github.com/pandas-dev/pandas/pull/32261 | 571,070,120 | MDExOlB1bGxSZXF1ZXN0MzgwMDA4NDM5 | 32,261 | PERF: lazify blknos and blklocs | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "fbca04",
"default"... | 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-02-26T04:58:26Z | 2020-03-04T15:19:36Z | 2020-03-04T14:28:53Z | MEMBER | null | The benchmark I'm using for this is the same as for #32224, based on the asv that is most affected by removing `fast_apply` (see #32086)
```
import numpy as np
from pandas import *
%load_ext line_profiler
def get_df():
N = 10 ** 4
labels = np.random.randint(0, 2000, size=N)
labels2 = np.random.randint(0, 3, size=N)
df = DataFrame(
{
"key": labels,
"key2": labels2,
"value1": np.random.randn(N),
"value2": ["foo", "bar", "baz", "qux"] * (N // 4),
}
)
return df
df = get_df()
gb = df.groupby("key")
%prun -s cumulative gb.apply(lambda x: 1)
```
If we disable `fast_apply` on master, this gives:
```
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.207 0.207 groupby.py:701(apply)
1 0.000 0.000 0.207 0.207 groupby.py:750(_python_apply_general)
1 0.008 0.008 0.204 0.204 ops.py:151(apply)
1994 0.003 0.000 0.191 0.000 ops.py:858(__iter__)
1993 0.003 0.000 0.187 0.000 ops.py:889(_chop)
1993 0.003 0.000 0.184 0.000 indexing.py:814(__getitem__)
1993 0.001 0.000 0.180 0.000 indexing.py:1462(_getitem_axis)
1993 0.003 0.000 0.179 0.000 indexing.py:1488(_get_slice_axis)
1993 0.007 0.000 0.167 0.000 generic.py:3474(_slice)
1993 0.007 0.000 0.140 0.000 managers.py:713(get_slice)
1994 0.004 0.000 0.068 0.000 managers.py:125(__init__)
1994 0.027 0.000 0.059 0.000 managers.py:215(_rebuild_blknos_and_blklocs)
1993 0.002 0.000 0.050 0.000 managers.py:723(<listcomp>)
5979 0.010 0.000 0.048 0.000 blocks.py:310(getitem_block)
5983 0.003 0.000 0.033 0.000 blocks.py:275(make_block_same_class)
```
If we disable `fast_apply` on this PR:
```
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.136 0.136 groupby.py:701(apply)
1 0.000 0.000 0.136 0.136 groupby.py:750(_python_apply_general)
1 0.007 0.007 0.134 0.134 ops.py:151(apply)
1984 0.002 0.000 0.120 0.000 ops.py:903(__iter__)
1983 0.002 0.000 0.117 0.000 ops.py:934(_chop)
1983 0.003 0.000 0.114 0.000 indexing.py:814(__getitem__)
1983 0.001 0.000 0.110 0.000 indexing.py:1462(_getitem_axis)
1983 0.003 0.000 0.109 0.000 indexing.py:1488(_get_slice_axis)
1983 0.006 0.000 0.098 0.000 generic.py:3474(_slice)
1983 0.006 0.000 0.076 0.000 managers.py:742(get_slice)
1983 0.002 0.000 0.048 0.000 managers.py:752(<listcomp>)
5949 0.010 0.000 0.046 0.000 blocks.py:310(getitem_block)
5957 0.003 0.000 0.032 0.000 blocks.py:275(make_block_same_class)
5960 0.006 0.000 0.029 0.000 blocks.py:3023(make_block)
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32261/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32261/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32261.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32261",
"merged_at": "2020-03-04T14:28:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32261.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32261"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32262 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32262/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32262/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32262/events | https://github.com/pandas-dev/pandas/issues/32262 | 571,154,671 | MDU6SXNzdWU1NzExNTQ2NzE= | 32,262 | Rolling groupby should not maintain the by column in the resulting DataFrame | {
"avatar_url": "https://avatars.githubusercontent.com/u/29901736?v=4",
"events_url": "https://api.github.com/users/andreas-vester/events{/privacy}",
"followers_url": "https://api.github.com/users/andreas-vester/followers",
"following_url": "https://api.github.com/users/andreas-vester/following{/other_user}",
"gists_url": "https://api.github.com/users/andreas-vester/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/andreas-vester",
"id": 29901736,
"login": "andreas-vester",
"node_id": "MDQ6VXNlcjI5OTAxNzM2",
"organizations_url": "https://api.github.com/users/andreas-vester/orgs",
"received_events_url": "https://api.github.com/users/andreas-vester/received_events",
"repos_url": "https://api.github.com/users/andreas-vester/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/andreas-vester/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andreas-vester/subscriptions",
"type": "User",
"url": "https://api.github.com/users/andreas-vester"
} | [
{
"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,
... | closed | false | null | [] | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 6 | 2020-02-26T08:35:11Z | 2021-03-29T13:27:25Z | 2021-03-29T13:27:25Z | NONE | null | When performing a `rolling` operation on a `groupby` object, the index level will be incorrectly maintained in the dataframe.
```
import numpy as np
import pandas as pd
df = pd.DataFrame({'idx_L1': ['Level_1'] * 10 + ['Level_2'] * 10 + ['Level_3'] * 10,
'idx_L2': ([1] * 5 + [2] * 5 + [3] * 5) * 2,
'vals': np.arange(30)})
df.groupby(['idx_L1', 'idx_L2']).rolling(3).sum()
```
This issue has been discussed in #14013.
It has been closed eventhough the bug still exists in v1.01. | {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32262/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32262/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32263 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32263/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32263/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32263/events | https://github.com/pandas-dev/pandas/issues/32263 | 571,183,062 | MDU6SXNzdWU1NzExODMwNjI= | 32,263 | bug: inconsistent Series indexing crash, depending on DataFrame index type?? | {
"avatar_url": "https://avatars.githubusercontent.com/u/10172392?v=4",
"events_url": "https://api.github.com/users/xuancong84/events{/privacy}",
"followers_url": "https://api.github.com/users/xuancong84/followers",
"following_url": "https://api.github.com/users/xuancong84/following{/other_user}",
"gists_url": "https://api.github.com/users/xuancong84/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/xuancong84",
"id": 10172392,
"login": "xuancong84",
"node_id": "MDQ6VXNlcjEwMTcyMzky",
"organizations_url": "https://api.github.com/users/xuancong84/orgs",
"received_events_url": "https://api.github.com/users/xuancong84/received_events",
"repos_url": "https://api.github.com/users/xuancong84/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/xuancong84/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xuancong84/subscriptions",
"type": "User",
"url": "https://api.github.com/users/xuancong84"
} | [] | closed | false | null | [] | null | 1 | 2020-02-26T09:17:40Z | 2020-02-28T11:52:07Z | 2020-02-28T11:52:07Z | NONE | null | Recently, I encountered a very strange bug when indexing pd.Series in Pandas groupby object.
```
if False:
df = pd.DataFrame({'app':['a', 'b', 'c', 'd', 'e'], 'sessionId':['1', '1', '2', '3', '3']},
index=['a1', 'a2', 'a3', 'a4', 'a5']) # this will not cause the last line to crash
else:
df = pd.DataFrame({'app': ['a', 'b', 'c', 'd', 'e'], 'sessionId': ['1', '1', '2', '3', '3']},
index=[1,2,3,4,5]) # this will cause the last line to crash
df1 = [v.app[0] for k, v in df.groupby('sessionId')] # the crashing line
```
As shown in the above code, if df.index elements are string, pd.Timestamp, etc., the last line will not crash; however, if df.index elements are int, float, etc., the last line will crash. Ridiculously, in both cases `type(v.app)` is pd.Series, yet one is index-able, while the other one is not. It is worth noting that the crashing line has not even touched df.index, so why does the value type of df.index elements matters?
So do we have another general inconsistency due to incompetent programming? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32263/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32263/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32264 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32264/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32264/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32264/events | https://github.com/pandas-dev/pandas/issues/32264 | 571,202,703 | MDU6SXNzdWU1NzEyMDI3MDM= | 32,264 | [to_datetime] TypeError: Argument 'date_string' has incorrect type (expected str, got numpy.str_) | {
"avatar_url": "https://avatars.githubusercontent.com/u/7932044?v=4",
"events_url": "https://api.github.com/users/arnau126/events{/privacy}",
"followers_url": "https://api.github.com/users/arnau126/followers",
"following_url": "https://api.github.com/users/arnau126/following{/other_user}",
"gists_url": "https://api.github.com/users/arnau126/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arnau126",
"id": 7932044,
"login": "arnau126",
"node_id": "MDQ6VXNlcjc5MzIwNDQ=",
"organizations_url": "https://api.github.com/users/arnau126/orgs",
"received_events_url": "https://api.github.com/users/arnau126/received_events",
"repos_url": "https://api.github.com/users/arnau126/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arnau126/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arnau126/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arnau126"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
... | open | false | null | [] | null | 4 | 2020-02-26T09:49:36Z | 2021-09-29T21:06:15Z | null | NONE | null | #### Code Sample
```python
import pandas as pd
import numpy as np
value = np.str_('2019-02-04 10:18:46.297000+0000')
arr = [value]
s = pd.Series(arr)
pd.to_datetime(value) # good
pd.to_datetime(s.iloc[0]) # good
pd.to_datetime(arr[0]) # good
```
```python
pd.to_datetime(arr) # error
```
```python
pd.to_datetime(s) # error
```
Traceback:
<details>
```python
TypeError Traceback (most recent call last)
pandas/_libs/tslib.pyx in pandas._libs.tslib.array_to_datetime()
TypeError: Expected unicode, got numpy.str_
During handling of the above exception, another exception occurred:
TypeError Traceback (most recent call last)
<ipython-input-72-bab25c808085> in <module>
----> 1 pd.to_datetime(s) # error
~/.virtualenvs/lr/lib/python3.7/site-packages/pandas/core/tools/datetimes.py in to_datetime(arg, errors, dayfirst, yearfirst, utc, format, exact, unit, infer_datetime_format, origin, cache)
726 result = arg.map(cache_array)
727 else:
--> 728 values = convert_listlike(arg._values, format)
729 result = arg._constructor(values, index=arg.index, name=arg.name)
730 elif isinstance(arg, (ABCDataFrame, abc.MutableMapping)):
~/.virtualenvs/lr/lib/python3.7/site-packages/pandas/core/tools/datetimes.py in _convert_listlike_datetimes(arg, format, name, tz, unit, errors, infer_datetime_format, dayfirst, yearfirst, exact)
445 errors=errors,
446 require_iso8601=require_iso8601,
--> 447 allow_object=True,
448 )
449
~/.virtualenvs/lr/lib/python3.7/site-packages/pandas/core/arrays/datetimes.py in objects_to_datetime64ns(data, dayfirst, yearfirst, utc, errors, require_iso8601, allow_object)
1850 dayfirst=dayfirst,
1851 yearfirst=yearfirst,
-> 1852 require_iso8601=require_iso8601,
1853 )
1854 except ValueError as e:
pandas/_libs/tslib.pyx in pandas._libs.tslib.array_to_datetime()
pandas/_libs/tslib.pyx in pandas._libs.tslib.array_to_datetime()
pandas/_libs/tslib.pyx in pandas._libs.tslib.array_to_datetime_object()
TypeError: Argument 'date_string' has incorrect type (expected str, got numpy.str_)
```
</details>
#### Problem description
`to_datetime` raises a `TypeError: Argument 'date_string' has incorrect type (expected str, got numpy.str_)` when the arg is a list-like of numpy.str_ objects, but not when the arg is a single numpy.str_ object.
#### Expected Output
I expect that it works with numpy.str_ like it does with str.
`assert (pd.to_datetime(s) == pd.to_datetime(s.astype(str))).all()`
Or at least to be consistent between `pd.to_datetime(s)` and `pd.to_datetime(s.iloc[0])`
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.5.final.0
python-bits : 64
OS : Linux
OS-release : 5.3.0-40-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.1
numpy : 1.18.1
pytz : 2019.2
dateutil : 2.8.0
pip : 20.0.2
setuptools : 45.0.0
Cython : 0.29.13
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.4.2
html5lib : None
pymysql : 0.9.3
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.2.0
pandas_datareader: None
bs4 : 4.8.2
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.4.2
matplotlib : 3.0.2
numexpr : None
odfpy : None
openpyxl : 2.6.2
pandas_gbq : None
pyarrow : 0.13.0
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.2.17
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : None
numba : None
</details>
| {
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32264/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32264/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32265 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32265/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32265/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32265/events | https://github.com/pandas-dev/pandas/issues/32265 | 571,219,870 | MDU6SXNzdWU1NzEyMTk4NzA= | 32,265 | API: distinguish NA vs NaN in floating dtypes | {
"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": "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, ... | open | false | null | [] | null | 56 | 2020-02-26T10:15:24Z | 2021-07-29T04:41:21Z | null | MEMBER | null | **Context**: in the original `pd.NA` proposal (https://github.com/pandas-dev/pandas/issues/28095) the topic about `pd.NA` vs `np.nan` was raised several times. And also in the recent pandas-dev mailing list discussion on pandas 2.0 it came up (both in context of `np.nan` for float as `pd.NaT` for datetime-like).
With the introduction of `pd.NA`, and if we want consistent "NA behaviour" across dtypes at some point in the future, I think there are two options for float dtypes:
- Keep using `np.nan` as we do now, but change its behaviour (e.g. in comparison ops) to match `pd.NA`
- Start using `pd.NA` in float dtypes
Personally, I think the first one is not really an option. Keeping it as np.nan, but deviating from numpy's behaviour feels like a non-starter to me. And it would also give a discrepancy between the vectorized behaviour in pandas containers vs the scalar behaviour of `np.nan`.
For the second option, there are still multiple ways this could be implemented (a single array that still uses np.nan as the missing value sentinel but we convert this to pd.NA towards the user, versus a masked approach like we do for the nullable integers). But in this issue, I would like to focus on the user-facing behaviour we want: Do we want to have both np.nan and pd.NA, or only allow pd.NA? Should np.nan still be considered as "missing" or should that be optional? What to do on conversion from/to numpy? (And the answer to some of those questions will also determine which of the two possible implementations is preferrable)
---
**Actual discussion items:** assume we are going to add floating dtypes that use `pd.NA` as missing value indicator. Then the following question comes up:
> If I have a Series[float64] could it contain both np.nan and pd.NA, and these signify different things?
So yes, it is *technically possible* to have both np.nan and pd.NA with different behaviour (`np.nan` as "normal", unmasked value in the actual data, `pd.NA` tracked in the mask). But we also need to decide if we *want* this.
This was touchec upon a bit in the original issue, but not really further discussed. Quoting a few things from the original thread in https://github.com/pandas-dev/pandas/issues/28095:
> [@Dr-Irv in [comment](https://github.com/pandas-dev/pandas/issues/28095#issuecomment-543162838)] I think it is important to distinguish between NA meaning "data missing" versus NaN meaning "not a number" / "bad computational result".
vs
> [@datapythonista in [comment](https://github.com/pandas-dev/pandas/issues/28095#issuecomment-539021471)] I think NaN and NaT, when present, should be copied to the mask, and then we can forget about them (for what I understand values with True in the NA mask won't be ever used).
So I think those two describe nicely the two options we have on the question **do we want both `pd.NA` and `np.nan` in a float dtype and have them signify different things?** -> 1) Yes, we can have both, versus 2) No, towards the user, we only have pd.NA and "disallow" NaN (or interpret / convert any NaN on input to NA).
A reason to have both is that they can signify different things (another reason is that most other data tools do this as well, I will put some comparisons in a separate post).
That reasoning was given by @Dr-Irv in https://github.com/pandas-dev/pandas/issues/28095#issuecomment-538786581: there are times when I get NaN as a result of a computation, which indicates that I did something numerically wrong, versus NaN meaning "missing data". So should there be separate markers - one to mean "missing value" and the other to mean "bad computational result" (typically `0/0`) ?
A dummy example showing how both can occur:
```python
>>> pd.Series([0, 1, 2]) / pd.Series([0, 1, pd.NA])
0 NaN
1 1.0
2 <NA>
dtype: float64
```
The NaN is introduced by the computation, the NA is propagated from the input data (although note that in an arithmetic operation like this, NaN would also propagate).
So, yes, it is possible and potentially desirable to allow both `pd.NA` and `np.nan` in floating dtypes. But, it also brings up several questions / complexities. Foremost, **should NaN still be considered as missing**? Meaning, should it be seen as missing in functions like `isna`/`notna`/`dropna`/`fillna` ? Or should that be an option? Should NaN still be considered as missing (and thus skipped) in reducing operations (that have a `skipna` keyword, like sum, mean, etc)?
Personally, I think we will need to keep NaN as missing, or at least initially. But, that will also introduce inconsistencies: although NaN would be seen as missing in the methods mentioned above, in arithmeric / comparison / scalar ops, it would behave as NaN and not as NA (so eg comparison gives False instead of propagating). It also means that in the missing-related methods, we will need to check for both NaN in the values as the mask (which can also have performance implications).
---
Some other various considerations:
* Having both pd.NA and NaN (np.nan) might actually be more confusing for users.
* If we want a consistent indicator and behavior for missing values across dtypes, I think we need a separate concept from NaN for float dtypes (i.e. pd.NA). Changing the behavior of NaN when inside a pandas container seems like a non-starter (the behavior of NaN is well defined in IEEE 754, and it would also deviate from the underlying numpy array)
* How do we handle compatibility with numpy?
The solution that we have come up (for now) for the other nullable dtypes is to convert to object dtype by default, and have a `to_numpy(.., na_value=np.nan)` explicit conversion.
But given how np.nan is in practice used in the whole pydata ecosystem as a missing value indicator, this might be annoying.
For conversion to numpy, see also some relevant discussion in https://github.com/pandas-dev/pandas/issues/30038
* What with conversion / inference on input?
Eg creating a Series from a float numpy array with NaNs (`pdSeries(np.array([0.1, np.nan]))`) Do we convert NaNs to NA automatically by default?
cc @pandas-dev/pandas-core @Dr-Irv @dsaxton
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32265/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32265/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32266 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32266/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32266/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32266/events | https://github.com/pandas-dev/pandas/issues/32266 | 571,226,261 | MDU6SXNzdWU1NzEyMjYyNjE= | 32,266 | Pandas 1.0.1 - .rolling().min() and .rolling().max() create memory leak at <__array_function__ internals>:6 | {
"avatar_url": "https://avatars.githubusercontent.com/u/10242166?v=4",
"events_url": "https://api.github.com/users/regmeg/events{/privacy}",
"followers_url": "https://api.github.com/users/regmeg/followers",
"following_url": "https://api.github.com/users/regmeg/following{/other_user}",
"gists_url": "https://api.github.com/users/regmeg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/regmeg",
"id": 10242166,
"login": "regmeg",
"node_id": "MDQ6VXNlcjEwMjQyMTY2",
"organizations_url": "https://api.github.com/users/regmeg/orgs",
"received_events_url": "https://api.github.com/users/regmeg/received_events",
"repos_url": "https://api.github.com/users/regmeg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/regmeg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/regmeg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/regmeg"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "009800",
"default"... | 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-02-26T10:24:20Z | 2020-07-13T13:08:58Z | 2020-07-10T13:56:46Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import tracemalloc, linecache
import sys, os
import pandas as pd
def display_top_mem(snapshot, key_type='lineno', limit=10):
"""function for displaying lines of code taking most memory"""
snapshot = snapshot.filter_traces((
tracemalloc.Filter(False, "<frozen importlib._bootstrap>"),
tracemalloc.Filter(False, "<unknown>"),
))
top_stats = snapshot.statistics(key_type)
print("Top %s lines" % limit)
for index, stat in enumerate(top_stats[:limit], 1):
frame = stat.traceback[0]
# replace "/path/to/module/file.py" with "module/file.py"
filename = os.sep.join(frame.filename.split(os.sep)[-2:])
print("#%s: %s:%s: %.1f KiB"
% (index, filename, frame.lineno, stat.size / 1024))
line = linecache.getline(frame.filename, frame.lineno).strip()
if line:
print(' %s' % line)
other = top_stats[limit:]
if other:
size = sum(stat.size for stat in other)
print("%s other: %.1f KiB" % (len(other), size / 1024))
total = sum(stat.size for stat in top_stats)
print("Total allocated size: %.1f KiB" % (total / 1024))
def main():
tracemalloc.start()
periods = 745
df_init = pd.read_csv('./mem_debug_data.csv', index_col=0)
for i in range(100):
df = df_init.copy()
df['l:c:B'] = df['c:B'].rolling(periods).min()
df['h:c:B'] = df['c:B'].rolling(periods).max()
#df['l:c:B'] = df['c:B'].rolling(periods).mean()
#df['h:c:B'] = df['c:B'].rolling(periods).median()
snapshot = tracemalloc.take_snapshot()
display_top_mem(snapshot, limit=3)
print(f'df size {sys.getsizeof(df)/1024} KiB')
print(f'{i} ##################')
if __name__ == '__main__':
main()
```
#### Problem description
Pandas `rolling().min()` and `rolling().max()` functions create memory leaks. I've run a tracemalloc line based memory profiling and `<__array_function__ internals>:6` seems to always grow in size for every loop iteration in the script above with both of these functions present. For 1000 itereations it will consume around 650MB or RAM, whereas for example if `rolling().min()` and `rolling().max()` is changed to `rolling().mean()`and `rolling().median()` an run for 1000 iterations, RAM consumption will stay constant at around 4MB. Therefore `rolling().min()` and `rolling().max()` seem to be the problem.
The output of this script running for 100 iterations with `<__array_function__ internals>:6` constantly increasing in size can be found here: https://pastebin.com/nvGKgmPq
CSV file `mem_debug_data.csv` used in the script can be found here: http://www.sharecsv.com/s/ad8485d8a0a24a5e12c62957de9b13bd/mem_debug_data.csv
#### Expected Output
Running `rolling().min()` and `rolling().max()` constantly over time should not grow RAM consumption.
#### Output of ``pd.show_versions()``
<details>
> INSTALLED VERSIONS
> ------------------
> commit : None
> python : 3.7.6.final.0
> python-bits : 64
> OS : Linux
> OS-release : 4.15.0-88-generic
> machine : x86_64
> processor : x86_64
> byteorder : little
> LC_ALL : None
> LANG : en_GB.UTF-8
> LOCALE : en_GB.UTF-8
>
> pandas : 1.0.1
> numpy : 1.18.1
> pytz : 2019.3
> dateutil : 2.8.1
> pip : 19.2.3
> setuptools : 41.2.0
> Cython : None
> pytest : None
> hypothesis : None
> sphinx : None
> blosc : None
> feather : None
> xlsxwriter : None
> lxml.etree : None
> html5lib : None
> pymysql : None
> psycopg2 : None
> jinja2 : 2.11.1
> IPython : 7.12.0
> pandas_datareader: None
> bs4 : None
> bottleneck : None
> fastparquet : None
> gcsfs : None
> lxml.etree : None
> matplotlib : 3.1.3
> numexpr : None
> odfpy : None
> openpyxl : None
> pandas_gbq : None
> pyarrow : None
> pytables : None
> pytest : None
> pyxlsb : None
> s3fs : None
> scipy : 1.4.1
> sqlalchemy : None
> tables : None
> tabulate : None
> xarray : None
> xlrd : None
> xlwt : None
> xlsxwriter : None
> numba : None
</details>
| {
"+1": 5,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 5,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32266/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32266/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32267 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32267/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32267/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32267/events | https://github.com/pandas-dev/pandas/pull/32267 | 571,323,378 | MDExOlB1bGxSZXF1ZXN0MzgwMjIyNTE0 | 32,267 | Backport PR #32214 on branch 1.0.x (BUG: Cast pd.NA to pd.NaT in to_datetime) | {
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, p... | closed | false | null | [] | {
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
} | 0 | 2020-02-26T12:40:34Z | 2020-02-26T15:33:16Z | 2020-02-26T15:33:16Z | NONE | null | Backport PR #32214: BUG: Cast pd.NA to pd.NaT in to_datetime | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32267/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32267/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32267.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32267",
"merged_at": "2020-02-26T15:33:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32267.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32267"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32268 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32268/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32268/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32268/events | https://github.com/pandas-dev/pandas/issues/32268 | 571,335,211 | MDU6SXNzdWU1NzEzMzUyMTE= | 32,268 | `df.loc[mask, 'column'] = df['column2']` fails if mask is all False and column is a localized datetime | {
"avatar_url": "https://avatars.githubusercontent.com/u/7932044?v=4",
"events_url": "https://api.github.com/users/arnau126/events{/privacy}",
"followers_url": "https://api.github.com/users/arnau126/followers",
"following_url": "https://api.github.com/users/arnau126/following{/other_user}",
"gists_url": "https://api.github.com/users/arnau126/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arnau126",
"id": 7932044,
"login": "arnau126",
"node_id": "MDQ6VXNlcjc5MzIwNDQ=",
"organizations_url": "https://api.github.com/users/arnau126/orgs",
"received_events_url": "https://api.github.com/users/arnau126/received_events",
"repos_url": "https://api.github.com/users/arnau126/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arnau126/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arnau126/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arnau126"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] | closed | false | null | [] | null | 1 | 2020-02-26T12:54:54Z | 2020-11-09T18:06:03Z | 2020-11-09T18:06:03Z | NONE | null | #### Code Sample
```python
import pandas as pd
df1 = pd.DataFrame({
'dt': pd.to_datetime(['2017-07-17 00:00:00', '2018-08-08 00:00:00']),
'dt_tz': pd.to_datetime(['2017-07-17 00:00:00', '2018-08-08 00:00:00'], utc=True),
'char': ['a', 'b'],
'num': [1, 2]
})
df2 = pd.DataFrame({
'dt': pd.to_datetime(['2019-09-19 00:00:00', '2020-02-20 00:00:00']),
'dt_tz': pd.to_datetime(['2019-09-19 00:00:00', '2020-02-20 00:00:00'], utc=True),
'char': ['c', 'd'],
'num': [3, 4],
})
mask = pd.Series([False, False])
# the following lines do nothing (as expected) because mask is all False
df1.loc[mask, "dt"] = df2["dt"]
df1.loc[mask, "char"] = df2["char"]
df1.loc[mask, "num"] = df2["num"]
```
```python
# this line should do nothing, too. But instead it raises a ValueError
df1.loc[mask, "dt_tz"] = df2["dt_tz"]
```
Traceback:
<details>
```python
ValueError Traceback (most recent call last)
<ipython-input-3-17df28957215> in <module>
----> 1 df1.loc[mask, "dt_tz"] = df2["dt_tz"]
~/.virtualenvs/lr/lib/python3.7/site-packages/pandas/core/indexing.py in __setitem__(self, key, value)
668 key = com.apply_if_callable(key, self.obj)
669 indexer = self._get_setitem_indexer(key)
--> 670 self._setitem_with_indexer(indexer, value)
671
672 def _validate_key(self, key, axis: int):
~/.virtualenvs/lr/lib/python3.7/site-packages/pandas/core/indexing.py in _setitem_with_indexer(self, indexer, value)
1009 labels, value, plane_indexer, lplane_indexer, self.obj
1010 ):
-> 1011 setter(labels[0], value)
1012
1013 # per label values
~/.virtualenvs/lr/lib/python3.7/site-packages/pandas/core/indexing.py in setter(item, v)
959 s._consolidate_inplace()
960 s = s.copy()
--> 961 s._data = s._data.setitem(indexer=pi, value=v)
962 s._maybe_update_cacher(clear=True)
963
~/.virtualenvs/lr/lib/python3.7/site-packages/pandas/core/internals/managers.py in setitem(self, **kwargs)
559
560 def setitem(self, **kwargs):
--> 561 return self.apply("setitem", **kwargs)
562
563 def putmask(self, **kwargs):
~/.virtualenvs/lr/lib/python3.7/site-packages/pandas/core/internals/managers.py in apply(self, f, filter, **kwargs)
440 applied = b.apply(f, **kwargs)
441 else:
--> 442 applied = getattr(b, f)(**kwargs)
443 result_blocks = _extend_blocks(applied, result_blocks)
444
~/.virtualenvs/lr/lib/python3.7/site-packages/pandas/core/internals/blocks.py in setitem(self, indexer, value)
2439 isinstance(indexer, np.ndarray) and indexer.size == 0
2440 ):
-> 2441 return super().setitem(indexer, value)
2442
2443 obj_vals = self.values.astype(object)
~/.virtualenvs/lr/lib/python3.7/site-packages/pandas/core/internals/blocks.py in setitem(self, indexer, value)
1794 indexer = indexer[0]
1795
-> 1796 check_setitem_lengths(indexer, value, self.values)
1797 self.values[indexer] = value
1798 return self
~/.virtualenvs/lr/lib/python3.7/site-packages/pandas/core/indexers.py in check_setitem_lengths(indexer, value, values)
112 ):
113 raise ValueError(
--> 114 "cannot set using a list-like indexer "
115 "with a different length than the value"
116 )
ValueError: cannot set using a list-like indexer with a different length than the value
```
</details>
#### Problem description
When mask is all False and the column is a localized datetime, it raises the error: `ValueError: cannot set using a list-like indexer with a different length than the value`.
This doesn't happens when the column is another type like naive datetime, str or int.
#### Expected Output
`df1.loc[mask, "dt_tz"] = df2["dt_tz"]` shouldn't raise an error, just do nothing.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.5.final.0
python-bits : 64
OS : Linux
OS-release : 5.3.0-40-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.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.0.0
Cython : 0.29.15
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.4.2
html5lib : None
pymysql : 0.9.3
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.2.0
pandas_datareader: None
bs4 : 4.8.2
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.4.2
matplotlib : 3.0.2
numexpr : None
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : 0.13.0
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.2.17
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
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/32268/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32268/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32269 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32269/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32269/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32269/events | https://github.com/pandas-dev/pandas/pull/32269 | 571,486,271 | MDExOlB1bGxSZXF1ZXN0MzgwMzY0MzI1 | 32,269 | Backport PR #32166 on branch 1.0.x | {
"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": "02d7e1",
"default": false,
"description": "Concat, M... | closed | false | null | [] | {
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
} | 1 | 2020-02-26T15:56:14Z | 2020-02-27T14:57:25Z | 2020-02-27T12:25:22Z | MEMBER | null | #32166 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32269/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32269/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32269.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32269",
"merged_at": "2020-02-27T12:25:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32269.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32269"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32270 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32270/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32270/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32270/events | https://github.com/pandas-dev/pandas/pull/32270 | 571,496,904 | MDExOlB1bGxSZXF1ZXN0MzgwMzczMDEw | 32,270 | TST: method-specific file for to_period | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"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"
} | 0 | 2020-02-26T16:12:01Z | 2020-02-27T17:21:40Z | 2020-02-27T17:07: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/32270/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32270/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32270.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32270",
"merged_at": "2020-02-27T17:07:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32270.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32270"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/32271 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32271/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32271/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32271/events | https://github.com/pandas-dev/pandas/issues/32271 | 571,546,526 | MDU6SXNzdWU1NzE1NDY1MjY= | 32,271 | Unary `~` operator broken for `BooleanArray` | {
"avatar_url": "https://avatars.githubusercontent.com/u/11324360?v=4",
"events_url": "https://api.github.com/users/birnbera/events{/privacy}",
"followers_url": "https://api.github.com/users/birnbera/followers",
"following_url": "https://api.github.com/users/birnbera/following{/other_user}",
"gists_url": "https://api.github.com/users/birnbera/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/birnbera",
"id": 11324360,
"login": "birnbera",
"node_id": "MDQ6VXNlcjExMzI0MzYw",
"organizations_url": "https://api.github.com/users/birnbera/orgs",
"received_events_url": "https://api.github.com/users/birnbera/received_events",
"repos_url": "https://api.github.com/users/birnbera/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/birnbera/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/birnbera/subscriptions",
"type": "User",
"url": "https://api.github.com/users/birnbera"
} | [] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 1 | 2020-02-26T17:34:05Z | 2020-02-29T02:56:04Z | 2020-02-29T02:55:52Z | NONE | null | This may be related to [https://github.com/pandas-dev/pandas/pull/31484](url).
Unary application of the `~` operator seems to operate bitwise on an underlying integer array rather than the expected negation of a boolean:
```python
>>> s = Series([True, False], dtype="boolean")
>>> ~s
0 -2
1 -1
dtype: object
>>> s = Series([True, False], dtype="bool")
>>> ~s
0 False
1 True
dtype: bool
```
This behavior prevents the correct handling of boolean indexing:
```python
>>> a = pd.Series(list("abcd"))
>>> s = pd.Series([True, False, True, False], dtype="boolean")
>>> a[s]
0 a
2 c
dtype: object
>>> a[~s]
...
KeyError: "None of [Int64Index([-2, -1, -2, -1], dtype='int64')] are in the [index]"
```
The problem goes away if both of your series are `ExtensionArray` types:
```python
>>> a = pd.Series(list('abcd'), dtype="string")
>>> s = pd.Series([True, False, True, False], dtype="boolean")
>>> a[s]
0 a
2 c
dtype: object
>>> a[~s]
1 b
3 d
dtype: string
```
## Edit
I updated to version `1.0.1` and the initial issue goes away (i.e. the unary `~` gives the expected result). However, the `dtype` reverts to `object` after assignment:
```python
>>> s = pd.Series([True, False, pd.NA], dtype="boolean") # same behavior whether or not you include an `NA`
>>> s
0 True
1 False
2 <NA>
dtype: boolean
>>> ~s
0 False
1 True
2 <NA>
dtype: boolean
>>> s[3] = True
>>> s
0 True
1 False
2 <NA>
3 True
dtype: object
>>> ~s
0 -2
1 -1
2 <NA>
3 -2
dtype: object
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.1.final.0
python-bits : 64
OS : Darwin
OS-release : 18.7.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.0
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.1.0.post20200119
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.12.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : None
tabulate : None
xarray : 0.15.0
xlrd : 1.2.0
xlwt : None
xlsxwriter : None
numba : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32271/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32271/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32272 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32272/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32272/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32272/events | https://github.com/pandas-dev/pandas/pull/32272 | 571,548,359 | MDExOlB1bGxSZXF1ZXN0MzgwNDE1NzQy | 32,272 | TST: method-specific files for droplevel | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 3 | 2020-02-26T17:37:25Z | 2020-02-27T14:55:37Z | 2020-02-27T12:35:36Z | 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/32272/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32272/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32272.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32272",
"merged_at": "2020-02-27T12:35:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32272.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32272"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/32273 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32273/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32273/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32273/events | https://github.com/pandas-dev/pandas/pull/32273 | 571,552,498 | MDExOlB1bGxSZXF1ZXN0MzgwNDE5MjQw | 32,273 | TST: move misplaced to_datetime test | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 0 | 2020-02-26T17:45:29Z | 2020-03-02T17:06:55Z | 2020-02-27T04:44:57Z | 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/32273/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32273/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32273.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32273",
"merged_at": "2020-02-27T04:44:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32273.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32273"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/32274 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32274/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32274/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32274/events | https://github.com/pandas-dev/pandas/pull/32274 | 571,564,526 | MDExOlB1bGxSZXF1ZXN0MzgwNDI5MTkx | 32,274 | TST: implement test_first | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"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"
} | 2 | 2020-02-26T18:09:49Z | 2020-02-27T16:21:28Z | 2020-02-27T16:19:14Z | MEMBER | null | cc @MomIsBestFriend there are three things about these tests that I think would make for good (separate) follow-ups if you're interested:
1) They are just begging to be parametrized
2) We don't have a systematic way of naming/organizing tests that are for two specific methods rather than one specific method, which is the idea behind tests.(frame|series).methods. (see also: head/tail, first_valid_index/last_valid_index)
3) These tests could/should also be shared/parametrized over Series vs DataFrame, but we dont have a systematic home or naming convention for these. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32274/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32274/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32274.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32274",
"merged_at": "2020-02-27T16:19:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32274.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32274"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32275 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32275/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32275/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32275/events | https://github.com/pandas-dev/pandas/pull/32275 | 571,572,342 | MDExOlB1bGxSZXF1ZXN0MzgwNDM1NjA2 | 32,275 | TST: misplaced arithmetic tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"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-02-26T18:25:37Z | 2020-02-27T16:16:04Z | 2020-02-27T16:11: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/32275/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32275/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32275.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32275",
"merged_at": "2020-02-27T16:11:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32275.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32275"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/32276 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32276/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32276/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32276/events | https://github.com/pandas-dev/pandas/issues/32276 | 571,624,794 | MDU6SXNzdWU1NzE2MjQ3OTQ= | 32,276 | Categorical NaN behaviour different from a str | {
"avatar_url": "https://avatars.githubusercontent.com/u/9049037?v=4",
"events_url": "https://api.github.com/users/sjvdm/events{/privacy}",
"followers_url": "https://api.github.com/users/sjvdm/followers",
"following_url": "https://api.github.com/users/sjvdm/following{/other_user}",
"gists_url": "https://api.github.com/users/sjvdm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sjvdm",
"id": 9049037,
"login": "sjvdm",
"node_id": "MDQ6VXNlcjkwNDkwMzc=",
"organizations_url": "https://api.github.com/users/sjvdm/orgs",
"received_events_url": "https://api.github.com/users/sjvdm/received_events",
"repos_url": "https://api.github.com/users/sjvdm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sjvdm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sjvdm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sjvdm"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "e11d21",
"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-02-26T20:03:33Z | 2020-03-03T03:28:43Z | 2020-03-03T03:28:43Z | NONE | null | #### Code Sample
### Series as category
df = pd.Series(['a','a','b','c']).astype('category')
print(df.shift(1))
print(df)
print(df.shift(1) != df)
OUTPUT:
0 NaN
1 a
2 a
3 b
dtype: category
Categories (3, object): [a, b, c]
0 a
1 a
2 b
3 c
dtype: category
Categories (3, object): [a, b, c]
0 False
1 False
2 True
3 True
dtype: bool
### Series as str
df = pd.Series(['a','a','b','c']).astype('str')
print(df.shift(1))
print(df)
print(df.shift(1) != df)
OUTPUT:
0 NaN
1 a
2 a
3 b
dtype: object
0 a
1 a
2 b
3 c
dtype: object
0 True
1 False
2 True
3 True
dtype: bool
```
#### Problem description
The behaviour of NaN in comparison operators is different for type category and str. See example code - the first element is NaN in both instances, but the second instance equates to false, and the first equates to true for a != operation. For a == operation for a category, the behavior is as expected.
#### Expected Output
I would expect both to have the same output.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.0.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-1062.12.1.el7.x86_64
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 1.0.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 41.4.0
Cython : 0.29.15
pytest : 5.3.5
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.3
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 5.3.5
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : 3.6.1
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/32276/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32276/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32277 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32277/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32277/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32277/events | https://github.com/pandas-dev/pandas/issues/32277 | 571,676,992 | MDU6SXNzdWU1NzE2NzY5OTI= | 32,277 | `isin(index)` is 2-6x slower than `isin(...)` with other data types including list, and orders of magnitude slower than using its hash table | {
"avatar_url": "https://avatars.githubusercontent.com/u/1203825?v=4",
"events_url": "https://api.github.com/users/huonw/events{/privacy}",
"followers_url": "https://api.github.com/users/huonw/followers",
"following_url": "https://api.github.com/users/huonw/following{/other_user}",
"gists_url": "https://api.github.com/users/huonw/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/huonw",
"id": 1203825,
"login": "huonw",
"node_id": "MDQ6VXNlcjEyMDM4MjU=",
"organizations_url": "https://api.github.com/users/huonw/orgs",
"received_events_url": "https://api.github.com/users/huonw/received_events",
"repos_url": "https://api.github.com/users/huonw/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/huonw/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/huonw/subscriptions",
"type": "User",
"url": "https://api.github.com/users/huonw"
} | [
{
"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": "fef2c0",
"default"... | open | false | null | [] | null | 0 | 2020-02-26T21:39:18Z | 2021-07-29T04:42:50Z | null | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
import numpy as np
import timeit
# data set up:
data_size = 1234
query_size = 10000
data_ndarray = np.random.randint(100000, size=data_size)
data_series = pd.Series(data_ndarray)
list_ = list(range(query_size))
range_index = pd.Index(range(query_size))
array_index = pd.Index(list_)
series = array_index.to_series()
ndarray = array_index.to_numpy()
print(f"{data_series.dtype=}, {range_index.dtype=}, {array_index.dtype=}")
N = 1000
def run(name, f):
return name, timeit.timeit(f, number=N) / N
df = pd.DataFrame(
[
run("list", lambda: data_series.isin(list_)),
run("range index", lambda: data_series.isin(range_index)),
run("array index", lambda: data_series.isin(array_index)),
run("series", lambda: data_series.isin(series)),
run("ndarray", lambda: data_series.isin(ndarray)),
# variations on using indices
run("array index.to_numpy()", lambda: data_series.isin(array_index.to_numpy())),
run("range index.__contains__", lambda: data_series.apply(range_index.__contains__)),
run("array index.__contains__", lambda: data_series.apply(array_index.__contains__)),
run("array index.get_indexer", lambda: array_index.get_indexer(data_series.values) != -1),
# poke into the internals
run("array index._engine.mapping.__contains__", lambda: data_series.apply(array_index._engine.mapping.__contains__)),
run("array index._engine.get_indexer", lambda: array_index._engine.get_indexer(data_series.values) != -1),
# numpy for comparison
run("np.isin", lambda: np.isin(data_ndarray, ndarray)),
],
columns=["name", "time"]
).set_index("name")
# double check that the get_indexer version works correctly
assert (data_series.isin(array_index) == (array_index._engine.get_indexer(data_series.values) != -1)).all()
print(df.sort_values("time"))
```
Output:
```
data_series.dtype=dtype('int64'), range_index.dtype=dtype('int64'), array_index.dtype=dtype('int64')
time
name
array index._engine.get_indexer 0.000016
array index.get_indexer 0.000048
array index.to_numpy() 0.000199
ndarray 0.000211
series 0.000224
np.isin 0.000227
array index._engine.mapping.__contains__ 0.000292
array index.__contains__ 0.000586
list 0.000624
range index.__contains__ 0.000755
range index 0.001444
array index 0.001457
```
#### Problem description
The exact ratios and numbers depend very much on the data , especially because the `get_indexer` forms are `O(data_size)` (with O(1) indexing into the index's hash table), while the other forms likely depend on `query_size`, at least to pay the cost of converting data.
#### Expected Output
I'd expect:
- using a pandas type to always be faster than a Python types like `list`,
- it to not be much slower than even a simple variant like `.isin(index.to_numpy())`,
- it to use the hash table if it exists, given how much faster that is
#### Output of ``pd.show_versions()``
<details>
```
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.1.final.0
python-bits : 64
OS : Darwin
OS-release : 18.6.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_AU.UTF-8
LOCALE : en_AU.UTF-8
pandas : 1.0.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 19.2.3
setuptools : 41.2.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : 7.12.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
```
</details> | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32277/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32277/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32278 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32278/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32278/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32278/events | https://github.com/pandas-dev/pandas/pull/32278 | 571,685,564 | MDExOlB1bGxSZXF1ZXN0MzgwNTI3NjE0 | 32,278 | CLN: Use defaultdict for minor optimization | {
"avatar_url": "https://avatars.githubusercontent.com/u/25360440?v=4",
"events_url": "https://api.github.com/users/jaketae/events{/privacy}",
"followers_url": "https://api.github.com/users/jaketae/followers",
"following_url": "https://api.github.com/users/jaketae/following{/other_user}",
"gists_url": "https://api.github.com/users/jaketae/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jaketae",
"id": 25360440,
"login": "jaketae",
"node_id": "MDQ6VXNlcjI1MzYwNDQw",
"organizations_url": "https://api.github.com/users/jaketae/orgs",
"received_events_url": "https://api.github.com/users/jaketae/received_events",
"repos_url": "https://api.github.com/users/jaketae/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jaketae/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jaketae/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jaketae"
} | [
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 5 | 2020-02-26T21:56:55Z | 2020-03-02T15:34:15Z | 2020-02-27T12:39:49Z | CONTRIBUTOR | null | Edit `_from_nested_dict()` by using defaultdict for optimization in performance
- [ ] closes #32209
- [ ] 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/32278/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32278/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32278.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32278",
"merged_at": "2020-02-27T12:39:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32278.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32278"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32279 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32279/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32279/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32279/events | https://github.com/pandas-dev/pandas/pull/32279 | 571,691,154 | MDExOlB1bGxSZXF1ZXN0MzgwNTMyMjQ4 | 32,279 | CI: Temporary fix to the docs build while we fix the ssh problems | {
"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": "a2bca7",
"default": false,
"description": "Continuous Integratio... | 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-02-26T22:08:46Z | 2020-02-27T18:21:38Z | 2020-02-27T16:56:47Z | MEMBER | null | Looks like the ssh key we have in the settings is not working as expected in #32074.
While we fix it (I don't have access to the settings, so can't check much), this prevents master from failing for the publishing of the dev docs to GitHub pages. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32279/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32279/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32279.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32279",
"merged_at": "2020-02-27T16:56:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32279.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32279"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32280 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32280/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32280/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32280/events | https://github.com/pandas-dev/pandas/pull/32280 | 571,695,601 | MDExOlB1bGxSZXF1ZXN0MzgwNTM1OTU0 | 32,280 | REF: simplify PeriodIndex._shallow_copy | {
"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": "eb6420",
"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-02-26T22:18:02Z | 2020-03-03T02:08:07Z | 2020-03-03T01:58:27Z | MEMBER | null | Adds a test for incorrect behavior in DTI.where and TDI.where that is fixed in master. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32280/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32280/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32280.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32280",
"merged_at": "2020-03-03T01:58:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32280.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32280"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32281 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32281/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32281/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32281/events | https://github.com/pandas-dev/pandas/pull/32281 | 571,696,054 | MDExOlB1bGxSZXF1ZXN0MzgwNTM2MzQ1 | 32,281 | TST: Split and simplify test_value_counts_unique_nunique | {
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 4 | 2020-02-26T22:19:03Z | 2020-03-04T17:16:02Z | 2020-03-04T13:52:31Z | CONTRIBUTOR | null | closes #32205, closes #32220
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32281/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32281/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32281.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32281",
"merged_at": "2020-03-04T13:52:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32281.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32281"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32282 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32282/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32282/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32282/events | https://github.com/pandas-dev/pandas/pull/32282 | 571,746,115 | MDExOlB1bGxSZXF1ZXN0MzgwNTc3NjQ1 | 32,282 | REF: make DatetimeIndex._simple_new actually simple | {
"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": "d4c5f9",
"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"
} | 3 | 2020-02-27T00:37:35Z | 2020-03-14T02:29:29Z | 2020-03-14T02:19:51Z | 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/32282/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32282/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32282.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32282",
"merged_at": "2020-03-14T02:19:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32282.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32282"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/32283 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32283/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32283/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32283/events | https://github.com/pandas-dev/pandas/issues/32283 | 571,759,000 | MDU6SXNzdWU1NzE3NTkwMDA= | 32,283 | DOC: Getting started tutorials feedback from EOSS meeting | {
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | open | false | null | [] | null | 4 | 2020-02-27T01:18:58Z | 2020-02-29T03:13:15Z | null | MEMBER | null | @WillAyd and I got some good feedback regarding the tutorials @stijnvanhoey [created](https://pandas.io/docs/getting_started/intro_tutorials/index.html) while at the CZI EOSS Kickoff Meeting.
1. Generally more white space between pictures and texts/headers
(example image above): https://pandas.io/docs/getting_started/intro_tutorials/01_table_oriented.html#each-column-in-a-dataframe-is-a-series
2. The blue boxes that contain `To user guide` should be replaced by a question like `Want more information?`
(example blue box above): https://pandas.io/docs/getting_started/intro_tutorials/03_subset_data.html#how-do-i-filter-specific-rows-from-a-dataframe
3. h1 headings appear too similar in size to an h2 heading when they follow each other
(example) https://pandas.io/docs/getting_started/intro_tutorials/06_calculate_statistics.html#how-to-calculate-summary-statistics
4. Some of the data topics seems to domain specific
(example) https://pandas.io/docs/getting_started/intro_tutorials/09_timeseries.html
5. The different topics within the page (sections that start with a h1 header) could be separated more clearly
(example in the section separation here): https://pandas.io/docs/getting_started/intro_tutorials/07_reshape_table_layout.html#pivot-table
6. The pandas cheatsheet should be linked in the `Getting started` section: https://pandas.io/docs/getting_started/index.html#getting-started
7. Mention `tidyverse` in `Comparisons with R/ R libraries`: https://pandas.io/docs/getting_started/comparison/comparison_with_r.html
8. The pivot table diagram was not terribly intuitive. Recommended to use values instead of colors
(example) https://pandas.io/docs/getting_started/intro_tutorials/07_reshape_table_layout.html#pivot-table
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32283/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32283/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32284 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32284/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32284/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32284/events | https://github.com/pandas-dev/pandas/pull/32284 | 571,773,849 | MDExOlB1bGxSZXF1ZXN0MzgwNTk5NDMx | 32,284 | CI: nested DataFrames in npdev | {
"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"
},
{
"color": "0052cc",
"default": false,
"description": ... | closed | false | null | [] | {
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
} | 2 | 2020-02-27T02:10:08Z | 2020-02-29T13:39:29Z | 2020-02-27T11:47:25Z | MEMBER | null | xref #32289 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32284/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32284/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32284.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32284",
"merged_at": "2020-02-27T11:47:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32284.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32284"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32285 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32285/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32285/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32285/events | https://github.com/pandas-dev/pandas/pull/32285 | 571,784,285 | MDExOlB1bGxSZXF1ZXN0MzgwNjA3Nzg0 | 32,285 | REF: move misplaced to_time tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 1 | 2020-02-27T02:45:33Z | 2020-02-27T17:20:02Z | 2020-02-27T17:01:22Z | 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/32285/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32285/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32285.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32285",
"merged_at": "2020-02-27T17:01:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32285.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32285"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/32286 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32286/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32286/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32286/events | https://github.com/pandas-dev/pandas/pull/32286 | 571,887,870 | MDExOlB1bGxSZXF1ZXN0MzgwNjkwMjMz | 32,286 | DOC: Fix errors in pandas.Series.argmin | {
"avatar_url": "https://avatars.githubusercontent.com/u/8732795?v=4",
"events_url": "https://api.github.com/users/farhanreynaldo/events{/privacy}",
"followers_url": "https://api.github.com/users/farhanreynaldo/followers",
"following_url": "https://api.github.com/users/farhanreynaldo/following{/other_user}",
"gists_url": "https://api.github.com/users/farhanreynaldo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/farhanreynaldo",
"id": 8732795,
"login": "farhanreynaldo",
"node_id": "MDQ6VXNlcjg3MzI3OTU=",
"organizations_url": "https://api.github.com/users/farhanreynaldo/orgs",
"received_events_url": "https://api.github.com/users/farhanreynaldo/received_events",
"repos_url": "https://api.github.com/users/farhanreynaldo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/farhanreynaldo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/farhanreynaldo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/farhanreynaldo"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 25 | 2020-02-27T07:53:20Z | 2020-03-06T12:31:08Z | 2020-03-06T12:30:37Z | CONTRIBUTOR | null | - [x] closes https://github.com/pandanistas/pandanistas_sprint_jakarta2020/issues/19
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
output of `python scripts/validate_docstrings.py pandas.Series.argmin`:
```
################################################################################
################################## Validation ##################################
################################################################################
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32286/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32286/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32286.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32286",
"merged_at": "2020-03-06T12:30:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32286.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32286"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32287 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32287/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32287/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32287/events | https://github.com/pandas-dev/pandas/issues/32287 | 571,902,731 | MDU6SXNzdWU1NzE5MDI3MzE= | 32,287 | BUG: convert_dtypes changes BooleanDtype to Int64 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8881844?v=4",
"events_url": "https://api.github.com/users/jiannmeng/events{/privacy}",
"followers_url": "https://api.github.com/users/jiannmeng/followers",
"following_url": "https://api.github.com/users/jiannmeng/following{/other_user}",
"gists_url": "https://api.github.com/users/jiannmeng/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jiannmeng",
"id": 8881844,
"login": "jiannmeng",
"node_id": "MDQ6VXNlcjg4ODE4NDQ=",
"organizations_url": "https://api.github.com/users/jiannmeng/orgs",
"received_events_url": "https://api.github.com/users/jiannmeng/received_events",
"repos_url": "https://api.github.com/users/jiannmeng/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jiannmeng/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jiannmeng/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jiannmeng"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "8cc645",
"default": false,
"description": "Related to pd.NA and nul... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/40292327?v=4",
"events_url": "https://api.github.com/users/AnnaDaglis/events{/privacy}",
"followers_url": "https://api.github.com/users/AnnaDaglis/followers",
"following_url": "https://api.github.com/users/AnnaDaglis/following{/other_user}",
"gists_url": "https://api.github.com/users/AnnaDaglis/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AnnaDaglis",
"id": 40292327,
"login": "AnnaDaglis",
"node_id": "MDQ6VXNlcjQwMjkyMzI3",
"organizations_url": "https://api.github.com/users/AnnaDaglis/orgs",
"received_events_url": "https://api.github.com/users/AnnaDaglis/received_events",
"repos_url": "https://api.github.com/users/AnnaDaglis/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AnnaDaglis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AnnaDaglis/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AnnaDaglis"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/40292327?v=4",
"events_url": "https://api.github.com/users/AnnaDaglis/events{/privacy}",
"followers_url": "https://api.github.com/users/AnnaDaglis/followers",
"following_url": "https://api.github.com/users/AnnaDaglis/following{/other_user}",
... | {
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
} | 3 | 2020-02-27T08:22:44Z | 2020-03-11T01:48:34Z | 2020-03-11T01:48:34Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
>>> import pandas as pd
>>> df = pd.DataFrame(data=[["abc", 123, True]])
>>> print(df)
0 1 2
0 abc 123 True
>>> print(df.dtypes)
0 object
1 int64
2 bool
dtype: object
>>> df = df.convert_dtypes()
>>> print(df)
0 1 2
0 abc 123 True
>>> print(df.dtypes)
0 string
1 Int64
2 boolean
dtype: object
>>> df = df.convert_dtypes()
>>> print(df)
0 1 2
0 b'abc' 123 1
>>> print(df.dtypes)
0 object
1 Int64
2 Int64
dtype: object
```
#### Problem description
Applying convert_dtypes() to a column with dtype `string` converts it to a column dtype 'object' (and the individual values from `str` type to `bytes` type).
Applying convert_dtypes() to a column with dtype `boolean` converts it to a column dtype 'Int64' (and the individual values from `bool` type to `int` type).
#### Expected Output
convert_dtypes() should keep StringDtype columns as StringDtype and BooleanDtype columns as BooleanDtype.
#### Output of ``pd.show_versions()``
<details>
pd.show_versions()
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.1.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : English_Malaysia.1252
pandas : 1.0.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 19.2.3
setuptools : 41.2.0
Cython : None
pytest : 5.3.5
hypothesis : None
sphinx : None
blosc : 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/32287/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32287/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32288 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32288/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32288/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32288/events | https://github.com/pandas-dev/pandas/issues/32288 | 571,974,705 | MDU6SXNzdWU1NzE5NzQ3MDU= | 32,288 | [Regression] Index matching is wrong for dataframe operations such as div and mul | {
"avatar_url": "https://avatars.githubusercontent.com/u/7702207?v=4",
"events_url": "https://api.github.com/users/harmbuisman/events{/privacy}",
"followers_url": "https://api.github.com/users/harmbuisman/followers",
"following_url": "https://api.github.com/users/harmbuisman/following{/other_user}",
"gists_url": "https://api.github.com/users/harmbuisman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/harmbuisman",
"id": 7702207,
"login": "harmbuisman",
"node_id": "MDQ6VXNlcjc3MDIyMDc=",
"organizations_url": "https://api.github.com/users/harmbuisman/orgs",
"received_events_url": "https://api.github.com/users/harmbuisman/received_events",
"repos_url": "https://api.github.com/users/harmbuisman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/harmbuisman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harmbuisman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/harmbuisman"
} | [
{
"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 | 6 | 2020-02-27T10:33:19Z | 2020-07-17T16:06:20Z | 2020-03-11T14:06:27Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
categories = ['B', 'A', 'C']
a = pd.DataFrame({'x':categories})
a['y'] = 1
a['value'] = 1
a['x'] = a['x'].astype('category')
# the sort_values is important here to trigger the bug
b = a.copy().sort_values('x')
a['x'] = a['x'].cat.set_categories(categories)
print(a['x'])
print(b['x'])
a = a.set_index(['x', 'y'], )['value']
b = b.set_index(['x', 'y'], )['value']
a.mul(b)
```
#### Problem description
In pandas 1.01+ the result of running the above code is wrong, where it returns the correct result in 0.25.3
The output of the above in 1.0.5 gives two NaN values with duplicate index entry:

It is triggered with the following conditions:
- having a multi-index
- a difference in the order of the categories in the index (using the set_categories)
- a difference in order of the index itself (using the sort_values)
#### Expected Output
The expected output is returned in 0.25.3:

#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.0.5
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 46.1.3.post20200325
Cython : 0.29.16
pytest : 5.4.1
hypothesis : 5.19.3
sphinx : 3.1.2
blosc : None
feather : None
xlsxwriter : 1.2.9
lxml.etree : 4.5.2
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.16.1
pandas_datareader: None
bs4 : 4.9.1
bottleneck : 1.3.2
fastparquet : None
gcsfs : None
lxml.etree : 4.5.2
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.4
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
pytest : 5.4.1
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.18
tables : 3.6.1
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.9
numba : 0.50.1
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32288/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32288/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32289 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32289/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32289/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32289/events | https://github.com/pandas-dev/pandas/issues/32289 | 572,026,922 | MDU6SXNzdWU1NzIwMjY5MjI= | 32,289 | CI Failing - Linux py37_np_dev - test_constructor_list_frames | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "5319e7",
"default": false,
"description": ... | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 8 | 2020-02-27T11:45:18Z | 2020-06-30T11:54:57Z | 2020-06-30T11:54:57Z | MEMBER | null | https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=29531&view=logs&j=3a03f79d-0b41-5610-1aa4-b4a014d0bc70&t=4d05ed0e-1ed3-5bff-dd63-1e957f2766a9 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32289/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32289/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32290 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32290/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32290/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32290/events | https://github.com/pandas-dev/pandas/pull/32290 | 572,047,046 | MDExOlB1bGxSZXF1ZXN0MzgwODE5NDk3 | 32,290 | TST/CLN: Follow-up to #32158 | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "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-02-27T12:23:25Z | 2020-02-27T16:32:33Z | 2020-02-27T16:11:48Z | MEMBER | null | xref #32158
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32290/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32290/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32290.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32290",
"merged_at": "2020-02-27T16:11:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32290.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32290"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32291 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32291/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32291/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32291/events | https://github.com/pandas-dev/pandas/pull/32291 | 572,049,851 | MDExOlB1bGxSZXF1ZXN0MzgwODIxOTI0 | 32,291 | BUG: groupby with sort=False creates buggy MultiIndex | {
"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 | 2 | 2020-02-27T12:28:04Z | 2020-02-27T15:51:21Z | 2020-02-27T15:51:21Z | MEMBER | null | - [ ] closes #32259
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
EDIT
----
probably better/less invasive to make sure .groupby(, sort=False) returns an object where the index has codes which reflect the ordering | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32291/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32291/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32291.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32291",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32291.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32291"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32292 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32292/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32292/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32292/events | https://github.com/pandas-dev/pandas/pull/32292 | 572,065,609 | MDExOlB1bGxSZXF1ZXN0MzgwODM1MTIx | 32,292 | TST: Use `sort` fixture in more places | {
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 3 | 2020-02-27T12:55:54Z | 2020-02-28T14:40:32Z | 2020-02-28T14:40:32Z | CONTRIBUTOR | null | - [x] closes #32183
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32292/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32292/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32292.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32292",
"merged_at": "2020-02-28T14:40:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32292.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32292"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32293 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32293/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32293/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32293/events | https://github.com/pandas-dev/pandas/issues/32293 | 572,068,095 | MDU6SXNzdWU1NzIwNjgwOTU= | 32,293 | ENH: implement SeriesGroupBy.corrwith | {
"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": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
... | open | false | null | [] | null | 2 | 2020-02-27T13:00:32Z | 2020-06-02T13:36:03Z | null | MEMBER | null | Sample data
```python
>>> import pandas as pd
>>> pd.__version__ # on current master
'1.1.0.dev0+613.g97c0ce962'
>>> df = pd.DataFrame({'key': list('aaabbb'), 'value': [1, 2, 3, 3, 2, 1]})
>>> df
key value
0 a 1
1 a 2
2 a 3
3 b 3
4 b 2
5 b 1
```
Issue
```python
>>> df.groupby('key')
<pandas.core.groupby.generic.DataFrameGroupBy object at 0x000001C0D32FC400>
# DataFrameGroupBy.corrwith has no issues
>>> df.groupby('key').corrwith(pd.Series([1,2,3,1,2,3]))
value
key
a 1.0
b -1.0
>>> df.groupby('key')['value']
<pandas.core.groupby.generic.SeriesGroupBy object at 0x000001C0D279BF28>
# SeriesGroupBy.corrwith is not implemented
>>> df.groupby('key')['value'].corrwith(pd.Series([1, 2, 3, 1, 2, 3]))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "c:\users\xxx\xxx\pandas\pandas\core\groupby\groupby.py", line 580, in __getattr__
f"'{type(self).__name__}' object has no attribute '{attr}'"
AttributeError: 'SeriesGroupBy' object has no attribute 'corrwith'
```
#### Problem description
As shown above, DataFrameGroupBy.corrwith has no issues and works as expected. However, the corresponding SeriesGroupBy.corrwith is not implemented and reports error.
#### Expected Output
```python
>>> df.groupby('key')['value'].corrwith(pd.Series([1, 2, 3, 1, 2, 3]))
value
key
a 1.0
b -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/32293/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32293/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32294 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32294/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32294/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32294/events | https://github.com/pandas-dev/pandas/pull/32294 | 572,074,011 | MDExOlB1bGxSZXF1ZXN0MzgwODQxOTYz | 32,294 | ENH: Move corrwith from transformation to reduction kernels in groupby.base | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 5 | 2020-02-27T13:10:59Z | 2020-05-29T10:47:56Z | 2020-03-12T04:47:13Z | MEMBER | null | - [x] closes #31270
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32294/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32294/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32294.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32294",
"merged_at": "2020-03-12T04:47:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32294.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32294"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32295 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32295/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32295/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32295/events | https://github.com/pandas-dev/pandas/issues/32295 | 572,161,807 | MDU6SXNzdWU1NzIxNjE4MDc= | 32,295 | Incomplete reference to `convert_dtypes` in `to_numeric` docstring | {
"avatar_url": "https://avatars.githubusercontent.com/u/7080811?v=4",
"events_url": "https://api.github.com/users/onietosi/events{/privacy}",
"followers_url": "https://api.github.com/users/onietosi/followers",
"following_url": "https://api.github.com/users/onietosi/following{/other_user}",
"gists_url": "https://api.github.com/users/onietosi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/onietosi",
"id": 7080811,
"login": "onietosi",
"node_id": "MDQ6VXNlcjcwODA4MTE=",
"organizations_url": "https://api.github.com/users/onietosi/orgs",
"received_events_url": "https://api.github.com/users/onietosi/received_events",
"repos_url": "https://api.github.com/users/onietosi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/onietosi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/onietosi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/onietosi"
} | [
{
"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/10119969?v=4",
"events_url": "https://api.github.com/users/jqmviegas/events{/privacy}",
"followers_url": "https://api.github.com/users/jqmviegas/followers",
"following_url": "https://api.github.com/users/jqmviegas/following{/other_user}",
"gists_url": "https://api.github.com/users/jqmviegas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jqmviegas",
"id": 10119969,
"login": "jqmviegas",
"node_id": "MDQ6VXNlcjEwMTE5OTY5",
"organizations_url": "https://api.github.com/users/jqmviegas/orgs",
"received_events_url": "https://api.github.com/users/jqmviegas/received_events",
"repos_url": "https://api.github.com/users/jqmviegas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jqmviegas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jqmviegas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jqmviegas"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/10119969?v=4",
"events_url": "https://api.github.com/users/jqmviegas/events{/privacy}",
"followers_url": "https://api.github.com/users/jqmviegas/followers",
"following_url": "https://api.github.com/users/jqmviegas/following{/other_user}",
... | {
"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-02-27T15:31:27Z | 2020-02-29T03:07:24Z | 2020-02-29T03:07:24Z | NONE | null | In the `pandas.to_numeric` [documentation page](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.to_numeric.html), in the **See also** section, `convert_dtypes` has no link attached to it.
I am not familiar with contributing to the docs but I believe this is because the docstring of `to_numeric` refers to `convert_dtypes` instead of `DataFrame.convert_dtypes`.
https://github.com/pandas-dev/pandas/blob/29d6b0232aab9576afa896ff5bab0b994760495a/pandas/core/tools/numeric.py#L67-L73 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32295/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32295/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32296 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32296/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32296/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32296/events | https://github.com/pandas-dev/pandas/issues/32296 | 572,184,462 | MDU6SXNzdWU1NzIxODQ0NjI= | 32,296 | [FR] Add keyword or option to print column names at bottom of output, not just top. | {
"avatar_url": "https://avatars.githubusercontent.com/u/145117?v=4",
"events_url": "https://api.github.com/users/mankoff/events{/privacy}",
"followers_url": "https://api.github.com/users/mankoff/followers",
"following_url": "https://api.github.com/users/mankoff/following{/other_user}",
"gists_url": "https://api.github.com/users/mankoff/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mankoff",
"id": 145117,
"login": "mankoff",
"node_id": "MDQ6VXNlcjE0NTExNw==",
"organizations_url": "https://api.github.com/users/mankoff/orgs",
"received_events_url": "https://api.github.com/users/mankoff/received_events",
"repos_url": "https://api.github.com/users/mankoff/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mankoff/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mankoff/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mankoff"
} | [
{
"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": "ededed",
"default": false,
"description": "__repr__... | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 3 | 2020-02-27T16:07:45Z | 2020-07-22T10:53:39Z | null | CONTRIBUTOR | null |
```python
import numpy as np
import pandas as pd
pd.DataFrame(np.random.random((4,3)), columns=['a','b','c'])
```
Generates
```
| | a | b | c |
|---+----------+-----------+----------|
| 0 | 0.87267 | 0.429153 | 0.545497 |
| 1 | 0.596757 | 0.811766 | 0.797137 |
| 2 | 0.175432 | 0.0254871 | 0.560906 |
| 3 | 0.426507 | 0.39993 | 0.418244 |
```
#### Problem description
Org-mode or Jupyter Notebooks often include Pandas table output. Pandas does try to intelligently limit printed output, but there are times when it is useful to have tables larger than can fit on screen. In this case, having column names repeated at the bottom (or even every `repeat` row) would improve readability and usability.
#### Expected Output
If set to print at bottom, it would be nice to have the option to generate this:
```
| | a | b | c |
|---+----------+-----------+----------|
| 0 | 0.87267 | 0.429153 | 0.545497 |
| 1 | 0.596757 | 0.811766 | 0.797137 |
| 2 | 0.175432 | 0.0254871 | 0.560906 |
| 3 | 0.426507 | 0.39993 | 0.418244 |
|---+----------+-----------+----------|
| | a | b | c |
```
If set to print headers every 2nd row, then it might look like this:
```
| | a | b | c |
|---+----------+-----------+----------|
| 0 | 0.87267 | 0.429153 | 0.545497 |
| 1 | 0.596757 | 0.811766 | 0.797137 |
|---+----------+-----------+----------|
| | a | b | c |
|---+----------+-----------+----------|
| 2 | 0.175432 | 0.0254871 | 0.560906 |
| 3 | 0.426507 | 0.39993 | 0.418244 |
|---+----------+-----------+----------|
| | a | b | c |
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32296/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32296/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32297 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32297/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32297/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32297/events | https://github.com/pandas-dev/pandas/pull/32297 | 572,200,626 | MDExOlB1bGxSZXF1ZXN0MzgwOTQ4NDYy | 32,297 | TST: remove invalid internals tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "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-02-27T16:31:16Z | 2020-02-28T16:16:32Z | 2020-02-28T11:49:24Z | MEMBER | null | Delay validation check in get_slice is also nice. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32297/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32297/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32297.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32297",
"merged_at": "2020-02-28T11:49:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32297.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32297"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32298 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32298/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32298/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32298/events | https://github.com/pandas-dev/pandas/pull/32298 | 572,207,110 | MDExOlB1bGxSZXF1ZXN0MzgwOTUzNzUy | 32,298 | fixed minor docstring typo | {
"avatar_url": "https://avatars.githubusercontent.com/u/145117?v=4",
"events_url": "https://api.github.com/users/mankoff/events{/privacy}",
"followers_url": "https://api.github.com/users/mankoff/followers",
"following_url": "https://api.github.com/users/mankoff/following{/other_user}",
"gists_url": "https://api.github.com/users/mankoff/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mankoff",
"id": 145117,
"login": "mankoff",
"node_id": "MDQ6VXNlcjE0NTExNw==",
"organizations_url": "https://api.github.com/users/mankoff/orgs",
"received_events_url": "https://api.github.com/users/mankoff/received_events",
"repos_url": "https://api.github.com/users/mankoff/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mankoff/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mankoff/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mankoff"
} | [
{
"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-02-27T16:41:15Z | 2020-02-27T17:53:49Z | 2020-02-27T17:53:35Z | CONTRIBUTOR | null | - [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32298/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32298/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32298.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32298",
"merged_at": "2020-02-27T17:53:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32298.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32298"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32299 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32299/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32299/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32299/events | https://github.com/pandas-dev/pandas/pull/32299 | 572,240,869 | MDExOlB1bGxSZXF1ZXN0MzgwOTgwNzUz | 32,299 | CLN: Using sum instead of looping | {
"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 | 3 | 2020-02-27T17:32:41Z | 2020-02-29T10:28:28Z | 2020-02-28T15:38:52Z | MEMBER | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32299/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32299/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32299.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32299",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32299.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32299"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32300 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32300/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32300/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32300/events | https://github.com/pandas-dev/pandas/pull/32300 | 572,255,436 | MDExOlB1bGxSZXF1ZXN0MzgwOTkyMjc4 | 32,300 | REF/TST: misplaced tests in test_timeseries, test_timezones | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"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-02-27T17:59:40Z | 2020-02-27T20:05:29Z | 2020-02-27T18:45:19Z | 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/32300/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32300/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32300.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32300",
"merged_at": "2020-02-27T18:45:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32300.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32300"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/32301 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32301/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32301/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32301/events | https://github.com/pandas-dev/pandas/issues/32301 | 572,259,407 | MDU6SXNzdWU1NzIyNTk0MDc= | 32,301 | CI: Notifications when a job in GitHub Actions fails | {
"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"
}
] | open | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/16315857?v=4",
"events_url": "https://api.github.com/users/leeyspaul/events{/privacy}",
"followers_url": "https://api.github.com/users/leeyspaul/followers",
"following_url": "https://api.github.com/users/leeyspaul/following{/other_user}",
"gists_url": "https://api.github.com/users/leeyspaul/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/leeyspaul",
"id": 16315857,
"login": "leeyspaul",
"node_id": "MDQ6VXNlcjE2MzE1ODU3",
"organizations_url": "https://api.github.com/users/leeyspaul/orgs",
"received_events_url": "https://api.github.com/users/leeyspaul/received_events",
"repos_url": "https://api.github.com/users/leeyspaul/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/leeyspaul/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leeyspaul/subscriptions",
"type": "User",
"url": "https://api.github.com/users/leeyspaul"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/16315857?v=4",
"events_url": "https://api.github.com/users/leeyspaul/events{/privacy}",
"followers_url": "https://api.github.com/users/leeyspaul/followers",
"following_url": "https://api.github.com/users/leeyspaul/following{/other_user}",
... | null | 6 | 2020-02-27T18:06:27Z | 2021-07-29T04:45:55Z | null | MEMBER | null | xref #32279
For what I see, when a build in the CI for a commit to master fails, only the user who triggered the action receives an alert (assuming the user has notifications enabled in [their settings](https://github.com/settings/notifications#github-actions-heading)).
I think for Travis and pipelines, some people are receiving notifications for all the failures. Ideally we would like to be able to do the same for actions. I had a quick look, but not sure how this can be enabled. I checked in the settings, but no option seems to exist. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32301/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32301/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32302 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32302/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32302/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32302/events | https://github.com/pandas-dev/pandas/pull/32302 | 572,264,142 | MDExOlB1bGxSZXF1ZXN0MzgwOTk4Mjc4 | 32,302 | TYP: Groupby sum|prod|min|max|first|last methods | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "ea91a4",
"default": false,
"description": "type annotation... | closed | false | null | [] | null | 11 | 2020-02-27T18:14:32Z | 2020-05-15T21:21:23Z | 2020-05-15T21:20:59Z | CONTRIBUTOR | null | This makes two things:
* makes mypy know the signatures of the agg methods (``sum``, ``prod``, etc.) on Groupby
* gives the agg methods on Groupby objects a return type
This ensues that mypy and IDE's always know that the return type of e.g. ``df.groupby('a').sum()`` is a DataFrame, which is nice when chaining. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32302/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32302/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32302.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32302",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32302.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32302"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32303 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32303/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32303/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32303/events | https://github.com/pandas-dev/pandas/issues/32303 | 572,267,591 | MDU6SXNzdWU1NzIyNjc1OTE= | 32,303 | CI: Publishing development web and docs to GitHub actions fails | {
"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": "a2bca7",
"default": false,
"description": "Continuous Integratio... | closed | false | null | [] | null | 2 | 2020-02-27T18:21:08Z | 2020-03-11T12:58:03Z | 2020-03-11T12:58:03Z | MEMBER | null | Looks like using the ssh key to publish the development web and docs is not working. The error we get in the CI is that [the key has an invalid format](https://github.com/pandas-dev/pandas/runs/472871471?check_suite_focus=true#step:14:10).
I guess it's not as simple as the key content being incorrect, I guess it can't be obtained from the secrets, and probably the used key is just empty.
The relevant code is in the [yaml of the GitHub action](https://github.com/pandas-dev/pandas/blob/master/.github/workflows/ci.yml#L180).
Besides making sure that the key is correct (that it's the private and not the public, it's complete...), I guess a good test to help identify the problem could be replace the content of the key by some random text, and echo it and see that we're ready getting the full content with no garbage in it.
I think just few people have access to it, @TomAugspurger do you have time for it? Or do you know who else has access to the settings? I think it was said in some thread, but I fail to remember. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32303/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32303/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32304 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32304/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32304/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32304/events | https://github.com/pandas-dev/pandas/pull/32304 | 572,269,598 | MDExOlB1bGxSZXF1ZXN0MzgxMDAyNTU3 | 32,304 | BUG: Fix __ne__ comparison for Categorical | {
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
} | [
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "e11d21",
"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-02-27T18:25:01Z | 2020-09-09T01:01:00Z | 2020-03-03T03:28:43Z | MEMBER | null | - [x] closes #32276
- [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/32304/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32304/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32304.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32304",
"merged_at": "2020-03-03T03:28:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32304.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32304"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32305 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32305/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32305/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32305/events | https://github.com/pandas-dev/pandas/pull/32305 | 572,277,170 | MDExOlB1bGxSZXF1ZXN0MzgxMDA4Mzk5 | 32,305 | BUG: set df.plot.area linewidth to 0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/1741631?v=4",
"events_url": "https://api.github.com/users/leogermond/events{/privacy}",
"followers_url": "https://api.github.com/users/leogermond/followers",
"following_url": "https://api.github.com/users/leogermond/following{/other_user}",
"gists_url": "https://api.github.com/users/leogermond/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/leogermond",
"id": 1741631,
"login": "leogermond",
"node_id": "MDQ6VXNlcjE3NDE2MzE=",
"organizations_url": "https://api.github.com/users/leogermond/orgs",
"received_events_url": "https://api.github.com/users/leogermond/received_events",
"repos_url": "https://api.github.com/users/leogermond/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/leogermond/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leogermond/subscriptions",
"type": "User",
"url": "https://api.github.com/users/leogermond"
} | [
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] | closed | false | null | [] | null | 4 | 2020-02-27T18:39:27Z | 2020-04-07T15:47:11Z | 2020-04-07T15:47:10Z | NONE | null |
- [x] closes #32106
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry (`1.1.0`)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32305/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32305/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32305.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32305",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32305.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32305"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32306 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32306/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32306/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32306/events | https://github.com/pandas-dev/pandas/issues/32306 | 572,281,163 | MDU6SXNzdWU1NzIyODExNjM= | 32,306 | Joining on a nullable column | {
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stac... | open | false | null | [] | {
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
} | 13 | 2020-02-27T18:46:41Z | 2021-11-12T02:15:12Z | null | MEMBER | null | ```python
import pandas as pd
left = pd.DataFrame({"a": [1, 2, pd.NA]}, dtype="Int64")
right = pd.DataFrame({"b": [1, 2, pd.NA]}, dtype="Int64")
pd.merge(left, right, how="inner", left_on="a", right_on="b")
# a b
# 0 1 1
# 1 2 2
# 2 <NA> <NA>
```
(Above is from 1.0.1 and master)
I think when joining on a nullable column we should not be matching `NA` with `NA` and should only be joining where we have unambiguous equality (as in SQL). Also worth noting that this is the same as what happens when we have `NaN` which also seems incorrect, so could be an opportunity to fix this behavior?
```python
pd.merge(left.astype(float), right.astype(float), how="inner", left_on="a", right_on="b")
# a b
# 0 1.0 1.0
# 1 2.0 2.0
# 2 NaN NaN
```
#### Expected Output
```
a b
0 1 1
1 2 2
```
cc @jorisvandenbossche | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32306/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32306/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32307 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32307/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32307/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32307/events | https://github.com/pandas-dev/pandas/issues/32307 | 572,292,421 | MDU6SXNzdWU1NzIyOTI0MjE= | 32,307 | WEB: Multiple "Getting Started" on pandas.io leads to different links | {
"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": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "23ef97",
"default": false,
"de... | open | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/23338562?v=4",
"events_url": "https://api.github.com/users/SouravPal1995/events{/privacy}",
"followers_url": "https://api.github.com/users/SouravPal1995/followers",
"following_url": "https://api.github.com/users/SouravPal1995/following{/other_user}",
"gists_url": "https://api.github.com/users/SouravPal1995/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SouravPal1995",
"id": 23338562,
"login": "SouravPal1995",
"node_id": "MDQ6VXNlcjIzMzM4NTYy",
"organizations_url": "https://api.github.com/users/SouravPal1995/orgs",
"received_events_url": "https://api.github.com/users/SouravPal1995/received_events",
"repos_url": "https://api.github.com/users/SouravPal1995/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SouravPal1995/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SouravPal1995/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SouravPal1995"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/23338562?v=4",
"events_url": "https://api.github.com/users/SouravPal1995/events{/privacy}",
"followers_url": "https://api.github.com/users/SouravPal1995/followers",
"following_url": "https://api.github.com/users/SouravPal1995/following{/other_... | null | 9 | 2020-02-27T19:06:20Z | 2021-01-29T17:12:14Z | null | MEMBER | null | Another piece of feedback from the CZI EOSS kickoff meeting that @WillAyd and I attended:
The current https://pandas.io/ home page has 2 `Getting started` links:
<img width="1433" alt="Screen Shot 2020-02-27 at 10 56 32 AM" src="https://user-images.githubusercontent.com/10647082/75477029-7bf30000-5950-11ea-8fc5-d0280c69067f.png">
The upper right one in the top ribbon leads to https://pandas.io/getting_started.html
The bottom left one leads to https://pandas.io/docs/getting_started/index.html
People found it confusing that they linked to different pages and did not completely contain the same information. From a user experience perspective, it would be great to have these point to the same page, especially since both pages essentially have the same information. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32307/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32307/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32308 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32308/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32308/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32308/events | https://github.com/pandas-dev/pandas/issues/32308 | 572,298,680 | MDU6SXNzdWU1NzIyOTg2ODA= | 32,308 | DOC: Consolidate pages under /docs/getting_started | {
"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": "23ef97",
"default": false,
"description": "pandas website",
"id": 1508144531,
"name": "Web",
"node_id": "MDU6TGFiZWwxNTA4MTQ0NTMx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Web"
}
] | closed | false | null | [] | null | 3 | 2020-02-27T19:18:24Z | 2020-03-11T22:15:21Z | 2020-03-11T22:15:21Z | MEMBER | null | Another piece of feedback from the CZI EOSS kickoff meeting that @WillAyd and I attended:
In https://pandas.io/docs/getting_started/index.html, we link to the following pages in the left side:
<img width="1429" alt="Screen Shot 2020-02-27 at 11 09 33 AM" src="https://user-images.githubusercontent.com/10647082/75478083-2e779280-5952-11ea-9cf9-d49c308a69f1.png">
We got feedback to:
1. Have a dedicated link to the pandas cheat sheet: https://github.com/pandas-dev/pandas/blob/master/doc/cheatsheet/Pandas_Cheat_Sheet.pdf
2. Consolidate `Getting started tutorials`, `Tutorials`, and `10 minutes to pandas` (which is linked already in `Tutorials`) into a singular `Tutorials` 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/32308/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32308/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32309 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32309/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32309/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32309/events | https://github.com/pandas-dev/pandas/pull/32309 | 572,330,238 | MDExOlB1bGxSZXF1ZXN0MzgxMDQ5NzY3 | 32,309 | DOC: Reorder 1.0 releases in whatsnew/index.rst | {
"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": "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 | 0 | 2020-02-27T20:11:29Z | 2020-02-28T00:09:20Z | 2020-02-28T00:09:16Z | MEMBER | null | - Reorders 1.x releases in descending chronological order (consistent with the other versions sections)
- Hyperlinks `commit logs`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32309/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32309/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32309.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32309",
"merged_at": "2020-02-28T00:09:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32309.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32309"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32310 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32310/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32310/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32310/events | https://github.com/pandas-dev/pandas/pull/32310 | 572,358,293 | MDExOlB1bGxSZXF1ZXN0MzgxMDcyMjMy | 32,310 | BUG: PeriodIndex.asof_locs | {
"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"
} | 3 | 2020-02-27T21:04:06Z | 2020-03-08T16:04:31Z | 2020-03-08T15:39:07Z | 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/32310/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32310/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32310.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32310",
"merged_at": "2020-03-08T15:39:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32310.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32310"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/32311 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32311/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32311/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32311/events | https://github.com/pandas-dev/pandas/pull/32311 | 572,367,902 | MDExOlB1bGxSZXF1ZXN0MzgxMDgwMTYx | 32,311 | TST: refactored test_factorize | {
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 4 | 2020-02-27T21:22:58Z | 2020-03-07T18:35:35Z | 2020-03-07T18:35:21Z | CONTRIBUTOR | null | part of #23877
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32311/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32311/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32311.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32311",
"merged_at": "2020-03-07T18:35:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32311.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32311"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32312 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32312/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32312/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32312/events | https://github.com/pandas-dev/pandas/pull/32312 | 572,400,278 | MDExOlB1bGxSZXF1ZXN0MzgxMTA0Nzc0 | 32,312 | DOC: Add examples to the method MultiIndex.is_lexsorted() | {
"avatar_url": "https://avatars.githubusercontent.com/u/34237447?v=4",
"events_url": "https://api.github.com/users/RaisaDZ/events{/privacy}",
"followers_url": "https://api.github.com/users/RaisaDZ/followers",
"following_url": "https://api.github.com/users/RaisaDZ/following{/other_user}",
"gists_url": "https://api.github.com/users/RaisaDZ/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/RaisaDZ",
"id": 34237447,
"login": "RaisaDZ",
"node_id": "MDQ6VXNlcjM0MjM3NDQ3",
"organizations_url": "https://api.github.com/users/RaisaDZ/orgs",
"received_events_url": "https://api.github.com/users/RaisaDZ/received_events",
"repos_url": "https://api.github.com/users/RaisaDZ/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/RaisaDZ/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RaisaDZ/subscriptions",
"type": "User",
"url": "https://api.github.com/users/RaisaDZ"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 2 | 2020-02-27T22:26:43Z | 2020-04-02T00:13:33Z | 2020-04-02T00:13:26Z | CONTRIBUTOR | null | - [ ] xref #32179
- [ ] 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/32312/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32312/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32312.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32312",
"merged_at": "2020-04-02T00:13:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32312.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32312"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32313 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32313/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32313/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32313/events | https://github.com/pandas-dev/pandas/pull/32313 | 572,402,081 | MDExOlB1bGxSZXF1ZXN0MzgxMTA1OTY4 | 32,313 | TST: Using more fixtures in of tests/base/test_ops.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] | closed | false | null | [] | {
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
} | 5 | 2020-02-27T22:29:52Z | 2020-03-03T02:48:43Z | 2020-03-03T02:48:38Z | CONTRIBUTOR | null | part of #23877
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32313/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32313/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32313.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32313",
"merged_at": "2020-03-03T02:48:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32313.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32313"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32314 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32314/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32314/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32314/events | https://github.com/pandas-dev/pandas/pull/32314 | 572,408,746 | MDExOlB1bGxSZXF1ZXN0MzgxMTExNDA2 | 32,314 | REF/TST: misplaced MultiIndex tests | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "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"
} | 0 | 2020-02-27T22:45:40Z | 2020-02-28T16:23:08Z | 2020-02-28T11:47:13Z | MEMBER | null | AFAICT this gets all of the tests currently in test_multilevel that are only testing MultiIndex. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32314/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32314/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32314.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32314",
"merged_at": "2020-02-28T11:47:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32314.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32314"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/32315 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/32315/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/32315/comments | https://api.github.com/repos/pandas-dev/pandas/issues/32315/events | https://github.com/pandas-dev/pandas/pull/32315 | 572,409,039 | MDExOlB1bGxSZXF1ZXN0MzgxMTExNjM1 | 32,315 | REGR: SeriesGroupby transform unique | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | null | 3 | 2020-02-27T22:46:27Z | 2020-10-10T14:14:56Z | 2020-03-03T03:15:08Z | MEMBER | null | - [x] closes #31849
- [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/32315/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/32315/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/32315.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32315",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32315.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32315"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.