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/39919
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39919/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39919/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39919/events
|
https://github.com/pandas-dev/pandas/pull/39919
| 812,364,629
|
MDExOlB1bGxSZXF1ZXN0NTc2NzQzMDA5
| 39,919
|
TYP: create a Frequency alias in _typing
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/48889395?v=4",
"events_url": "https://api.github.com/users/arw2019/events{/privacy}",
"followers_url": "https://api.github.com/users/arw2019/followers",
"following_url": "https://api.github.com/users/arw2019/following{/other_user}",
"gists_url": "https://api.github.com/users/arw2019/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/arw2019",
"id": 48889395,
"login": "arw2019",
"node_id": "MDQ6VXNlcjQ4ODg5Mzk1",
"organizations_url": "https://api.github.com/users/arw2019/orgs",
"received_events_url": "https://api.github.com/users/arw2019/received_events",
"repos_url": "https://api.github.com/users/arw2019/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/arw2019/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arw2019/subscriptions",
"type": "User",
"url": "https://api.github.com/users/arw2019"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-19T21:29:43Z
| 2021-02-21T17:56:15Z
| 2021-02-21T17:56:08Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Spinning off a piece of #38416
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39919/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39919/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39919.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39919",
"merged_at": "2021-02-21T17:56:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39919.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39919"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39920
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39920/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39920/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39920/events
|
https://github.com/pandas-dev/pandas/issues/39920
| 812,388,716
|
MDU6SXNzdWU4MTIzODg3MTY=
| 39,920
|
BUG: "unique" and pd.Series.unique produce different results with aggregation
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13620282?v=4",
"events_url": "https://api.github.com/users/iakremnev/events{/privacy}",
"followers_url": "https://api.github.com/users/iakremnev/followers",
"following_url": "https://api.github.com/users/iakremnev/following{/other_user}",
"gists_url": "https://api.github.com/users/iakremnev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/iakremnev",
"id": 13620282,
"login": "iakremnev",
"node_id": "MDQ6VXNlcjEzNjIwMjgy",
"organizations_url": "https://api.github.com/users/iakremnev/orgs",
"received_events_url": "https://api.github.com/users/iakremnev/received_events",
"repos_url": "https://api.github.com/users/iakremnev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/iakremnev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/iakremnev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/iakremnev"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
open
| false
| null |
[] | null | 0
| 2021-02-19T22:11:19Z
| 2021-08-15T18:44:25Z
| null |
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
df = pd.DataFrame({"a": [1, 2, 1, 2], "b": [2, 1, 1, 2]})
g = df.groupby("a")
for aggfunc in ["unique", pd.unique, pd.Series.unique]:
try:
print(g.agg({"b": aggfunc}))
except ValueError as e:
print(f"{aggfunc!r} failed with {e!r}")
```
Running this script produces
```
b
a
1 [2, 1]
2 [1, 2]
<function unique at 0x7f6885cc7310> failed with ValueError('Must produce aggregated value')
<function Series.unique at 0x7f688369f8b0> failed with ValueError('Must produce aggregated value')
```
#### Problem description
When using "unique" str as the `aggfunc` parameter, internally it is [interpreted](https://github.com/pandas-dev/pandas/blob/v1.2.2/pandas/core/groupby/generic.py#L241) as `pd.Series.unique`. I expect identical results when passing "unique" and `pd.Series.unique`, or `pd.unique` but they are not.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : f904213ffcc36d3ae29c37ae28fbb1844a0769ab
python : 3.9.1.final.0
python-bits : 64
OS : Linux
OS-release : 5.10.11-arch1-1
Version : #1 SMP PREEMPT Wed, 27 Jan 2021 13:53:16 +0000
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.3.0.dev0+772.gf904213ffc
numpy : 1.20.1
pytz : 2021.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 49.2.1
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39920/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39920/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39921
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39921/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39921/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39921/events
|
https://github.com/pandas-dev/pandas/issues/39921
| 812,428,593
|
MDU6SXNzdWU4MTI0Mjg1OTM=
| 39,921
|
ENH: get_rename_function: add support for __getitem__ override
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/31741972?v=4",
"events_url": "https://api.github.com/users/philippefutureboy/events{/privacy}",
"followers_url": "https://api.github.com/users/philippefutureboy/followers",
"following_url": "https://api.github.com/users/philippefutureboy/following{/other_user}",
"gists_url": "https://api.github.com/users/philippefutureboy/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/philippefutureboy",
"id": 31741972,
"login": "philippefutureboy",
"node_id": "MDQ6VXNlcjMxNzQxOTcy",
"organizations_url": "https://api.github.com/users/philippefutureboy/orgs",
"received_events_url": "https://api.github.com/users/philippefutureboy/received_events",
"repos_url": "https://api.github.com/users/philippefutureboy/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/philippefutureboy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/philippefutureboy/subscriptions",
"type": "User",
"url": "https://api.github.com/users/philippefutureboy"
}
|
[
{
"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": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] |
closed
| false
| null |
[] | null | 5
| 2021-02-19T23:25:35Z
| 2021-08-15T18:46:24Z
| 2021-08-15T18:46:18Z
|
NONE
| null |
#### Is your feature request related to a problem?
I would like to be able to use a subclass of UserDict with custom `__getitem__` implementation as a mapper for my dataframe columns. My use case is that I want to have a mapper with default remapping rules when the key is not present.
Unfortunately, as the implementation checks for membership of the key before actually calling `__getitem__`, I am only able to do the behaviour by wrapping the UserDict with a lambda.
Current implementation of get_rename_function in pandas:
```
def get_rename_function(mapper):
"""
Returns a function that will map names/labels, dependent if mapper
is a dict, Series or just a function.
"""
if isinstance(mapper, (abc.Mapping, ABCSeries)):
def f(x):
if x in mapper:
return mapper[x]
else:
return x
else:
f = mapper
return f
```
My proposition is the following:
```
def get_rename_function(mapper):
"""
Returns a function that will map names/labels, dependent if mapper
is a dict, Series or just a function.
"""
if isinstance(mapper, (abc.Mapping, ABCSeries)):
def f(k):
return mapper.get(k, k)
else:
f = mapper
return f
```
which functionally should result in the same behaviour.
The advantage for me is that `__getitem__` is called and I can process k to return my default mapping.
I don't know however if this would have a significant performance impact. If so, alternatively I'd propose the following:
```
def get_rename_function(mapper):
"""
Returns a function that will map names/labels, dependent if mapper
is a dict, Series or just a function.
"""
if not callable(mapper) and isinstance(mapper, (abc.Mapping, ABCSeries)):
def f(x):
if x in mapper:
return mapper[x]
else:
return x
else:
f = mapper
return f
```
Then I could implement the `__call__` method. The downside however is that this could be a breaking change for some people that pass a subclass of a Mapping as well.
What do you think?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39921/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39921/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39922
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39922/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39922/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39922/events
|
https://github.com/pandas-dev/pandas/pull/39922
| 812,446,043
|
MDExOlB1bGxSZXF1ZXN0NTc2ODEwNTg2
| 39,922
|
BENCH: collect isin asvs
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-20T00:15:21Z
| 2021-02-21T17:37:28Z
| 2021-02-21T17:27:47Z
|
MEMBER
| null |
Pushes these as far towards parametrization as I can get them. We end up adding a few cases, dropping none.
Decides on a policy to benchmark Series.isin and leave the others alone (see `algos/__init__.py`)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39922/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39922/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39922.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39922",
"merged_at": "2021-02-21T17:27:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39922.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39922"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39923
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39923/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39923/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39923/events
|
https://github.com/pandas-dev/pandas/pull/39923
| 812,502,813
|
MDExOlB1bGxSZXF1ZXN0NTc2ODU3NDg2
| 39,923
|
REF: De-duplicate ExtensionIndex._validate_fill_value
|
{
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-02-20T03:35:00Z
| 2021-02-21T17:29:14Z
| 2021-02-21T17:26:47Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39923/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39923/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39923.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39923",
"merged_at": "2021-02-21T17:26:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39923.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39923"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39924
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39924/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39924/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39924/events
|
https://github.com/pandas-dev/pandas/issues/39924
| 812,509,085
|
MDU6SXNzdWU4MTI1MDkwODU=
| 39,924
|
Assigning a row using `DataFrame.loc` sometimes fails to preserve type of data
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/12599243?v=4",
"events_url": "https://api.github.com/users/probaddie/events{/privacy}",
"followers_url": "https://api.github.com/users/probaddie/followers",
"following_url": "https://api.github.com/users/probaddie/following{/other_user}",
"gists_url": "https://api.github.com/users/probaddie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/probaddie",
"id": 12599243,
"login": "probaddie",
"node_id": "MDQ6VXNlcjEyNTk5MjQz",
"organizations_url": "https://api.github.com/users/probaddie/orgs",
"received_events_url": "https://api.github.com/users/probaddie/received_events",
"repos_url": "https://api.github.com/users/probaddie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/probaddie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/probaddie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/probaddie"
}
|
[] |
closed
| false
| null |
[] | null | 2
| 2021-02-20T04:11:15Z
| 2021-02-20T14:30:22Z
| 2021-02-20T14:30:22Z
|
NONE
| null |
When assigning a singleton row to a DataFrame with integer type using an `Index` and column, the stored row's `dtype` is sometimes converted to `float64`.
Minimum reproducing example:
```
import pandas as pd
import numpy as np
print(pd.__version__)
print()
df1 = pd.DataFrame({'bar': [0, 1]}) # Initializing with at least one row seems necessary to reproduce
df1.loc[df1.index[:], 'foo'] = np.array([0, 1], dtype=np.int16)
print(df1['foo'])
print()
df2 = pd.DataFrame({'bar': [0]})
df2.loc[df2.index[:], 'foo'] = np.array([0], dtype=np.int16)
print(df2['foo'])
print()
```
Output:
```
1.2.2
0 0
1 1
Name: foo, dtype: int16
0 0.0
Name: foo, dtype: float64
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39924/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39924/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39925
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39925/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39925/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39925/events
|
https://github.com/pandas-dev/pandas/pull/39925
| 812,513,512
|
MDExOlB1bGxSZXF1ZXN0NTc2ODY1NzM4
| 39,925
|
Updated read_html to add option
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/28223951?v=4",
"events_url": "https://api.github.com/users/Derekt2/events{/privacy}",
"followers_url": "https://api.github.com/users/Derekt2/followers",
"following_url": "https://api.github.com/users/Derekt2/following{/other_user}",
"gists_url": "https://api.github.com/users/Derekt2/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Derekt2",
"id": 28223951,
"login": "Derekt2",
"node_id": "MDQ6VXNlcjI4MjIzOTUx",
"organizations_url": "https://api.github.com/users/Derekt2/orgs",
"received_events_url": "https://api.github.com/users/Derekt2/received_events",
"repos_url": "https://api.github.com/users/Derekt2/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Derekt2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Derekt2/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Derekt2"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] | null | 5
| 2021-02-20T04:41:01Z
| 2021-06-08T18:50:20Z
| 2021-06-08T18:50:19Z
|
NONE
| null |
Adds optional boolean parameter "remove_whitespace" to skip the remove_whitespace functionality. Defaults to true to support backwards compatibility. See https://github.com/pandas-dev/pandas/issues/24766
- [ x ] closes #24766
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39925/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39925/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39925.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39925",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39925.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39925"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39926
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39926/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39926/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39926/events
|
https://github.com/pandas-dev/pandas/issues/39926
| 812,518,688
|
MDU6SXNzdWU4MTI1MTg2ODg=
| 39,926
|
BUG: fillna(0) does not fill NaNs for Float64Arrays
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8870922?v=4",
"events_url": "https://api.github.com/users/evyasonov/events{/privacy}",
"followers_url": "https://api.github.com/users/evyasonov/followers",
"following_url": "https://api.github.com/users/evyasonov/following{/other_user}",
"gists_url": "https://api.github.com/users/evyasonov/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/evyasonov",
"id": 8870922,
"login": "evyasonov",
"node_id": "MDQ6VXNlcjg4NzA5MjI=",
"organizations_url": "https://api.github.com/users/evyasonov/orgs",
"received_events_url": "https://api.github.com/users/evyasonov/received_events",
"repos_url": "https://api.github.com/users/evyasonov/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/evyasonov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/evyasonov/subscriptions",
"type": "User",
"url": "https://api.github.com/users/evyasonov"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
},
{
"color": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] |
open
| false
| null |
[] | null | 11
| 2021-02-20T05:14:07Z
| 2021-09-17T09:39:31Z
| null |
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
---
#### Code Sample, a copy-pastable example
```python
f = pandas.DataFrame(data = [[0, 0]], columns = ['A', 'B']).astype('Int64')
f['C'] = f['A'] / f['B']
f.fillna(0)
```
Output:
```
A B C
0 0 0 NaN
```
#### Problem description
fillna does not work as expected. It do not fill na
#### Expected Output
```
A B C
0 0 0 0
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 7d32926db8f7541c356066dcadabf854487738de
python : 3.7.9.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.18362
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.2.2
numpy : 1.18.3
pytz : 2020.5
dateutil : 2.8.1
pip : 20.3.3
setuptools : 51.3.3.post20210118
Cython : 0.29.21
pytest : 6.2.1
hypothesis : None
sphinx : 3.4.3
blosc : None
feather : None
xlsxwriter : 1.3.7
lxml.etree : 4.6.2
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.19.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 0.8.3
fastparquet : 0.3.3
gcsfs : None
matplotlib : 3.2.2
numexpr : 2.7.2
odfpy : None
openpyxl : 3.0.6
pandas_gbq : None
pyarrow : 0.16.0
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : 1.3.21
tables : 3.6.1
tabulate : 0.8.7
xarray : None
xlrd : 2.0.1
xlwt : 1.3.0
numba : 0.51.2
</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/39926/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39926/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39927
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39927/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39927/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39927/events
|
https://github.com/pandas-dev/pandas/issues/39927
| 812,544,603
|
MDU6SXNzdWU4MTI1NDQ2MDM=
| 39,927
|
BUG: Cannot sample on DataFrameGroupBy with weights when index is specified
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8284922?v=4",
"events_url": "https://api.github.com/users/wjsi/events{/privacy}",
"followers_url": "https://api.github.com/users/wjsi/followers",
"following_url": "https://api.github.com/users/wjsi/following{/other_user}",
"gists_url": "https://api.github.com/users/wjsi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wjsi",
"id": 8284922,
"login": "wjsi",
"node_id": "MDQ6VXNlcjgyODQ5MjI=",
"organizations_url": "https://api.github.com/users/wjsi/orgs",
"received_events_url": "https://api.github.com/users/wjsi/received_events",
"repos_url": "https://api.github.com/users/wjsi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wjsi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wjsi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wjsi"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-02-20T07:49:37Z
| 2021-02-24T17:58:05Z
| 2021-02-24T17:58:05Z
|
CONTRIBUTOR
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
df1 = pd.DataFrame({'a': [3, 5, 2, 7, 1, 2, 4, 6, 2, 4],
'b': [8, 3, 4, 1, 8, 2, 2, 2, 2, 3],
'c': [1, 8, 8, 5, 3, 5, 0, 0, 5, 4],
'd': [9, 7, 6, 3, 6, 3, 2, 1, 5, 8]}, index=list(range(10, 20)))
df1.groupby('c').sample(1, weights=df1['d'].to_numpy())
```
#### Problem description
Sampling ought to work but exception is reported with error stack below:
```
Traceback (most recent call last):
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3417, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-4-1fc31a504740>", line 1, in <module>
df1.groupby('c').sample(1, weights=df1['d'].to_numpy())
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 3024, in sample
ws = [weights[idx] for idx in self.indices.values()]
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/groupby/groupby.py", line 3024, in <listcomp>
ws = [weights[idx] for idx in self.indices.values()]
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/series.py", line 875, in __getitem__
return self._get_with(key)
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/series.py", line 910, in _get_with
return self.loc[key]
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/indexing.py", line 895, in __getitem__
return self._getitem_axis(maybe_callable, axis=axis)
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/indexing.py", line 1113, in _getitem_axis
return self._getitem_iterable(key, axis=axis)
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/indexing.py", line 1053, in _getitem_iterable
keyarr, indexer = self._get_listlike_indexer(key, axis, raise_missing=False)
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/indexing.py", line 1266, in _get_listlike_indexer
self._validate_read_indexer(keyarr, indexer, axis, raise_missing=raise_missing)
File "/Users/wenjun/miniconda3/lib/python3.8/site-packages/pandas/core/indexing.py", line 1308, in _validate_read_indexer
raise KeyError(f"None of [{key}] are in the [{axis_name}]")
KeyError: "None of [Int64Index([6, 7], dtype='int64')] are in the [index]"
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 7d32926db8f7541c356066dcadabf854487738de
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : zh_CN.UTF-8
pandas : 1.2.2
numpy : 1.19.1
pytz : 2021.1
dateutil : 2.8.1
pip : 20.2.2
setuptools : 49.6.0.post20200814
Cython : 0.29.21
pytest : 6.0.1
hypothesis : None
sphinx : 3.2.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.17.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : 0.4.2
gcsfs : None
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 1.0.1
pyxlsb : None
s3fs : None
scipy : 1.6.0
sqlalchemy : 1.3.18
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 0.51.2
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39927/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39927/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39928
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39928/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39928/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39928/events
|
https://github.com/pandas-dev/pandas/issues/39928
| 812,550,314
|
MDU6SXNzdWU4MTI1NTAzMTQ=
| 39,928
|
BUG: Sampling over selected groupbys does not reflect the selection
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8284922?v=4",
"events_url": "https://api.github.com/users/wjsi/events{/privacy}",
"followers_url": "https://api.github.com/users/wjsi/followers",
"following_url": "https://api.github.com/users/wjsi/following{/other_user}",
"gists_url": "https://api.github.com/users/wjsi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wjsi",
"id": 8284922,
"login": "wjsi",
"node_id": "MDQ6VXNlcjgyODQ5MjI=",
"organizations_url": "https://api.github.com/users/wjsi/orgs",
"received_events_url": "https://api.github.com/users/wjsi/received_events",
"repos_url": "https://api.github.com/users/wjsi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wjsi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wjsi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wjsi"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-20T08:20:45Z
| 2021-02-27T19:10:19Z
| 2021-02-27T19:10:19Z
|
CONTRIBUTOR
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
>>> import pandas as pd
>>> df1 = pd.DataFrame({'a': [3, 5, 2, 7, 1, 2, 4, 6, 2, 4],
'b': [8, 3, 4, 1, 8, 2, 2, 2, 2, 3],
'c': [1, 8, 8, 5, 3, 5, 0, 0, 5, 4],
'd': [9, 7, 6, 3, 6, 3, 2, 1, 5, 8]}, index=list(range(10, 20)))
>>> # selecting one single column works
>>> df1.groupby('c').b.sample(1)
7 2
0 8
4 8
9 3
3 1
2 4
Name: b, dtype: int64
>>> # selecting multiple columns does not work
>>> df1.groupby('c')[['a', 'd']].sample(1)
a b c d
7 6 2 0 1
0 3 8 1 9
4 1 8 3 6
9 4 3 4 8
8 2 2 5 5
2 2 4 8 6
```
#### Problem description
When ``['a', 'd']`` is selected, the result should only contain column ``a`` and ``d``. However, this selection has no effect on the result produced by `groupby-sample`.
#### Expected Output
```python
>>> df1.groupby('c')[['a', 'd']].sample(1)
a d
7 6 1
0 3 9
4 1 6
9 4 8
8 2 5
2 2 6
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 7d32926db8f7541c356066dcadabf854487738de
python : 3.8.5.final.0
python-bits : 64
OS : Darwin
OS-release : 19.6.0
Version : Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : zh_CN.UTF-8
pandas : 1.2.2
numpy : 1.19.1
pytz : 2021.1
dateutil : 2.8.1
pip : 20.2.2
setuptools : 49.6.0.post20200814
Cython : 0.29.21
pytest : 6.0.1
hypothesis : None
sphinx : 3.2.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.17.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : 0.4.2
gcsfs : None
matplotlib : 3.2.2
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 1.0.1
pyxlsb : None
s3fs : None
scipy : 1.6.0
sqlalchemy : 1.3.18
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : 0.51.2
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39928/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39928/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39929
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39929/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39929/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39929/events
|
https://github.com/pandas-dev/pandas/issues/39929
| 812,562,023
|
MDU6SXNzdWU4MTI1NjIwMjM=
| 39,929
|
ENH: Want a new feature in merge_asof function, which includes the all the rows of the right data frame with duplicate values of the coulumn on which it is matched , in the merged dataframe
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/58983090?v=4",
"events_url": "https://api.github.com/users/thakardarshit/events{/privacy}",
"followers_url": "https://api.github.com/users/thakardarshit/followers",
"following_url": "https://api.github.com/users/thakardarshit/following{/other_user}",
"gists_url": "https://api.github.com/users/thakardarshit/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/thakardarshit",
"id": 58983090,
"login": "thakardarshit",
"node_id": "MDQ6VXNlcjU4OTgzMDkw",
"organizations_url": "https://api.github.com/users/thakardarshit/orgs",
"received_events_url": "https://api.github.com/users/thakardarshit/received_events",
"repos_url": "https://api.github.com/users/thakardarshit/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/thakardarshit/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thakardarshit/subscriptions",
"type": "User",
"url": "https://api.github.com/users/thakardarshit"
}
|
[
{
"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": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
}
] |
open
| false
| null |
[] | null | 1
| 2021-02-20T09:22:56Z
| 2021-08-15T18:47:31Z
| null |
NONE
| null |
#### I want a new feature in merge_asof function of pandas?
I wish I could keep all the rows of the right data frame after merging if that row has duplicates values in the "on" coulumns which I am matching
#### I have given an example as a code in the code block
I have medical data, which has two data frames, one is the radiology scan or any other medical report and the other one is the OPD visit of the patient where the doctor makes the diagnosis or writes comments. The OPD data frame has multiple visits from one patient in a calendar year but has only one radiology_scan or medical report. The visit year might or might not be same, hence I am using merge_asof function to match the radiology visit with the nearest OPD visit. If the patient had multiple OPD visits in the same year as the scan year in radiology sheet, I want to preserve all the OPD visits of that year for that patient in the merged sheet. In merge_asof I am only able to get the first OPD visit form the patient , even if there are multiple in that year which matches the scan year or is near to it .
#### Can you add any parameter in the function so that we can use the above feature
#### I have used merge function
Merge function keeps all the data of the visit year if there are multiple visits in the matched year, but I cannot asof in it
```python
# import pandas as pd
radiology_scan = pd.DataFrame({"patient_id":['a001','a002','a003'],
"Visit_year": [2010, 2012, 2016], "scan_report": [1, 55,2]})
OPD_data = pd.DataFrame({"patient_id":['a001','a001','a002','a003','a004','a005'],
"Visit_year": [2010 , 2010 , 2013, 2017, 2017,2018],
"doctor_comments": ['diagnosis normal, xyz symptoms',
'diagnosis normal, abc symptoms',
'diagnosis abnormal, pqr symptoms',
'diagnosis abnormal, apq symptoms',
'diagnosis normal, xzy symptoms',
'diagnosis abnormal, yzx symptoms' ]})
# here the patient a001 has two visits in opd data frame, when i merge it I want both the visits data, to be reflected
# in the merged dataframe
x = pd.merge_asof(radiology_scan, OPD_data, on = ["Visit_year"], by = ["patient_id"] , direction="nearest")
# when using merge_asof only the first visit of the a001's OPD is seen in the merged data frame
y = pd.merge(radiology_scan, OPD_data, on =["Visit_year","patient_id" ], how = 'left' )
# merge function gives both visits of the matched visit year , but i cannot merge the nearest visits of other patients whose
# visit years from both the data frames don't match ( as in merge_asof )
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39929/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39929/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39930
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39930/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39930/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39930/events
|
https://github.com/pandas-dev/pandas/pull/39930
| 812,601,287
|
MDExOlB1bGxSZXF1ZXN0NTc2OTI5ODc3
| 39,930
|
ENH: add a gradient map to background gradient
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 6
| 2021-02-20T12:39:29Z
| 2021-04-09T05:28:01Z
| 2021-04-08T22:16:44Z
|
CONTRIBUTOR
| null |
closes #22727
closes #28901
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
A very minor extension to the code and adding one argument gives the function a lot more scope:

|
{
"+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/39930/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39930/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39930.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39930",
"merged_at": "2021-04-08T22:16:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39930.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39930"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39931
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39931/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39931/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39931/events
|
https://github.com/pandas-dev/pandas/issues/39931
| 812,613,884
|
MDU6SXNzdWU4MTI2MTM4ODQ=
| 39,931
|
BUG: Index alignment behaviour
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/51440666?v=4",
"events_url": "https://api.github.com/users/complexsum/events{/privacy}",
"followers_url": "https://api.github.com/users/complexsum/followers",
"following_url": "https://api.github.com/users/complexsum/following{/other_user}",
"gists_url": "https://api.github.com/users/complexsum/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/complexsum",
"id": 51440666,
"login": "complexsum",
"node_id": "MDQ6VXNlcjUxNDQwNjY2",
"organizations_url": "https://api.github.com/users/complexsum/orgs",
"received_events_url": "https://api.github.com/users/complexsum/received_events",
"repos_url": "https://api.github.com/users/complexsum/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/complexsum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/complexsum/subscriptions",
"type": "User",
"url": "https://api.github.com/users/complexsum"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 5
| 2021-02-20T13:27:12Z
| 2021-02-22T22:59:23Z
| 2021-02-22T22:59:23Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample
```python
np.random.seed(1)
df = pd.DataFrame(np.random.randint(0, 100, (10, 2)), columns=['A', 'B'])
>>> df
A B
0 37 12
1 72 9
2 75 5
3 79 64
4 16 1
5 76 71
6 6 25
7 50 20
8 18 84
9 11 28
mask = df['A'] >= 40
>>> df[mask]
A B
1 72 9
2 75 5
3 79 64
5 76 71
7 50 20
>>> df[mask].sort_values('A')
A B
7 50 20
1 72 9
2 75 5
5 76 71
3 79 64
```
### CASE 1: Assignment with `.loc`
No problem here this is expected behaviour as pandas align data on indices.
```python
df.loc[mask] = df[mask].sort_values('A')
>>> df[mask]
A B
1 72 9
2 75 5
3 79 64
5 76 71
7 50 20
```
### CASE 2: Assignment without `.loc`
**The problem** is here. In pandas version `1.2.x` assignment without using `.loc` no longer respects `index` alignment behaviour which was previously respected in version `1.1.x`.
```python
df[mask] = df[mask].sort_values('A')
>>> df[mask]
A B
1 50 20
2 72 9
3 75 5
5 76 71
7 79 64
```
#### Problem description
Lets say we want to sort the values of the slice of the dataframe and assign the sorted values back to the original dataframe in-place.
- In `CASE 1` when using assignment with `.loc` **no effect of sorting the slice is observed in original dataframe which is *expected as pandas align data on indices***.
- In `CASE 2` when using assignment without `.loc` **the assignment operation no longer respects the alignment of indices** which is unexpected behaviour in pandas version `1.2.x`
Prior to pandas version `1.2.x` lets say in pandas version `1.1.5` the assignment operation even without using the `loc` respected the index alignment behaviour.
#### Expected Output
In `CASE 2` the expected output should be:
```python
>>> df[mask]
A B
1 72 9
2 75 5
3 79 64
5 76 71
7 50 20
```
As the assignment operation should respect the pandas alignment of indices behaviour.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 7d32926db8f7541c356066dcadabf854487738de
python : 3.8.6.final.0
python-bits : 64
OS : Linux
OS-release : 5.8.0-44-generic
Version : #50-Ubuntu SMP Tue Feb 9 06:29:41 UTC 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_IN
LOCALE : en_IN.ISO8859-1
pandas : 1.2.2
numpy : 1.18.5
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1.1
setuptools : 44.0.0
Cython : None
pytest : 6.2.1
hypothesis : None
sphinx : 3.4.3
blosc : None
feather : None
xlsxwriter : 1.3.5
lxml.etree : 4.6.2
html5lib : 1.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.18.1
pandas_datareader: 0.9.0
bs4 : 4.9.1
bottleneck : None
fsspec : 0.8.5
fastparquet : 0.5.0
gcsfs : None
matplotlib : 3.3.2
numexpr : None
odfpy : None
openpyxl : 3.0.5
pandas_gbq : None
pyarrow : 2.0.0
pyxlsb : None
s3fs : None
scipy : 1.5.2
sqlalchemy : 1.3.22
tables : None
tabulate : 0.8.7
xarray : 0.16.2
xlrd : 1.2.0
xlwt : None
numba : 0.50.1
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39931/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39931/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39932
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39932/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39932/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39932/events
|
https://github.com/pandas-dev/pandas/pull/39932
| 812,614,286
|
MDExOlB1bGxSZXF1ZXN0NTc2OTM5NTUw
| 39,932
|
DOC: updated wrong type hint for pandas.Series.droplevel
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/31338369?v=4",
"events_url": "https://api.github.com/users/Muktan/events{/privacy}",
"followers_url": "https://api.github.com/users/Muktan/followers",
"following_url": "https://api.github.com/users/Muktan/following{/other_user}",
"gists_url": "https://api.github.com/users/Muktan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Muktan",
"id": 31338369,
"login": "Muktan",
"node_id": "MDQ6VXNlcjMxMzM4MzY5",
"organizations_url": "https://api.github.com/users/Muktan/orgs",
"received_events_url": "https://api.github.com/users/Muktan/received_events",
"repos_url": "https://api.github.com/users/Muktan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Muktan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Muktan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Muktan"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-20T13:29:25Z
| 2021-02-20T18:16:27Z
| 2021-02-20T18:16:15Z
|
CONTRIBUTOR
| null |
- [x] closes #39907
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39932/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39932/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39932.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39932",
"merged_at": "2021-02-20T18:16:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39932.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39932"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39933
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39933/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39933/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39933/events
|
https://github.com/pandas-dev/pandas/pull/39933
| 812,618,247
|
MDExOlB1bGxSZXF1ZXN0NTc2OTQyNjQz
| 39,933
|
Grammatically update the readme file
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/78821202?v=4",
"events_url": "https://api.github.com/users/mohamed-khoualed/events{/privacy}",
"followers_url": "https://api.github.com/users/mohamed-khoualed/followers",
"following_url": "https://api.github.com/users/mohamed-khoualed/following{/other_user}",
"gists_url": "https://api.github.com/users/mohamed-khoualed/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mohamed-khoualed",
"id": 78821202,
"login": "mohamed-khoualed",
"node_id": "MDQ6VXNlcjc4ODIxMjAy",
"organizations_url": "https://api.github.com/users/mohamed-khoualed/orgs",
"received_events_url": "https://api.github.com/users/mohamed-khoualed/received_events",
"repos_url": "https://api.github.com/users/mohamed-khoualed/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mohamed-khoualed/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mohamed-khoualed/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mohamed-khoualed"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2021-02-20T13:47:14Z
| 2021-02-20T14:09:00Z
| 2021-02-20T14:09:00Z
|
NONE
| null |
Small grammatical update the readme file
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39933/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39933/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39933.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39933",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39933.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39933"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39934
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39934/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39934/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39934/events
|
https://github.com/pandas-dev/pandas/issues/39934
| 812,623,501
|
MDU6SXNzdWU4MTI2MjM1MDE=
| 39,934
|
BUG: DataFrame.agg and apply with 'size' returns a scalar
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
},
{
"color": "b60205",
"default": false,
"description": "Internal Consistency of API/Behavior",
"id": 1741841389,
"name": "API - Consistency",
"node_id": "MDU6TGFiZWwxNzQxODQxMzg5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-02-20T14:05:07Z
| 2021-02-24T16:32:19Z
| 2021-02-24T16:32:19Z
|
MEMBER
| null |
Compare
```
df = pd.DataFrame({'a': [1, 2, 3], 'b': [4, 5, 6]})
print(df.apply('size'))
print(df.apply(['size']))
print('---')
print(df.agg('size'))
print(df.agg(['size']))
```
gives
```
6
a b
size 3 3
---
6
a b
size 3 3
```
agg/apply should operate on rows/columns.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39934/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39934/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39935
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39935/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39935/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39935/events
|
https://github.com/pandas-dev/pandas/pull/39935
| 812,626,987
|
MDExOlB1bGxSZXF1ZXN0NTc2OTQ4OTIw
| 39,935
|
BUG: DataFrame.agg and apply with 'size' returns a scalar
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 7
| 2021-02-20T14:18:49Z
| 2021-06-16T16:07:41Z
| 2021-02-24T16:32:19Z
|
MEMBER
| null |
- [x] closes #39934
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39935/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39935/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39935.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39935",
"merged_at": "2021-02-24T16:32:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39935.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39935"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39936
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39936/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39936/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39936/events
|
https://github.com/pandas-dev/pandas/pull/39936
| 812,631,751
|
MDExOlB1bGxSZXF1ZXN0NTc2OTUyMDcy
| 39,936
|
ENH: Create script to set up a development environment using docker
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/66797203?v=4",
"events_url": "https://api.github.com/users/gustavocmaciel/events{/privacy}",
"followers_url": "https://api.github.com/users/gustavocmaciel/followers",
"following_url": "https://api.github.com/users/gustavocmaciel/following{/other_user}",
"gists_url": "https://api.github.com/users/gustavocmaciel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gustavocmaciel",
"id": 66797203,
"login": "gustavocmaciel",
"node_id": "MDQ6VXNlcjY2Nzk3MjAz",
"organizations_url": "https://api.github.com/users/gustavocmaciel/orgs",
"received_events_url": "https://api.github.com/users/gustavocmaciel/received_events",
"repos_url": "https://api.github.com/users/gustavocmaciel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gustavocmaciel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gustavocmaciel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gustavocmaciel"
}
|
[
{
"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": "78bced",
"default": false,
"description": "Waiting for review/response from a maintainer.",
"id": 2324533627,
"name": "Needs Review",
"node_id": "MDU6TGFiZWwyMzI0NTMzNjI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Review"
}
] |
closed
| false
| null |
[] | null | 17
| 2021-02-20T14:37:09Z
| 2021-09-08T08:18:14Z
| 2021-09-08T02:41:40Z
|
CONTRIBUTOR
| null |
This script will help the contributors with the process of setting up a docker container. So instead of manually passing the Github username in the Dockerfile and then running a couple of commands, you can run only this:
```
./docker.sh
```
...and enter the Github username when prompted.
I think this can be good, right? Especially for the new users.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39936/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39936/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39936.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39936",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39936.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39936"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39937
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39937/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39937/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39937/events
|
https://github.com/pandas-dev/pandas/pull/39937
| 812,639,811
|
MDExOlB1bGxSZXF1ZXN0NTc2OTU3OTAw
| 39,937
|
ENH: Add function to create DateOffset objects from offset aliases
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7954786?v=4",
"events_url": "https://api.github.com/users/Pawel-Kranzberg/events{/privacy}",
"followers_url": "https://api.github.com/users/Pawel-Kranzberg/followers",
"following_url": "https://api.github.com/users/Pawel-Kranzberg/following{/other_user}",
"gists_url": "https://api.github.com/users/Pawel-Kranzberg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Pawel-Kranzberg",
"id": 7954786,
"login": "Pawel-Kranzberg",
"node_id": "MDQ6VXNlcjc5NTQ3ODY=",
"organizations_url": "https://api.github.com/users/Pawel-Kranzberg/orgs",
"received_events_url": "https://api.github.com/users/Pawel-Kranzberg/received_events",
"repos_url": "https://api.github.com/users/Pawel-Kranzberg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Pawel-Kranzberg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Pawel-Kranzberg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Pawel-Kranzberg"
}
|
[] |
closed
| false
| null |
[] | null | 3
| 2021-02-20T15:16:06Z
| 2021-02-20T18:31:28Z
| 2021-02-20T18:24:56Z
|
NONE
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39937/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39937/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39937.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39937",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39937.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39937"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39938
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39938/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39938/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39938/events
|
https://github.com/pandas-dev/pandas/issues/39938
| 812,653,679
|
MDU6SXNzdWU4MTI2NTM2Nzk=
| 39,938
|
ENH: Ability to use "normalize" function (df['col'].value_counts(normalize=True) when you do df.groupby(cols).size()
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7293087?v=4",
"events_url": "https://api.github.com/users/bbennett36/events{/privacy}",
"followers_url": "https://api.github.com/users/bbennett36/followers",
"following_url": "https://api.github.com/users/bbennett36/following{/other_user}",
"gists_url": "https://api.github.com/users/bbennett36/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bbennett36",
"id": 7293087,
"login": "bbennett36",
"node_id": "MDQ6VXNlcjcyOTMwODc=",
"organizations_url": "https://api.github.com/users/bbennett36/orgs",
"received_events_url": "https://api.github.com/users/bbennett36/received_events",
"repos_url": "https://api.github.com/users/bbennett36/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bbennett36/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bbennett36/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bbennett36"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "207de5",
"default": false,
"description": "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 | 4
| 2021-02-20T16:20:36Z
| 2021-03-07T21:14:30Z
| 2021-03-07T21:14:30Z
|
NONE
| null |
`groupby.size()` should have the ability to "normalize" the results and return them as a percentage.
```
df['col'].value_counts(normalize=True)
A = 0.25
B = 0.25
C = 0.25
D = 0.25
```
To accomplish this result with a `groupby.size()` you have to do the following -
```
df2 = df.groupby(['subset_product', 'subset_close']).size().reset_index(name='prod_count')
a = df2.groupby('subset_product')['prod_count'].transform('sum')
df2['prod_count'] = df2['prod_count'].div(a)
```
Is there a way to add a feature to include this as a parameter in `.size()`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39938/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39938/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39939
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39939/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39939/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39939/events
|
https://github.com/pandas-dev/pandas/pull/39939
| 812,677,670
|
MDExOlB1bGxSZXF1ZXN0NTc2OTg1Nzk0
| 39,939
|
REF: share _maybe_coerce_values
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 4
| 2021-02-20T18:21:04Z
| 2021-02-22T17:57:04Z
| 2021-02-22T17:46:41Z
|
MEMBER
| null |
Gets us within spittting distance of combining DTBlock/TDBlock (and not far from DT64TZBlock too)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39939/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39939/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39939.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39939",
"merged_at": "2021-02-22T17:46:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39939.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39939"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39940
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39940/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39940/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39940/events
|
https://github.com/pandas-dev/pandas/pull/39940
| 812,700,423
|
MDExOlB1bGxSZXF1ZXN0NTc3MDAxODQ3
| 39,940
|
BUG: Groupby ops on empty objects loses index, columns, dtypes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-20T20:27:40Z
| 2021-07-22T20:50:06Z
| 2021-02-24T16:39:01Z
|
MEMBER
| null |
- [x] closes #26411
- [x] closes #13483
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39940/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39940/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39940.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39940",
"merged_at": "2021-02-24T16:39:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39940.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39940"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39941
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39941/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39941/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39941/events
|
https://github.com/pandas-dev/pandas/pull/39941
| 812,700,652
|
MDExOlB1bGxSZXF1ZXN0NTc3MDAyMDAy
| 39,941
|
DOC: Updated convert_dtype of Series.apply
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/42755203?v=4",
"events_url": "https://api.github.com/users/sukriti1/events{/privacy}",
"followers_url": "https://api.github.com/users/sukriti1/followers",
"following_url": "https://api.github.com/users/sukriti1/following{/other_user}",
"gists_url": "https://api.github.com/users/sukriti1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sukriti1",
"id": 42755203,
"login": "sukriti1",
"node_id": "MDQ6VXNlcjQyNzU1MjAz",
"organizations_url": "https://api.github.com/users/sukriti1/orgs",
"received_events_url": "https://api.github.com/users/sukriti1/received_events",
"repos_url": "https://api.github.com/users/sukriti1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sukriti1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sukriti1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sukriti1"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 11
| 2021-02-20T20:29:10Z
| 2021-06-12T10:22:48Z
| 2021-04-25T17:54:03Z
|
CONTRIBUTOR
| null |
- [x] closes #39580
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
This updates the docs for parameter convert_dtype in pandas.Series.apply and adds dtypes for which the original dtype is kept.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39941/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39941/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39941.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39941",
"merged_at": "2021-04-25T17:54:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39941.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39941"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39942
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39942/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39942/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39942/events
|
https://github.com/pandas-dev/pandas/pull/39942
| 812,704,604
|
MDExOlB1bGxSZXF1ZXN0NTc3MDA0ODUz
| 39,942
|
BUG: format multiple CSS selectors correctly
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
}
|
[
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 14
| 2021-02-20T20:53:06Z
| 2021-02-27T20:17:14Z
| 2021-02-27T19:44:59Z
|
CONTRIBUTOR
| null |
- [x] closes #34061
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
Fixes a bug that doesn't format multiple CSS elements in selectors properly.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39942/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39942/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39942.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39942",
"merged_at": "2021-02-27T19:44:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39942.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39942"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39943
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39943/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39943/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39943/events
|
https://github.com/pandas-dev/pandas/issues/39943
| 812,706,575
|
MDU6SXNzdWU4MTI3MDY1NzU=
| 39,943
|
BUG: unary operators on IntegerArray return shared mask creating inconsistencies when assigning null and non-null values
|
{
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
},
{
"color": "70e5ca",
"default": false,
"description": "",
"id": 2085877452,
"name": "Copy / view semantics",
"node_id": "MDU6TGFiZWwyMDg1ODc3NDUy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 3
| 2021-02-20T21:05:16Z
| 2021-02-23T11:11:35Z
| 2021-02-23T11:11:35Z
|
MEMBER
| null |
- [ ] I have checked that this issue has not already been reported.
- [ ] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
>>> s = pd.Series([1, 2, 3], dtype="Int64")
>>> s
0 1
1 2
2 3
dtype: Int64
>>>
>>> s2 = -s
>>>
>>> s2
0 -1
1 -2
2 -3
dtype: Int64
>>>
>>> s[0] = None # assigning None
>>>
>>> s
0 <NA>
1 2
2 3
dtype: Int64
>>>
>>> s2
0 <NA> # <--- expected -1
1 -2
2 -3
dtype: Int64
>>>
>>> s[1] = 10 # assigning a value is ok
>>> s
0 <NA>
1 10
2 3
dtype: Int64
>>>
>>> s2
0 <NA>
1 -2
2 -3
dtype: Int64
>>>
>>> s2[2] = None
>>> s2
0 <NA>
1 -2
2 <NA>
dtype: Int64
>>>
>>> s
0 <NA>
1 10
2 <NA> # expected 3
dtype: Int64
>>>
>>> s.values._data is s2.values._data
False
>>>
>>> s.values._mask is s2.values._mask
True
```
#### Problem description
shared mask leads to an inconsistency when assigning a non-null value compared to assigning a null value
also for `__invert__` in BaseMaskedArray so will also affect other nullable arrays
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]
</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/39943/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39943/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39944
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39944/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39944/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39944/events
|
https://github.com/pandas-dev/pandas/pull/39944
| 812,720,002
|
MDExOlB1bGxSZXF1ZXN0NTc3MDE1MDU1
| 39,944
|
Fix regression for setitem not aligning rhs with boolean indexer
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 4
| 2021-02-20T22:22:10Z
| 2021-02-22T23:06:13Z
| 2021-02-22T22:59:24Z
|
MEMBER
| null |
- [x] closes #39931
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
reindexing solves the issue here before dispatching to iloc
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39944/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39944/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39944.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39944",
"merged_at": "2021-02-22T22:59:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39944.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39944"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39945
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39945/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39945/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39945/events
|
https://github.com/pandas-dev/pandas/pull/39945
| 812,723,609
|
MDExOlB1bGxSZXF1ZXN0NTc3MDE2ODQ4
| 39,945
|
Change in astype leads to no longer casting to numpy string dtypes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
},
{
"color": "7fcce8",
"default": false,
"description": "",
"id": 2347992045,
"name": "Stale",
"node_id": "MDU6TGFiZWwyMzQ3OTkyMDQ1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Stale"
}
] |
closed
| false
| null |
[] | null | 7
| 2021-02-20T22:40:20Z
| 2021-06-16T13:43:15Z
| 2021-06-16T13:18:06Z
|
MEMBER
| null |
- [x] closes #39566
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
@jreback as discussed we no longer cast to numpy string dtypes after this
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39945/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39945/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39945.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39945",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39945.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39945"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39946
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39946/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39946/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39946/events
|
https://github.com/pandas-dev/pandas/pull/39946
| 812,730,051
|
MDExOlB1bGxSZXF1ZXN0NTc3MDIxMjgz
| 39,946
|
refactor styler tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-20T23:25:44Z
| 2021-02-23T06:29:45Z
| 2021-02-22T23:00:30Z
|
CONTRIBUTOR
| null |
splits `test_style.py` to `style/test_style.py` and `style/test_builtins.py`, with the simple classification of being related to `core` functionality or added `extensions`.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39946/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39946/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39946.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39946",
"merged_at": "2021-02-22T23:00:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39946.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39946"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39947
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39947/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39947/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39947/events
|
https://github.com/pandas-dev/pandas/pull/39947
| 812,740,329
|
MDExOlB1bGxSZXF1ZXN0NTc3MDI4NTQy
| 39,947
|
TYP: stubfile for _libs.lib
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2021-02-21T00:37:40Z
| 2021-02-22T15:44:50Z
| 2021-02-22T15:44:47Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
cc @simonjayhawkins @Dr-Irv there are a couple of kludges (ndarray_obj_2d, const memoryviews), interested in your thoughts on how to handle 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/39947/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39947/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39947.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39947",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39947.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39947"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39948
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39948/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39948/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39948/events
|
https://github.com/pandas-dev/pandas/pull/39948
| 812,752,695
|
MDExOlB1bGxSZXF1ZXN0NTc3MDM3MTY4
| 39,948
|
REF: implement array_algos.take
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 5
| 2021-02-21T02:08:06Z
| 2021-02-23T14:55:35Z
| 2021-02-23T13:26:22Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39948/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39948/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39948.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39948",
"merged_at": "2021-02-23T13:26:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39948.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39948"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39949
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39949/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39949/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39949/events
|
https://github.com/pandas-dev/pandas/pull/39949
| 812,761,561
|
MDExOlB1bGxSZXF1ZXN0NTc3MDQzMzI5
| 39,949
|
TYP: hashing
|
{
"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": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 3
| 2021-02-21T03:23:57Z
| 2021-03-08T18:12:12Z
| 2021-03-08T18:11:59Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39949/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39949/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39949.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39949",
"merged_at": "2021-03-08T18:11:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39949.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39949"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39950
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39950/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39950/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39950/events
|
https://github.com/pandas-dev/pandas/issues/39950
| 812,802,859
|
MDU6SXNzdWU4MTI4MDI4NTk=
| 39,950
|
BUG: Value become 0 while exporting (to_excel) the str data
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/79396469?v=4",
"events_url": "https://api.github.com/users/handy1988/events{/privacy}",
"followers_url": "https://api.github.com/users/handy1988/followers",
"following_url": "https://api.github.com/users/handy1988/following{/other_user}",
"gists_url": "https://api.github.com/users/handy1988/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/handy1988",
"id": 79396469,
"login": "handy1988",
"node_id": "MDQ6VXNlcjc5Mzk2NDY5",
"organizations_url": "https://api.github.com/users/handy1988/orgs",
"received_events_url": "https://api.github.com/users/handy1988/received_events",
"repos_url": "https://api.github.com/users/handy1988/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/handy1988/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/handy1988/subscriptions",
"type": "User",
"url": "https://api.github.com/users/handy1988"
}
|
[
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
}
| 6
| 2021-02-21T08:26:12Z
| 2021-02-21T11:13:22Z
| 2021-02-21T11:13:05Z
|
NONE
| null |
- [X ] I have checked that this issue has not already been reported.
- [X ] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import csv
import pandas as pd
output_csv = pd.read_csv(r"D:\test\output.csv")
output_csv.to_excel(r"D:\test\output.xlsx", index=False)
```
#### Problem description
Hi All,
I found some issue while exporting "str" data from some column to excel, And I noticed this issue occurred only after pandas version 1.1.5 and above. And attached my sample of data for your reference. Kindly help to check. Thanks
[files.zip](https://github.com/pandas-dev/pandas/files/6017378/files.zip)
#### output.csv
Col1,Col2
a1,50060e8007123400
a2,50060e8007123400
a3,50060e8007123400
a4,50060e8007123402
a5,50060e8007123402
a6,50060e8007123402
a7,50060e8007123402
a8,50060e8007123402
a9,50060e8007123404
a10,50060e8007123404
#### output.xlsx -> Current output
Col1 | Col2
-- | --
a1 | 0
a2 | 0
a3 | 0
a4 | 0
a5 | 0
a6 | 0
a7 | 0
a8 | 0
a9 | 0
a10 | 0
#### Expected Output
Col1 | Col2
-- | --
a1 | 50060e8007123400
a2 | 50060e8007123400
a3 | 50060e8007123400
a4 | 50060e8007123402
a5 | 50060e8007123402
a6 | 50060e8007123402
a7 | 50060e8007123402
a8 | 50060e8007123402
a9 | 50060e8007123404
a10 | 50060e8007123404
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 7d32926db8f7541c356066dcadabf854487738de
python : 3.9.1.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 158 Stepping 9, GenuineIntel
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : English_United States.1252
pandas : 1.2.2
numpy : 1.20.1
pytz : 2021.1
setuptools : 51.1.1
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.20.0
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 3.0.6
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39950/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39950/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39951
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39951/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39951/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39951/events
|
https://github.com/pandas-dev/pandas/issues/39951
| 812,807,687
|
MDU6SXNzdWU4MTI4MDc2ODc=
| 39,951
|
BUG: `to_html()` contains deprecated and poorly supported HTML
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styler.apply, Styler.applymap",
"id": 57395487,
"name": "IO HTML",
"node_id": "MDU6TGFiZWw1NzM5NTQ4Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HTML"
}
] |
open
| false
| null |
[] | null | 2
| 2021-02-21T08:58:37Z
| 2021-02-23T22:02:12Z
| null |
CONTRIBUTOR
| null |
```
df = pd.DataFrame([[1,2],[3,4]], index=pd.MultiIndex.from_product([['a'], [1,2]]), columns=pd.MultiIndex.from_product([['b'], [3,4]]))
df.to_html().split('\n')
['<table border="1" class="dataframe">',
' <thead>',
' <tr>',
' <th></th>',
' <th></th>',
' <th colspan="2" halign="left">b</th>',
' </tr>',
' <tr>',
' <th></th>',
' <th></th>',
' <th>3</th>',
' <th>4</th>',
' </tr>',
' </thead>',
' <tbody>',
' <tr>',
' <th rowspan="2" valign="top">a</th>',
' <th>1</th>',
' <td>1</td>',
' <td>2</td>',
' </tr>',
' <tr>',
' <th>2</th>',
' <td>3</td>',
' <td>4</td>',
' </tr>',
' </tbody>',
'</table>']
```
`valign` is a deprecated HTML attribute and `halign` is reported to be poorly supported even when it was not deprecated.
CSS solutions are recommended, but inline css like 'style="text-align:center;"' is not recommended as inline styles can break the more secure website CSPs (content security policies).
See here..
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39951/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39951/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39952
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39952/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39952/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39952/events
|
https://github.com/pandas-dev/pandas/pull/39952
| 812,832,636
|
MDExOlB1bGxSZXF1ZXN0NTc3MDk0OTI1
| 39,952
|
PERF: Styler render improvement by limiting .join()
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-21T11:27:43Z
| 2021-03-30T05:05:11Z
| 2021-02-21T18:03:47Z
|
CONTRIBUTOR
| null |
Currently
`<th>` only have attributes when there is a row or column span.
`<td>` never have attributes currently.
So there is no need for repititive `join()` operations, especially inside the jinja2 template. Could be preconfigured outside.
We can get around 10-15% better render times.
```
[ 75.00%] ··· io.style.RenderApply.time_render ok
[ 75.00%] ··· ====== ============ ============
-- rows
------ -------------------------
cols 12 120
====== ============ ============
12 11.6±0.5ms 77.0±0.5ms
24 29.2±0.5ms 144±1ms
36 43.7±0.9ms 209±2ms
====== ============ ============
```
versus master
```
[100.00%] ··· io.style.RenderApply.time_render ok
[100.00%] ··· ====== ============ ==========
-- rows
------ -----------------------
cols 12 120
====== ============ ==========
12 12.9±0.4ms 89.8±4ms
24 31.4±0.9ms 166±2ms
36 46.5±2ms 250±40ms
====== ============ ==========
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39952/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39952/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39952.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39952",
"merged_at": "2021-02-21T18:03:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39952.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39952"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39953
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39953/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39953/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39953/events
|
https://github.com/pandas-dev/pandas/pull/39953
| 812,842,557
|
MDExOlB1bGxSZXF1ZXN0NTc3MTAyMjUx
| 39,953
|
PERF: avoid object conversion in fillna(method=pad|backfill) for masked arrays
|
{
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 3
| 2021-02-21T12:19:42Z
| 2021-03-06T09:55:11Z
| 2021-03-05T19:00:20Z
|
MEMBER
| null |
```
[ 75.00%] ··· frame_methods.Fillna.time_frame_fillna ok
[ 75.00%] ··· ========= ======== ============ ============= ========== ============= =============
-- dtype
------------------ -----------------------------------------------------------------
inplace method float64 float32 object Int64 Float64
========= ======== ============ ============= ========== ============= =============
True pad 3.44±0.3ms 2.64±0.2ms 307±10ms 3.97±0.2ms 3.72±0.1ms
True bfill 3.23±0.2ms 2.89±0.2ms 275±8ms 2.34±0.1ms 2.45±0.09ms
False pad 3.62±0.1ms 2.06±0.01ms 181±3ms 4.23±0.07ms 4.16±0.07ms
False bfill 3.59±0.2ms 2.06±0.02ms 186±6ms 4.35±0.09ms 4.18±0.06ms
========= ======== ============ ============= ========== ============= =============
```
```
before after ratio
[2e5c28fc] [d3ae0cf1]
<master> <BaseMaskedArray.fillna>
- 2.28±0.06ms 2.06±0.02ms 0.91 frame_methods.Fillna.time_frame_fillna(False, 'bfill', 'float32')
- 15.5±0.2ms 2.45±0.09ms 0.16 frame_methods.Fillna.time_frame_fillna(True, 'bfill', 'Float64')
- 16.5±0.2ms 2.34±0.1ms 0.14 frame_methods.Fillna.time_frame_fillna(True, 'bfill', 'Int64')
- 85.2±0.9ms 4.18±0.06ms 0.05 frame_methods.Fillna.time_frame_fillna(False, 'bfill', 'Float64')
- 86.6±0.6ms 4.16±0.07ms 0.05 frame_methods.Fillna.time_frame_fillna(False, 'pad', 'Float64')
- 90.9±0.8ms 4.35±0.09ms 0.05 frame_methods.Fillna.time_frame_fillna(False, 'bfill', 'Int64')
- 92.4±0.4ms 4.23±0.07ms 0.05 frame_methods.Fillna.time_frame_fillna(False, 'pad', 'Int64')
- 85.3±1ms 3.72±0.1ms 0.04 frame_methods.Fillna.time_frame_fillna(True, 'pad', 'Float64')
- 92.5±2ms 3.97±0.2ms 0.04 frame_methods.Fillna.time_frame_fillna(True, 'pad', 'Int64')
SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY.
PERFORMANCE INCREASED.
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39953/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39953/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39953.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39953",
"merged_at": "2021-03-05T19:00:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39953.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39953"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39954
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39954/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39954/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39954/events
|
https://github.com/pandas-dev/pandas/pull/39954
| 812,845,340
|
MDExOlB1bGxSZXF1ZXN0NTc3MTA0Mjk3
| 39,954
|
REF: Move the rest of Series.agg into apply
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
},
{
"color": "8dd5fc",
"default": false,
"description": "Series data structure",
"id": 1357732944,
"name": "Series",
"node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-21T12:34:19Z
| 2021-02-21T17:37:28Z
| 2021-02-21T17:32:11Z
|
MEMBER
| null |
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39954/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39954/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39954.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39954",
"merged_at": "2021-02-21T17:32:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39954.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39954"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39955
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39955/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39955/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39955/events
|
https://github.com/pandas-dev/pandas/pull/39955
| 812,853,789
|
MDExOlB1bGxSZXF1ZXN0NTc3MTEwMjA0
| 39,955
|
REF: Move the rest of DataFrame.agg into apply
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
},
{
"color": "370f77",
"default": false,
"description": "DataFrame data structure",
"id": 1049312478,
"name": "DataFrame",
"node_id": "MDU6TGFiZWwxMDQ5MzEyNDc4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/DataFrame"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-21T13:16:53Z
| 2021-02-21T17:37:43Z
| 2021-02-21T17:32:44Z
|
MEMBER
| null |
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39955/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39955/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39955.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39955",
"merged_at": "2021-02-21T17:32:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39955.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39955"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39956
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39956/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39956/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39956/events
|
https://github.com/pandas-dev/pandas/issues/39956
| 812,854,224
|
MDU6SXNzdWU4MTI4NTQyMjQ=
| 39,956
|
DOC: Serialization recommendation is deprecated
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1053153?v=4",
"events_url": "https://api.github.com/users/chrisroat/events{/privacy}",
"followers_url": "https://api.github.com/users/chrisroat/followers",
"following_url": "https://api.github.com/users/chrisroat/following{/other_user}",
"gists_url": "https://api.github.com/users/chrisroat/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/chrisroat",
"id": 1053153,
"login": "chrisroat",
"node_id": "MDQ6VXNlcjEwNTMxNTM=",
"organizations_url": "https://api.github.com/users/chrisroat/orgs",
"received_events_url": "https://api.github.com/users/chrisroat/received_events",
"repos_url": "https://api.github.com/users/chrisroat/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/chrisroat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chrisroat/subscriptions",
"type": "User",
"url": "https://api.github.com/users/chrisroat"
}
|
[
{
"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": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"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"
}
] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 12
| 2021-02-21T13:19:10Z
| 2021-09-29T10:33:32Z
| 2021-06-11T11:18:47Z
|
NONE
| null |
#### Location of the documentation
https://pandas.pydata.org/pandas-docs/dev/user_guide/io.html#io-msgpack
#### Documentation problem
Since the deprecation of msgpack for on-the-wire transmission, it is recommended to use pyarrow serialization/deserialization. However, since pyarrow 2.0, this [has been deprecated](https://arrow.apache.org/docs/python/ipc.html#arbitrary-object-serialization) for arbitrary objects. A deprecation message is emitted when using the documented code snippet.
```
$ python
Python 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyarrow as pa
>>> pa.__version__
'3.0.0'
>>> pa.default_serialization_context()
<stdin>:1: DeprecationWarning: 'pyarrow.default_serialization_context' is deprecated as of 2.0.0 and will be removed in a future version. Use pickle or the pyarrow IPC functionality instead.
<pyarrow.lib.SerializationContext object at 0x7f23dfa36940>
>>>
```
#### Suggested fix for documentation
Would pickle be next in line for a recommended on-the-wire format?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39956/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39956/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39957
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39957/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39957/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39957/events
|
https://github.com/pandas-dev/pandas/pull/39957
| 812,860,983
|
MDExOlB1bGxSZXF1ZXN0NTc3MTE1NDk1
| 39,957
|
REF: Move transform into apply
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
},
{
"color": "370f77",
"default": false,
"description": "DataFrame data structure",
"id": 1049312478,
"name": "DataFrame",
"node_id": "MDU6TGFiZWwxMDQ5MzEyNDc4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/DataFrame"
},
{
"color": "8dd5fc",
"default": false,
"description": "Series data structure",
"id": 1357732944,
"name": "Series",
"node_id": "MDU6TGFiZWwxMzU3NzMyOTQ0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Series"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-21T13:53:51Z
| 2021-02-21T17:38:02Z
| 2021-02-21T17:33:33Z
|
MEMBER
| null |
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
Cleanups and consolidations to follow.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39957/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39957/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39957.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39957",
"merged_at": "2021-02-21T17:33:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39957.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39957"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39958
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39958/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39958/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39958/events
|
https://github.com/pandas-dev/pandas/pull/39958
| 812,901,518
|
MDExOlB1bGxSZXF1ZXN0NTc3MTQ0OTc5
| 39,958
|
DOC: remove unnecessary index.html from the URL
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/23830955?v=4",
"events_url": "https://api.github.com/users/partev/events{/privacy}",
"followers_url": "https://api.github.com/users/partev/followers",
"following_url": "https://api.github.com/users/partev/following{/other_user}",
"gists_url": "https://api.github.com/users/partev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/partev",
"id": 23830955,
"login": "partev",
"node_id": "MDQ6VXNlcjIzODMwOTU1",
"organizations_url": "https://api.github.com/users/partev/orgs",
"received_events_url": "https://api.github.com/users/partev/received_events",
"repos_url": "https://api.github.com/users/partev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/partev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/partev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/partev"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-21T17:07:32Z
| 2021-02-24T01:03:26Z
| 2021-02-24T00:39:05Z
|
CONTRIBUTOR
| null |
remove unnecessary index.html from the URL
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39958/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39958/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39958.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39958",
"merged_at": "2021-02-24T00:39:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39958.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39958"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39959
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39959/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39959/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39959/events
|
https://github.com/pandas-dev/pandas/pull/39959
| 812,910,368
|
MDExOlB1bGxSZXF1ZXN0NTc3MTUxMTgx
| 39,959
|
TYP: maybe_cast_to_datetime
|
{
"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": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-21T17:49:53Z
| 2021-02-24T02:07:34Z
| 2021-02-24T00:38:35Z
|
MEMBER
| null |
Underlying motivation is to make Block._maybe_coerce_values unnecessary, which will improve `__init__` perf
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39959/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39959/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39959.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39959",
"merged_at": "2021-02-24T00:38:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39959.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39959"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39960
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39960/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39960/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39960/events
|
https://github.com/pandas-dev/pandas/pull/39960
| 812,947,760
|
MDExOlB1bGxSZXF1ZXN0NTc3MTc4MTc2
| 39,960
|
CLN: Remove some duplicated tests and parametrize
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] | null | 3
| 2021-02-21T20:51:25Z
| 2021-02-22T23:07:09Z
| 2021-02-22T22:30:49Z
|
MEMBER
| null |
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
There were a few duplicates from the ix removal
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39960/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39960/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39960.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39960",
"merged_at": "2021-02-22T22:30:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39960.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39960"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39961
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39961/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39961/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39961/events
|
https://github.com/pandas-dev/pandas/pull/39961
| 812,969,541
|
MDExOlB1bGxSZXF1ZXN0NTc3MTk0MjM3
| 39,961
|
REF: ensure soft_convert_objects returns ArrayLike
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-02-21T22:36:45Z
| 2021-02-22T15:33:17Z
| 2021-02-22T13:22:14Z
|
MEMBER
| null |
moves towards making _maybe_coerce_values unnecessary (perf!)
Also removes is_datetime and is_float attrs from Block, unrelated but ended up in the same branch.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39961/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39961/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39961.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39961",
"merged_at": "2021-02-22T13:22:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39961.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39961"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39962
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39962/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39962/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39962/events
|
https://github.com/pandas-dev/pandas/pull/39962
| 812,976,754
|
MDExOlB1bGxSZXF1ZXN0NTc3MTk5Mzg2
| 39,962
|
REF: ensure _sanitize_column returns ArrayLike
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-02-21T23:12:31Z
| 2021-02-22T15:32:29Z
| 2021-02-22T13:21:29Z
|
MEMBER
| null |
Part of making Block._maybe_coerce_values unnecessary
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39962/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39962/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39962.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39962",
"merged_at": "2021-02-22T13:21:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39962.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39962"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39963
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39963/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39963/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39963/events
|
https://github.com/pandas-dev/pandas/pull/39963
| 812,996,259
|
MDExOlB1bGxSZXF1ZXN0NTc3MjEzOTkz
| 39,963
|
ENH: NDArrayBackedExtensionArray swapaxes, delete-with-axis
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 3
| 2021-02-22T00:31:46Z
| 2021-02-25T14:55:41Z
| 2021-02-25T13:40:45Z
|
MEMBER
| null |
Sits on top of #39880
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39963/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39963/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39963.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39963",
"merged_at": "2021-02-25T13:40:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39963.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39963"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39964
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39964/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39964/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39964/events
|
https://github.com/pandas-dev/pandas/pull/39964
| 813,064,976
|
MDExOlB1bGxSZXF1ZXN0NTc3MjcyMTY4
| 39,964
|
CI: conditional xfail flaky 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": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 2
| 2021-02-22T02:53:38Z
| 2021-02-22T23:10:48Z
| 2021-02-22T22:57:17Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39964/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39964/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39964.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39964",
"merged_at": "2021-02-22T22:57:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39964.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39964"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39965
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39965/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39965/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39965/events
|
https://github.com/pandas-dev/pandas/pull/39965
| 813,167,010
|
MDExOlB1bGxSZXF1ZXN0NTc3MzU1ODI4
| 39,965
|
DOC : Updated the comparison with spreadsheets with GroupBy
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50989807?v=4",
"events_url": "https://api.github.com/users/0xpranjal/events{/privacy}",
"followers_url": "https://api.github.com/users/0xpranjal/followers",
"following_url": "https://api.github.com/users/0xpranjal/following{/other_user}",
"gists_url": "https://api.github.com/users/0xpranjal/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/0xpranjal",
"id": 50989807,
"login": "0xpranjal",
"node_id": "MDQ6VXNlcjUwOTg5ODA3",
"organizations_url": "https://api.github.com/users/0xpranjal/orgs",
"received_events_url": "https://api.github.com/users/0xpranjal/received_events",
"repos_url": "https://api.github.com/users/0xpranjal/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/0xpranjal/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/0xpranjal/subscriptions",
"type": "User",
"url": "https://api.github.com/users/0xpranjal"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"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 | 11
| 2021-02-22T06:19:14Z
| 2021-07-29T20:35:08Z
| 2021-07-29T20:35:07Z
|
CONTRIBUTOR
| null |
- [x] part of #38990
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39965/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39965/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39965.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39965",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/39965.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39965"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39966
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39966/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39966/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39966/events
|
https://github.com/pandas-dev/pandas/pull/39966
| 813,316,311
|
MDExOlB1bGxSZXF1ZXN0NTc3NDg0NTY5
| 39,966
|
DOC: fix link in 1.2.3 release notes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 2
| 2021-02-22T09:29:23Z
| 2021-02-22T13:36:42Z
| 2021-02-22T13:25:41Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39966/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39966/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39966.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39966",
"merged_at": "2021-02-22T13:25:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39966.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39966"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/39967
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39967/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39967/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39967/events
|
https://github.com/pandas-dev/pandas/issues/39967
| 813,397,785
|
MDU6SXNzdWU4MTMzOTc3ODU=
| 39,967
|
ENH: Improve assertion message for `assert_frame_equal`
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/18086180?v=4",
"events_url": "https://api.github.com/users/mansenfranzen/events{/privacy}",
"followers_url": "https://api.github.com/users/mansenfranzen/followers",
"following_url": "https://api.github.com/users/mansenfranzen/following{/other_user}",
"gists_url": "https://api.github.com/users/mansenfranzen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mansenfranzen",
"id": 18086180,
"login": "mansenfranzen",
"node_id": "MDQ6VXNlcjE4MDg2MTgw",
"organizations_url": "https://api.github.com/users/mansenfranzen/orgs",
"received_events_url": "https://api.github.com/users/mansenfranzen/received_events",
"repos_url": "https://api.github.com/users/mansenfranzen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mansenfranzen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mansenfranzen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mansenfranzen"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"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"
}
] |
open
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/18086180?v=4",
"events_url": "https://api.github.com/users/mansenfranzen/events{/privacy}",
"followers_url": "https://api.github.com/users/mansenfranzen/followers",
"following_url": "https://api.github.com/users/mansenfranzen/following{/other_user}",
"gists_url": "https://api.github.com/users/mansenfranzen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mansenfranzen",
"id": 18086180,
"login": "mansenfranzen",
"node_id": "MDQ6VXNlcjE4MDg2MTgw",
"organizations_url": "https://api.github.com/users/mansenfranzen/orgs",
"received_events_url": "https://api.github.com/users/mansenfranzen/received_events",
"repos_url": "https://api.github.com/users/mansenfranzen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mansenfranzen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mansenfranzen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mansenfranzen"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/18086180?v=4",
"events_url": "https://api.github.com/users/mansenfranzen/events{/privacy}",
"followers_url": "https://api.github.com/users/mansenfranzen/followers",
"following_url": "https://api.github.com/users/mansenfranzen/following{/other_user}",
"gists_url": "https://api.github.com/users/mansenfranzen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mansenfranzen",
"id": 18086180,
"login": "mansenfranzen",
"node_id": "MDQ6VXNlcjE4MDg2MTgw",
"organizations_url": "https://api.github.com/users/mansenfranzen/orgs",
"received_events_url": "https://api.github.com/users/mansenfranzen/received_events",
"repos_url": "https://api.github.com/users/mansenfranzen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mansenfranzen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mansenfranzen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mansenfranzen"
}
] | null | 4
| 2021-02-22T11:08:31Z
| 2021-06-29T08:14:50Z
| null |
NONE
| null |
# Problem description
For testing data pipelines using pandas I usually use `assert_frame_equal` to compare expected and resulting dataframes. However, in some circumstances (e.g. test dataframes with more than 20 rows/columns and timestamps) the resulting assertion message may not provide enough information to easily identify the difference between expected and resulting dataframe.
Consider the following example with timestamp columns:
```python
import pandas as pd
df_expected = pd.DataFrame(
{
"timestamp_1": pd.date_range(start="2020-01-01 10:00:01", periods=10, freq="d"),
"timestamp_2": pd.date_range(start="2020-05-05 10:00:01", periods=10, freq="d"),
}
)
df_resulting = df_result.copy()
df_resulting.iloc[7, 1] = pd.Timestamp("2020-01-07 15:00:00")
pd.testing.assert_frame_equal(df_resulting, df_expected)
```
The resulting assertion message is the follwing:
```python
AssertionError: numpy array are different
numpy array values are different (10.0 %)
[index]: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
[left]: [1588672801000000000, 1588759201000000000, 1588845601000000000, 1588932001000000000, 1589018401000000000, 1589104801000000000, 1589191201000000000, 1578409200000000000, 1589364001000000000, 1589450401000000000]
[right]: [1588672801000000000, 1588759201000000000, 1588845601000000000, 1588932001000000000, 1589018401000000000, 1589104801000000000, 1589191201000000000, 1589277601000000000, 1589364001000000000, 1589450401000000000]
```
It is already hard to spot the actual difference even though we have only 2 columns with 10 rows. I don't know the column name and the affected indices.
# Proposal
The assertion message could include the name of the column and differing indices, like:
```python
AssertionError: numpy array are different
numpy array values are different (10.0 %)
[column]: timestamp_2
[affected_indices]: [7]
[index]: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
[left]: [1588672801000000000, 1588759201000000000, 1588845601000000000, 1588932001000000000, 1589018401000000000, 1589104801000000000, 1589191201000000000, 1578409200000000000, 1589364001000000000, 1589450401000000000]
[right]: [1588672801000000000, 1588759201000000000, 1588845601000000000, 1588932001000000000, 1589018401000000000, 1589104801000000000, 1589191201000000000, 1589277601000000000, 1589364001000000000, 1589450401000000000]
```
I can find the differences by using some additional boilerplate code however it would be more convenient to have such assertion information right away.
### API breaking implications
There should be no breaking API changes. However, `assert_extension_array_equal` and `assert_numpy_array_equal` may need an additional keyword argument in order to pass the column name.
### Describe alternatives you've considered
Currently, I use the following helper function to see the actual differences:
```python
import pandas as pd
import numpy as np
def identify_differences(df_left: pd.DataFrame, df_right: pd.DataFrame) -> pd.DataFrame:
"""Provide indices, column names and differing values for left and
right dataframe. Assumes that dataframes have same shape, indicies
and columns.
Parameters
----------
df_left: pd.DataFrame
Left dataframe used for comparison.
df_right: pd.DataFrame
Right dataframe used for comparison.
Returns
-------
df_differences: pd.DataFrame
DataFrame containing indices, column names and differing values
of left and right dataframe.
"""
mask = df_left.ne(df_right)
indices, columns = np.where(mask)
differences = [
{
"index": df.index[idx],
"column": df.columns[col],
"left": df_left.iloc[idx, col],
"right": df_right.iloc[idx, col],
}
for idx, col in zip(indices, columns)
]
return pd.DataFrame(differences)
```
This works nicely but I'd rather have the information in the assertion message already.
---
If agreed, I could provide a PR myself. Thanks for looking at it anyway.
|
{
"+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/39967/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39967/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39968
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39968/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39968/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39968/events
|
https://github.com/pandas-dev/pandas/pull/39968
| 813,500,435
|
MDExOlB1bGxSZXF1ZXN0NTc3NjM4NzUz
| 39,968
|
Backport PR #39966 on branch 1.2.x (DOC: fix link in 1.2.3 release notes)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 0
| 2021-02-22T13:26:39Z
| 2021-02-22T15:22:45Z
| 2021-02-22T15:22:45Z
|
NONE
| null |
Backport PR #39966: DOC: fix link in 1.2.3 release notes
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39968/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39968/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39968.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39968",
"merged_at": "2021-02-22T15:22:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39968.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39968"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39969
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39969/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39969/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39969/events
|
https://github.com/pandas-dev/pandas/pull/39969
| 813,558,697
|
MDExOlB1bGxSZXF1ZXN0NTc3Njg3Mzc2
| 39,969
|
DOC: fix a warning using obsolete package
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/23830955?v=4",
"events_url": "https://api.github.com/users/partev/events{/privacy}",
"followers_url": "https://api.github.com/users/partev/followers",
"following_url": "https://api.github.com/users/partev/following{/other_user}",
"gists_url": "https://api.github.com/users/partev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/partev",
"id": 23830955,
"login": "partev",
"node_id": "MDQ6VXNlcjIzODMwOTU1",
"organizations_url": "https://api.github.com/users/partev/orgs",
"received_events_url": "https://api.github.com/users/partev/received_events",
"repos_url": "https://api.github.com/users/partev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/partev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/partev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/partev"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-22T14:36:39Z
| 2021-02-22T21:54:35Z
| 2021-02-22T21:41:31Z
|
CONTRIBUTOR
| null |
currently there is a warning:
"/home/runner/miniconda3/envs/pandas-dev/lib/python3.8/site-packages/IPython/html.py:12: ShimWarning: The `IPython.html` package has been deprecated since IPython 4.0. You should import from `notebook` instead. `IPython.html.widgets` has moved to `ipywidgets`.
warn("The `IPython.html` package has been deprecated since IPython 4.0. ""
this change fixes the warning.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39969/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39969/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39969.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39969",
"merged_at": "2021-02-22T21:41:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39969.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39969"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39970
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39970/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39970/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39970/events
|
https://github.com/pandas-dev/pandas/issues/39970
| 813,612,004
|
MDU6SXNzdWU4MTM2MTIwMDQ=
| 39,970
|
[BUG] - Can't build pandas with msvc compiler (on Windows)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/32093748?v=4",
"events_url": "https://api.github.com/users/ovidiumse/events{/privacy}",
"followers_url": "https://api.github.com/users/ovidiumse/followers",
"following_url": "https://api.github.com/users/ovidiumse/following{/other_user}",
"gists_url": "https://api.github.com/users/ovidiumse/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ovidiumse",
"id": 32093748,
"login": "ovidiumse",
"node_id": "MDQ6VXNlcjMyMDkzNzQ4",
"organizations_url": "https://api.github.com/users/ovidiumse/orgs",
"received_events_url": "https://api.github.com/users/ovidiumse/received_events",
"repos_url": "https://api.github.com/users/ovidiumse/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ovidiumse/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ovidiumse/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ovidiumse"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
},
{
"color": "be21f2",
"default": false,
"description": "May be closeable, needs more eyeballs",
"id": 2365504893,
"name": "Closing Candidate",
"node_id": "MDU6TGFiZWwyMzY1NTA0ODkz",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Closing%20Candidate"
}
] |
closed
| false
| null |
[] | null | 12
| 2021-02-22T15:36:30Z
| 2021-02-24T07:41:08Z
| 2021-02-24T07:41:08Z
|
NONE
| null |
Building pandas on Windows gives the following errors:
pandas/__libs/src/parser/tokenizer.c(464): error C2146: syntax error: missing ')' before identifier 'PRIu64'
It seems like PRIu64 is used in src/parser/tokenizer.c, but the header defining PRIu64 (inttypes.h) is not included. The library includes <stdint.h> through src/headers/stdint.h, but not inttypes.h which defines PRIu64, and also includes stdint.h
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39970/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39970/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39971
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39971/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39971/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39971/events
|
https://github.com/pandas-dev/pandas/pull/39971
| 813,641,971
|
MDExOlB1bGxSZXF1ZXN0NTc3NzU2NTYw
| 39,971
|
REGR: Fix assignment bug for unary operators
|
{
"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": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 6
| 2021-02-22T16:11:16Z
| 2021-02-27T12:20:07Z
| 2021-02-23T11:07:54Z
|
MEMBER
| null |
- [x] closes https://github.com/pandas-dev/pandas/issues/39943
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
If there was somehow a way to copy the mask only on write so we aren't always copying that may be better. @simonjayhawkins I put this in the `IntegerArray` tests even though we're technically checking a `Series`, let me know if you'd prefer I rewrite or move elsewhere.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39971/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39971/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39971.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39971",
"merged_at": "2021-02-23T11:07:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39971.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39971"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39972
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39972/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39972/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39972/events
|
https://github.com/pandas-dev/pandas/pull/39972
| 813,693,582
|
MDExOlB1bGxSZXF1ZXN0NTc3Nzk5NTEw
| 39,972
|
PERF: halve render time in Styler with itertuples
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 3
| 2021-02-22T17:12:44Z
| 2021-03-30T05:04:59Z
| 2021-02-23T13:26:50Z
|
CONTRIBUTOR
| null |
```
before after ratio
[dfb92d0f] [e5c2790b]
<master> <perf_itertups>
- 149±1ms 74.4±2ms 0.50 io.style.RenderApply.time_render(24, 120)
- 31.9±1ms 15.9±0.8ms 0.50 io.style.RenderApply.time_render(24, 12)
- 86.3±20ms 42.3±1ms 0.49 io.style.RenderApply.time_render(12, 120)
- 12.2±0.2ms 5.93±0.2ms 0.49 io.style.RenderApply.time_render(12, 12)
- 44.8±0.5ms 21.7±0.3ms 0.48 io.style.RenderApply.time_render(36, 12)
- 227±2ms 99.9±1ms 0.44 io.style.RenderApply.time_render(36, 120)
SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY.
PERFORMANCE INCREASED.
```
FYI `Styler` now faster than `to_html`, even without any function stripping...
```
df = pd.DataFrame(np.random.rand(10000,10))
%timeit df.to_html()
1.9 s ± 63.4 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
%timeit df.style.render()
1.71 s ± 14.2 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39972/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39972/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39972.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39972",
"merged_at": "2021-02-23T13:26:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39972.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39972"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39973
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39973/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39973/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39973/events
|
https://github.com/pandas-dev/pandas/pull/39973
| 813,715,946
|
MDExOlB1bGxSZXF1ZXN0NTc3ODE4MDg5
| 39,973
|
DOC: fix a mis-formatted external link
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/23830955?v=4",
"events_url": "https://api.github.com/users/partev/events{/privacy}",
"followers_url": "https://api.github.com/users/partev/followers",
"following_url": "https://api.github.com/users/partev/following{/other_user}",
"gists_url": "https://api.github.com/users/partev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/partev",
"id": 23830955,
"login": "partev",
"node_id": "MDQ6VXNlcjIzODMwOTU1",
"organizations_url": "https://api.github.com/users/partev/orgs",
"received_events_url": "https://api.github.com/users/partev/received_events",
"repos_url": "https://api.github.com/users/partev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/partev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/partev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/partev"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 3
| 2021-02-22T17:40:51Z
| 2021-02-23T01:09:04Z
| 2021-02-22T23:54:31Z
|
CONTRIBUTOR
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39973/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39973/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39973.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39973",
"merged_at": "2021-02-22T23:54:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39973.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39973"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39974
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39974/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39974/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39974/events
|
https://github.com/pandas-dev/pandas/pull/39974
| 813,808,678
|
MDExOlB1bGxSZXF1ZXN0NTc3ODk0MjQ5
| 39,974
|
update pyperclip link
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/30778939?v=4",
"events_url": "https://api.github.com/users/rohitgr7/events{/privacy}",
"followers_url": "https://api.github.com/users/rohitgr7/followers",
"following_url": "https://api.github.com/users/rohitgr7/following{/other_user}",
"gists_url": "https://api.github.com/users/rohitgr7/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rohitgr7",
"id": 30778939,
"login": "rohitgr7",
"node_id": "MDQ6VXNlcjMwNzc4OTM5",
"organizations_url": "https://api.github.com/users/rohitgr7/orgs",
"received_events_url": "https://api.github.com/users/rohitgr7/received_events",
"repos_url": "https://api.github.com/users/rohitgr7/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rohitgr7/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rohitgr7/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rohitgr7"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 3
| 2021-02-22T19:46:44Z
| 2021-02-23T05:31:59Z
| 2021-02-22T23:51:51Z
|
CONTRIBUTOR
| null |
looks like the link is outdated. updated it.
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39974/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39974/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39974.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39974",
"merged_at": "2021-02-22T23:51:51Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39974.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39974"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39975
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39975/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39975/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39975/events
|
https://github.com/pandas-dev/pandas/pull/39975
| 813,842,464
|
MDExOlB1bGxSZXF1ZXN0NTc3OTIyMTM3
| 39,975
|
BUG: Incomplete Styler copy methods fix (#39708)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26299608?v=4",
"events_url": "https://api.github.com/users/rlukevie/events{/privacy}",
"followers_url": "https://api.github.com/users/rlukevie/followers",
"following_url": "https://api.github.com/users/rlukevie/following{/other_user}",
"gists_url": "https://api.github.com/users/rlukevie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rlukevie",
"id": 26299608,
"login": "rlukevie",
"node_id": "MDQ6VXNlcjI2Mjk5NjA4",
"organizations_url": "https://api.github.com/users/rlukevie/orgs",
"received_events_url": "https://api.github.com/users/rlukevie/received_events",
"repos_url": "https://api.github.com/users/rlukevie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rlukevie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlukevie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rlukevie"
}
|
[
{
"color": "006b75",
"default": false,
"description": "conditional formatting using DataFrame.style",
"id": 1728592794,
"name": "Styler",
"node_id": "MDU6TGFiZWwxNzI4NTkyNzk0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Styler"
},
{
"color": "70e5ca",
"default": false,
"description": "",
"id": 2085877452,
"name": "Copy / view semantics",
"node_id": "MDU6TGFiZWwyMDg1ODc3NDUy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Copy%20/%20view%20semantics"
}
] |
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"
}
| 5
| 2021-02-22T20:34:30Z
| 2021-03-05T08:42:48Z
| 2021-03-05T00:52:34Z
|
CONTRIBUTOR
| null |
- [x] closes #39708
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
I haven't made so many pull requests before, so I hope this is going into the right direction.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39975/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39975/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39975.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39975",
"merged_at": "2021-03-05T00:52:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39975.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39975"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39976
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39976/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39976/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39976/events
|
https://github.com/pandas-dev/pandas/pull/39976
| 813,862,233
|
MDExOlB1bGxSZXF1ZXN0NTc3OTM4MzIz
| 39,976
|
TST: collect tests by method
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-02-22T21:03:48Z
| 2021-02-22T23:11:02Z
| 2021-02-22T22:58:05Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39976/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39976/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39976.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39976",
"merged_at": "2021-02-22T22:58:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39976.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39976"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39977
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39977/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39977/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39977/events
|
https://github.com/pandas-dev/pandas/issues/39977
| 813,868,466
|
MDU6SXNzdWU4MTM4Njg0NjY=
| 39,977
|
BUG: numpy.datetime64 unit counts ignored
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8031433?v=4",
"events_url": "https://api.github.com/users/kylehofmann/events{/privacy}",
"followers_url": "https://api.github.com/users/kylehofmann/followers",
"following_url": "https://api.github.com/users/kylehofmann/following{/other_user}",
"gists_url": "https://api.github.com/users/kylehofmann/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kylehofmann",
"id": 8031433,
"login": "kylehofmann",
"node_id": "MDQ6VXNlcjgwMzE0MzM=",
"organizations_url": "https://api.github.com/users/kylehofmann/orgs",
"received_events_url": "https://api.github.com/users/kylehofmann/received_events",
"repos_url": "https://api.github.com/users/kylehofmann/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kylehofmann/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kylehofmann/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kylehofmann"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] |
open
| false
| null |
[] | null | 0
| 2021-02-22T21:13:37Z
| 2021-06-06T20:53:41Z
| null |
NONE
| null |
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the latest version of pandas.
- [X] (optional) I have confirmed this bug exists on the master branch of pandas.
---
```python
import numpy as np
import pandas as pd
pd.Timestamp(np.datetime64('2000-01-01', '10ns')) == pd.Timestamp('2000-01-01')
```
Should be ```True```, is instead ```False```. The problem is that the unit count of 10 is ignored. Compare:
```python
pd.Timestamp(np.datetime64('2000-01-01', '10ns')).asm8.item()
pd.Timestamp(np.datetime64('2000-01-01', '1ns')).asm8.item()
```
The bug occurs in two places, both in `_libs/tslibs/conversion.pyx`. Both `get_datetime64_nanos` and `ensure_datetime64ns` forget to check the count. I don't know a Cython API to get the count, though it is accessible from `numpy.datetime_data`.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39977/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39977/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39978
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39978/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39978/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39978/events
|
https://github.com/pandas-dev/pandas/pull/39978
| 813,875,938
|
MDExOlB1bGxSZXF1ZXN0NTc3OTQ5OTMw
| 39,978
|
DOC: fix template substitution in pad/bfill docstrings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/23036581?v=4",
"events_url": "https://api.github.com/users/dylanp-git/events{/privacy}",
"followers_url": "https://api.github.com/users/dylanp-git/followers",
"following_url": "https://api.github.com/users/dylanp-git/following{/other_user}",
"gists_url": "https://api.github.com/users/dylanp-git/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dylanp-git",
"id": 23036581,
"login": "dylanp-git",
"node_id": "MDQ6VXNlcjIzMDM2NTgx",
"organizations_url": "https://api.github.com/users/dylanp-git/orgs",
"received_events_url": "https://api.github.com/users/dylanp-git/received_events",
"repos_url": "https://api.github.com/users/dylanp-git/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dylanp-git/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dylanp-git/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dylanp-git"
}
|
[
{
"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": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 7
| 2021-02-22T21:23:47Z
| 2021-02-24T15:08:24Z
| 2021-02-24T13:36:09Z
|
CONTRIBUTOR
| null |
- [ ] closes #39640
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
#39640 Added doc tag above ffill() to substitute klass
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39978/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39978/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39978.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39978",
"merged_at": "2021-02-24T13:36:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39978.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39978"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39979
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39979/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39979/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39979/events
|
https://github.com/pandas-dev/pandas/pull/39979
| 813,936,537
|
MDExOlB1bGxSZXF1ZXN0NTc4MDAwODc3
| 39,979
|
Backport PR #39944 on branch 1.2.x (Fix regression for setitem not aligning rhs with boolean indexer)
|
{
"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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 1
| 2021-02-22T22:59:46Z
| 2021-02-23T11:00:57Z
| 2021-02-23T11:00:57Z
|
NONE
| null |
Backport PR #39944: Fix regression for setitem not aligning rhs with boolean indexer
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39979/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39979/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39979.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39979",
"merged_at": "2021-02-23T11:00:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39979.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39979"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39980
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39980/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39980/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39980/events
|
https://github.com/pandas-dev/pandas/pull/39980
| 813,948,669
|
MDExOlB1bGxSZXF1ZXN0NTc4MDExMjAx
| 39,980
|
TST: collect indexing tests by method
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-02-22T23:19:40Z
| 2021-02-23T15:18:26Z
| 2021-02-23T13:25:48Z
|
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/39980/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39980/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39980.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39980",
"merged_at": "2021-02-23T13:25:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39980.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39980"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/39981
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39981/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39981/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39981/events
|
https://github.com/pandas-dev/pandas/pull/39981
| 813,966,150
|
MDExOlB1bGxSZXF1ZXN0NTc4MDI1ODc1
| 39,981
|
Backport PR #39974 on branch 1.2.x (update pyperclip link)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 0
| 2021-02-22T23:52:01Z
| 2021-02-23T01:02:57Z
| 2021-02-23T01:02:57Z
|
NONE
| null |
Backport PR #39974: update pyperclip 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/39981/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39981/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39981.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39981",
"merged_at": "2021-02-23T01:02:57Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39981.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39981"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39982
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39982/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39982/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39982/events
|
https://github.com/pandas-dev/pandas/pull/39982
| 813,967,440
|
MDExOlB1bGxSZXF1ZXN0NTc4MDI2OTcw
| 39,982
|
Backport PR #39973 on branch 1.2.x (DOC: fix a mis-formatted external link)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 0
| 2021-02-22T23:54:41Z
| 2021-02-23T01:03:17Z
| 2021-02-23T01:03:17Z
|
NONE
| null |
Backport PR #39973: DOC: fix a mis-formatted external 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/39982/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39982/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39982.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39982",
"merged_at": "2021-02-23T01:03:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39982.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39982"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39983
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39983/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39983/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39983/events
|
https://github.com/pandas-dev/pandas/issues/39983
| 813,982,390
|
MDU6SXNzdWU4MTM5ODIzOTA=
| 39,983
|
Deprecate: `level` parameter for aggregations in DataFrame and Series
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10732128?v=4",
"events_url": "https://api.github.com/users/devin-petersohn/events{/privacy}",
"followers_url": "https://api.github.com/users/devin-petersohn/followers",
"following_url": "https://api.github.com/users/devin-petersohn/following{/other_user}",
"gists_url": "https://api.github.com/users/devin-petersohn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/devin-petersohn",
"id": 10732128,
"login": "devin-petersohn",
"node_id": "MDQ6VXNlcjEwNzMyMTI4",
"organizations_url": "https://api.github.com/users/devin-petersohn/orgs",
"received_events_url": "https://api.github.com/users/devin-petersohn/received_events",
"repos_url": "https://api.github.com/users/devin-petersohn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/devin-petersohn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/devin-petersohn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/devin-petersohn"
}
|
[
{
"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": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 12
| 2021-02-23T00:24:37Z
| 2021-09-10T02:19:32Z
| 2021-04-13T11:53:28Z
|
CONTRIBUTOR
| null |
For `sum`, `prod`, `count`, etc. there is a parameter `level` which is internally rewritten into `groupby`.
I propose that the `level` parameter for these aggregations be deprecated and instead recommend to users that they use the `groupby` syntax.
The functions that would be affected are:
* any
* all
* count
* sum
* prod
* max
* min
* mean
* median
* skew
* kurt
* sem
* var
* std
* mad
I believe this list is comprehensive.
|
{
"+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/39983/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39983/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39984
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39984/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39984/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39984/events
|
https://github.com/pandas-dev/pandas/issues/39984
| 814,046,431
|
MDU6SXNzdWU4MTQwNDY0MzE=
| 39,984
|
BUG: Unable to create a MultiIndex with `nan` values in nullable `Float` dtypes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11664259?v=4",
"events_url": "https://api.github.com/users/galipremsagar/events{/privacy}",
"followers_url": "https://api.github.com/users/galipremsagar/followers",
"following_url": "https://api.github.com/users/galipremsagar/following{/other_user}",
"gists_url": "https://api.github.com/users/galipremsagar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/galipremsagar",
"id": 11664259,
"login": "galipremsagar",
"node_id": "MDQ6VXNlcjExNjY0MjU5",
"organizations_url": "https://api.github.com/users/galipremsagar/orgs",
"received_events_url": "https://api.github.com/users/galipremsagar/received_events",
"repos_url": "https://api.github.com/users/galipremsagar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/galipremsagar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/galipremsagar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/galipremsagar"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
},
{
"color": "207de5",
"default": false,
"description": "Requires discussion from core team before further action",
"id": 219960758,
"name": "Needs Discussion",
"node_id": "MDU6TGFiZWwyMTk5NjA3NTg=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Discussion"
},
{
"color": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] |
open
| false
| null |
[] | null | 0
| 2021-02-23T02:44:21Z
| 2021-07-01T21:14:39Z
| null |
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
>>> df = pd.DataFrame({'a':pd.Series([1, 2, None], dtype='Int64'), 'b':pd.Float64Dtype().__from_arrow__(pa.array([0.2, np.nan, None]))})
>>> df
a b
0 1 0.2
1 2 NaN
2 <NA> <NA>
>>> pd.MultiIndex.from_frame(df)
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/indexes/multi.py", line 662, in from_frame
return cls.from_arrays(columns, sortorder=sortorder, names=names)
File "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/indexes/multi.py", line 462, in from_arrays
codes, levels = factorize_from_iterables(arrays)
File "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/arrays/categorical.py", line 2632, in factorize_from_iterables
return map(list, zip(*(factorize_from_iterable(it) for it in iterables)))
File "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/arrays/categorical.py", line 2632, in <genexpr>
return map(list, zip(*(factorize_from_iterable(it) for it in iterables)))
File "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/arrays/categorical.py", line 2604, in factorize_from_iterable
cat = Categorical(values, ordered=False)
File "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/arrays/categorical.py", line 359, in __init__
dtype = CategoricalDtype(categories, dtype.ordered)
File "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/dtypes/dtypes.py", line 160, in __init__
self._finalize(categories, ordered, fastpath=False)
File "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/dtypes/dtypes.py", line 314, in _finalize
categories = self.validate_categories(categories, fastpath=fastpath)
File "/Users/pgali/PycharmProjects/del/venv1/lib/python3.7/site-packages/pandas/core/dtypes/dtypes.py", line 508, in validate_categories
raise ValueError("Categorical categories cannot be null")
ValueError: Categorical categories cannot be null
```
#### Problem description
Should `nan` be allowed in the first place while creating a nullable floating array? If yes, then we have an issue while creating a mulit-index from the dataframe.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 7d32926db8f7541c356066dcadabf854487738de
python : 3.7.3.final.0
python-bits : 64
OS : Darwin
OS-release : 20.3.0
Version : Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.2.2
numpy : 1.19.2
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 50.3.0
Cython : None
pytest : None
hypothesis : 5.29.0
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 1.0.1
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39984/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39984/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39985
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39985/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39985/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39985/events
|
https://github.com/pandas-dev/pandas/issues/39985
| 814,081,011
|
MDU6SXNzdWU4MTQwODEwMTE=
| 39,985
|
BUG: to_json fails writing to GCS with compression
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/4755?v=4",
"events_url": "https://api.github.com/users/dariobig/events{/privacy}",
"followers_url": "https://api.github.com/users/dariobig/followers",
"following_url": "https://api.github.com/users/dariobig/following{/other_user}",
"gists_url": "https://api.github.com/users/dariobig/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dariobig",
"id": 4755,
"login": "dariobig",
"node_id": "MDQ6VXNlcjQ3NTU=",
"organizations_url": "https://api.github.com/users/dariobig/orgs",
"received_events_url": "https://api.github.com/users/dariobig/received_events",
"repos_url": "https://api.github.com/users/dariobig/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dariobig/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dariobig/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dariobig"
}
|
[
{
"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": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 9
| 2021-02-23T04:07:53Z
| 2021-02-26T00:12:38Z
| 2021-02-24T18:05:39Z
|
NONE
| null |
- [X] I have checked that this issue has not already been reported.
- [X] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
```python
import pandas as pd
df = pd.DataFrame({'numbers': list(range(1, 10))})
df.to_json('gcs://test-bucket/test.json.gz')
```
#### Problem description
Error writing compressed stream using gcs. Removing compression works fine.
```
import pandas as pd...
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/workspaces/charybdis/test_pg.py in
254
255 df = pd.DataFrame({'numbers': list(range(1, 10))})
----> 256 df.to_json('gcs://river-categorizer-data-us-central1/test.jsonl.gz')
/workspaces/charybdis/.venv/lib/python3.8/site-packages/pandas/core/generic.py in to_json(self, path_or_buf, orient, date_format, double_precision, force_ascii, date_unit, default_handler, lines, compression, index, indent, storage_options)
2463 indent = indent or 0
2464
-> 2465 return json.to_json(
2466 path_or_buf=path_or_buf,
2467 obj=self,
/workspaces/charybdis/.venv/lib/python3.8/site-packages/pandas/io/json/_json.py in to_json(path_or_buf, obj, orient, date_format, double_precision, force_ascii, date_unit, default_handler, lines, compression, index, indent, storage_options)
100 if path_or_buf is not None:
101 # apply compression and byte/text conversion
--> 102 with get_handle(
103 path_or_buf, "wt", compression=compression, storage_options=storage_options
104 ) as handles:
/workspaces/charybdis/.venv/lib/python3.8/site-packages/pandas/io/common.py in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options)
590 )
591 else:
--> 592 handle = gzip.GzipFile(
593 fileobj=handle, # type: ignore[arg-type]
594 mode=ioargs.mode,
/usr/local/lib/python3.8/gzip.py in __init__(self, filename, mode, compresslevel, fileobj, mtime)
202
203 if self.mode == WRITE:
--> 204 self._write_gzip_header(compresslevel)
205
206 @property
/usr/local/lib/python3.8/gzip.py in _write_gzip_header(self, compresslevel)
230
231 def _write_gzip_header(self, compresslevel):
--> 232 self.fileobj.write(b'\037\213') # magic header
233 self.fileobj.write(b'\010') # compression method
```
#### Expected Output
No error
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 7d32926db8f7541c356066dcadabf854487738de
python : 3.8.7.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.121-linuxkit
Version : #1 SMP Tue Dec 1 17:50:32 UTC 2020
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.2.2
numpy : 1.20.1
pytz : 2021.1
dateutil : 2.8.1
pip : 20.2.2
setuptools : 49.6.0
Cython : None
pytest : 6.2.2
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.2
html5lib : None
pymysql : None
psycopg2 : 2.8.6 (dt dec pq3 ext lo64)
jinja2 : 2.11.3
IPython : 7.20.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : None
fsspec : 0.8.5
fastparquet : None
gcsfs : 0.7.2
matplotlib : 3.3.4
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 3.0.0
pyxlsb : None
s3fs : None
scipy : 1.6.0
sqlalchemy : 1.3.23
tables : None
tabulate : 0.8.7
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39985/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39985/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39986
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39986/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39986/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39986/events
|
https://github.com/pandas-dev/pandas/pull/39986
| 814,167,612
|
MDExOlB1bGxSZXF1ZXN0NTc4MTk4OTAx
| 39,986
|
sort_index not sorting when multi-index made by different categorical types
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24451137?v=4",
"events_url": "https://api.github.com/users/ftrihardjo/events{/privacy}",
"followers_url": "https://api.github.com/users/ftrihardjo/followers",
"following_url": "https://api.github.com/users/ftrihardjo/following{/other_user}",
"gists_url": "https://api.github.com/users/ftrihardjo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ftrihardjo",
"id": 24451137,
"login": "ftrihardjo",
"node_id": "MDQ6VXNlcjI0NDUxMTM3",
"organizations_url": "https://api.github.com/users/ftrihardjo/orgs",
"received_events_url": "https://api.github.com/users/ftrihardjo/received_events",
"repos_url": "https://api.github.com/users/ftrihardjo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ftrihardjo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ftrihardjo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ftrihardjo"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 71268330,
"name": "MultiIndex",
"node_id": "MDU6TGFiZWw3MTI2ODMzMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/MultiIndex"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 3
| 2021-02-23T06:45:55Z
| 2021-03-15T00:32:17Z
| 2021-03-15T00:32:13Z
|
CONTRIBUTOR
| null |
- [ ] closes #24271
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39986/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39986/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39986.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39986",
"merged_at": "2021-03-15T00:32:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39986.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39986"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39987
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39987/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39987/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39987/events
|
https://github.com/pandas-dev/pandas/issues/39987
| 814,187,314
|
MDU6SXNzdWU4MTQxODczMTQ=
| 39,987
|
ENH: `applymap` get kwargs?
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/24256554?v=4",
"events_url": "https://api.github.com/users/attack68/events{/privacy}",
"followers_url": "https://api.github.com/users/attack68/followers",
"following_url": "https://api.github.com/users/attack68/following{/other_user}",
"gists_url": "https://api.github.com/users/attack68/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/attack68",
"id": 24256554,
"login": "attack68",
"node_id": "MDQ6VXNlcjI0MjU2NTU0",
"organizations_url": "https://api.github.com/users/attack68/orgs",
"received_events_url": "https://api.github.com/users/attack68/received_events",
"repos_url": "https://api.github.com/users/attack68/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/attack68/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/attack68/subscriptions",
"type": "User",
"url": "https://api.github.com/users/attack68"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0052cc",
"default": false,
"description": "Issue that has not been reviewed by a pandas team member",
"id": 1954720290,
"name": "Needs Triage",
"node_id": "MDU6TGFiZWwxOTU0NzIwMjkw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Triage"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-23T07:15:06Z
| 2021-03-23T16:11:16Z
| 2021-03-23T16:11:16Z
|
CONTRIBUTOR
| null |
`apply` has `kwargs` whilst `applymap` does not. Is there a specific reason for this?
it's straight forward to do
```
apply(f, **kwarrgs)
```
or
```
g = partial(f **kwargs)
applymap(g)
```
its not documented how this can be achieved with `partial` which the more casual user might miss?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39987/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39987/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39988
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39988/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39988/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39988/events
|
https://github.com/pandas-dev/pandas/issues/39988
| 814,295,482
|
MDU6SXNzdWU4MTQyOTU0ODI=
| 39,988
|
BUG: to_offset doesn't use the compiled regex
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13810199?v=4",
"events_url": "https://api.github.com/users/Mulugruntz/events{/privacy}",
"followers_url": "https://api.github.com/users/Mulugruntz/followers",
"following_url": "https://api.github.com/users/Mulugruntz/following{/other_user}",
"gists_url": "https://api.github.com/users/Mulugruntz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Mulugruntz",
"id": 13810199,
"login": "Mulugruntz",
"node_id": "MDQ6VXNlcjEzODEwMTk5",
"organizations_url": "https://api.github.com/users/Mulugruntz/orgs",
"received_events_url": "https://api.github.com/users/Mulugruntz/received_events",
"repos_url": "https://api.github.com/users/Mulugruntz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Mulugruntz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mulugruntz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Mulugruntz"
}
|
[
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-02-23T09:52:04Z
| 2021-03-01T13:54:59Z
| 2021-03-01T13:54:59Z
|
CONTRIBUTOR
| null |
- [ x] I have checked that this issue has not already been reported.
- [ x] I have confirmed this bug exists on the latest version of pandas.
- [ x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Problem description
When checking lines: https://github.com/pandas-dev/pandas/blob/master/pandas/_libs/tslibs/offsets.pyx#L3582
and https://github.com/pandas-dev/pandas/blob/master/pandas/_libs/tslibs/offsets.pyx#L3456
we can see that there is:
```python
opattern = re.compile(
r"([+\-]?\d*|[+\-]?\d*\.\d*)\s*([A-Za-z]+([\-][\dA-Za-z\-]+)?)"
)
```
and
```python
split = re.split(opattern, freq)
```
Which shows there's a compiled regex but it's not used.
#### Expected Output
Instead, it should be:
```python
split = opattern.split(freq)
```
If you ever like this kind of thing...
```bash
>>> timeit.timeit("opattern.split(freq)", setup='''import re;opattern = re.compile(r"([+\-]?\d*|[+\-]?\d*\.\d*)\s*([A-Za-z]+([\-][\dA-Za-z\-]+)?)");freq="1Min"''', number=1000000)
0.6493891229999917
>>> timeit.timeit("re.split(opattern, freq)", setup='''import re;opattern = re.compile(r"([+\-]?\d*|[+\-]?\d*\.\d*)\s*([A-Za-z]+([\-][\dA-Za-z\-]+)?)");freq="1Min"''', number=1000000)
1.9217748190000066
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 9d598a5e1eee26df95b3910e3f2934890d062caa
python : 3.9.1.final.0
python-bits : 64
OS : Darwin
OS-release : 18.6.0
Version : Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.UTF-8
pandas : 1.2.1
numpy : 1.20.1
pytz : 2021.1
dateutil : 2.8.1
pip : 20.3.3
setuptools : 51.1.1
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.3
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39988/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39988/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39989
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39989/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39989/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39989/events
|
https://github.com/pandas-dev/pandas/pull/39989
| 814,322,254
|
MDExOlB1bGxSZXF1ZXN0NTc4MzI4OTE3
| 39,989
|
CLN: rename do_integrity_check to verify_integrity in internals
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-23T10:21:14Z
| 2021-02-24T07:47:19Z
| 2021-02-24T00:37:16Z
|
MEMBER
| null |
Follow-up on https://github.com/pandas-dev/pandas/pull/39841/
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39989/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39989/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39989.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39989",
"merged_at": "2021-02-24T00:37:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39989.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39989"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39990
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39990/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39990/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39990/events
|
https://github.com/pandas-dev/pandas/pull/39990
| 814,359,897
|
MDExOlB1bGxSZXF1ZXN0NTc4MzYwNTI0
| 39,990
|
Backport PR #39971 on branch 1.2.x (REGR: Fix assignment bug for unary operators)
|
{
"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": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 0
| 2021-02-23T11:08:52Z
| 2021-02-23T12:30:27Z
| 2021-02-23T12:30:27Z
|
NONE
| null |
Backport PR #39971: REGR: Fix assignment bug for unary operators
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39990/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39990/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39990.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39990",
"merged_at": "2021-02-23T12:30:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39990.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39990"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39991
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39991/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39991/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39991/events
|
https://github.com/pandas-dev/pandas/pull/39991
| 814,393,054
|
MDExOlB1bGxSZXF1ZXN0NTc4Mzg4NDE1
| 39,991
|
[ArrayManager] DataFrame constructors
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "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": "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
| 2021-02-23T11:53:03Z
| 2021-03-03T08:22:19Z
| 2021-03-03T08:22:13Z
|
MEMBER
| null |
xref https://github.com/pandas-dev/pandas/issues/39146
In this PR, I am trying to ensure what when we construct a DataFrame, we directly construct the proper manager (depending on the option settings) instead of converting at the end of the constructor (as is done now). To that end, I am passing through a keyword to indicate the type of the manager to be created to the different internal construction methods like `arrays_to_mgr` etc.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39991/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39991/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39991.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39991",
"merged_at": "2021-03-03T08:22:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39991.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39991"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39992
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39992/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39992/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39992/events
|
https://github.com/pandas-dev/pandas/issues/39992
| 814,401,824
|
MDU6SXNzdWU4MTQ0MDE4MjQ=
| 39,992
|
STYLE Increase coverage of inconsistent-namespace-usage
|
{
"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": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] |
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"
}
| 23
| 2021-02-23T12:05:06Z
| 2021-03-11T13:47:14Z
| 2021-03-11T13:47:14Z
|
MEMBER
| null |
If you already have experience contributing, then please leave this issue to newcomers - thanks :+1:
---
In `.pre-commit-config.yaml`, the check `inconsistent-namespace-usage` is limited to `pandas/tests/frame/`. Let's expand it to the rest of `pandas/tests/`.
The task here is:
0. make sure you're familiar with the [contributing guide](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html)
1. choose a folder from the list below (e.g. `series`) and add it to the check in `.pre-commit-config.yaml`. E.g., if you chose `series`, that would be:
```yaml
- id: inconsistent-namespace-usage
name: 'Check for inconsistent use of pandas namespace in tests'
entry: python scripts/check_for_inconsistent_pandas_namespace.py
language: python
types: [python]
files: ^pandas/tests/(frame|series)/
```
2. temporarily add `tokenize-rt` as an additional dependency and `--replace` as an arg (these will be removed later):
```yaml
- id: inconsistent-namespace-usage
name: 'Check for inconsistent use of pandas namespace in tests'
entry: python scripts/check_for_inconsistent_pandas_namespace.py
language: python
types: [python]
files: ^pandas/tests/(frame|series)/
additional_dependencies: [tokenize-rt]
args: [--replace]
```
3. run this check on all files with pre-commit, i.e.:
```console
$ pre-commit run inconsistent-namespace-usage --all-files
[INFO] Initializing environment for local:tokenize-rt.
[INFO] Installing environment for local.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
Check for inconsistent use of pandas namespace in tests.......................Failed
- hook id: inconsistent-namespace-usage
- files were modified by this hook
```
4. run it again - this time, it should pass
```console
$ pre-commit run inconsistent-namespace-usage --all-files
Check for inconsistent use of pandas namespace in tests.......................Passed
```
Check that the other hooks still pass - if you enable pre-commit (`pre-commit install`), then this will happen automatically when you try to commit your changes (see step 6)
5. revert the changes to `.pre-commit-config.yaml` (we'll update it once these changes are all so as to avoid a barrage of merge conflicts)
6. commit your changes, and open a pull request. Check over your changes, make sure they look sensible, let me know if not
---
Here are the folders in `pandas/tests` which this check needs expanding to:
- [x] series
- [x] scalar
- [x] resample
- [x] util
- [x] tseries
- [x] dtypes
- [x] arrays
- [x] plotting
- [x] tools
- [x] indexing
- [x] strings
- [x] reductions
- [x] frame
- [x] arithmetic
- [x] config
- [x] api
- [x] generic
- [x] io
- [x] base
- [x] window
- [x] internals
- [x] reshape
- [x] computation
- [x] apply
- [x] groupby
- [x] tslibs
- [x] libs
- [x] indexes
- [x] extension
No need to ask for permission to work on this, just leave a comment letting people know which folder(s) from the list above you're working on
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39992/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39992/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39993
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39993/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39993/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39993/events
|
https://github.com/pandas-dev/pandas/issues/39993
| 814,478,438
|
MDU6SXNzdWU4MTQ0Nzg0Mzg=
| 39,993
|
REF: Avoid special-casing in core.apply
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
open
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 278,
"created_at": "2013-01-06T03:02:01Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "Milestone for filing things away that may be reached someday (at which point such issues should be moved to the appropriate release milestone)",
"due_on": "2022-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/20",
"id": 239227,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20/labels",
"node_id": "MDk6TWlsZXN0b25lMjM5MjI3",
"number": 20,
"open_issues": 108,
"state": "open",
"title": "Someday",
"updated_at": "2021-08-08T01:48:22Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/20"
}
| 3
| 2021-02-23T13:45:07Z
| 2021-09-25T01:15:03Z
| null |
MEMBER
| null |
Ref https://github.com/pandas-dev/pandas/pull/39935#issuecomment-783654077
Currently in apply, there are many separate places where post-processing logic is applied. Once this is logic has been better consolidated, we can avoid special-casing certain ops (e.g. "size" for DataFrame).
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39993/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39993/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39994
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39994/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39994/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39994/events
|
https://github.com/pandas-dev/pandas/pull/39994
| 814,544,615
|
MDExOlB1bGxSZXF1ZXN0NTc4NTE2NTMw
| 39,994
|
fix benchmark failure with numpy 1.20+
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 2
| 2021-02-23T14:59:53Z
| 2021-02-27T10:40:23Z
| 2021-02-26T23:11:43Z
|
MEMBER
| null |
cherry-pick from #36092 in case we don't backport it as this change needs to be backported, follow-up to #39795
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39994/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39994/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39994.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39994",
"merged_at": "2021-02-26T23:11:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39994.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39994"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39995
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39995/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39995/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39995/events
|
https://github.com/pandas-dev/pandas/pull/39995
| 814,565,381
|
MDExOlB1bGxSZXF1ZXN0NTc4NTM0MDEz
| 39,995
|
BENCH: skip slowest tzlocal asvs
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-02-23T15:23:03Z
| 2021-02-27T19:16:04Z
| 2021-02-27T19:14:14Z
|
MEMBER
| null |
Running with `-b tslibs` in master takes 141 minutes. This cuts it down to 36 minutes
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39995/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39995/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39995.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39995",
"merged_at": "2021-02-27T19:14:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39995.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39995"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39996
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39996/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39996/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39996/events
|
https://github.com/pandas-dev/pandas/issues/39996
| 814,584,185
|
MDU6SXNzdWU4MTQ1ODQxODU=
| 39,996
|
Translation of official documentation into Portuguese
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/68501460?v=4",
"events_url": "https://api.github.com/users/AcervoLima/events{/privacy}",
"followers_url": "https://api.github.com/users/AcervoLima/followers",
"following_url": "https://api.github.com/users/AcervoLima/following{/other_user}",
"gists_url": "https://api.github.com/users/AcervoLima/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AcervoLima",
"id": 68501460,
"login": "AcervoLima",
"node_id": "MDQ6VXNlcjY4NTAxNDYw",
"organizations_url": "https://api.github.com/users/AcervoLima/orgs",
"received_events_url": "https://api.github.com/users/AcervoLima/received_events",
"repos_url": "https://api.github.com/users/AcervoLima/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AcervoLima/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AcervoLima/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AcervoLima"
}
|
[
{
"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 |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 2
| 2021-02-23T15:43:44Z
| 2021-10-21T12:46:46Z
| null |
NONE
| null |
#### Location of the documentation
[https://pandas.pydata.org/pandas-docs/version/1.2.1/]
#### Documentation problem
[There is no Portuguese translation. I would like to translate the official documentation and post it on my blog. And the documentation license is not specified.]
#### Suggested fix for documentation
[The Brazilian panda community is growing. And it would grow faster if it had good documentation centralized in Portuguese.]
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39996/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39996/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/39997
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39997/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39997/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39997/events
|
https://github.com/pandas-dev/pandas/pull/39997
| 814,586,754
|
MDExOlB1bGxSZXF1ZXN0NTc4NTUxODI5
| 39,997
|
REF: move Block construction in groupby aggregation to internals
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 2
| 2021-02-23T15:46:36Z
| 2021-02-24T18:44:04Z
| 2021-02-24T17:55:18Z
|
MEMBER
| null |
Possible precursor for https://github.com/pandas-dev/pandas/pull/39885
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39997/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39997/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39997.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39997",
"merged_at": "2021-02-24T17:55:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39997.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39997"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39998
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39998/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39998/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39998/events
|
https://github.com/pandas-dev/pandas/pull/39998
| 814,610,795
|
MDExOlB1bGxSZXF1ZXN0NTc4NTcxNDk0
| 39,998
|
Remove numpy pin from environment.yml on 1.2.x
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 3
| 2021-02-23T16:13:05Z
| 2021-02-26T14:25:43Z
| 2021-02-26T14:25:39Z
|
MEMBER
| null |
xref #39513, expected to fail until #39994 backported
This PR is directly against 1.2.x and ignores site packages for mypy checks.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39998/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39998/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39998.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39998",
"merged_at": "2021-02-26T14:25:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39998.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39998"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39999
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/39999/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39999/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/39999/events
|
https://github.com/pandas-dev/pandas/pull/39999
| 814,650,541
|
MDExOlB1bGxSZXF1ZXN0NTc4NjA0NTA2
| 39,999
|
DOC: fix obsolete URL for Vega
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/23830955?v=4",
"events_url": "https://api.github.com/users/partev/events{/privacy}",
"followers_url": "https://api.github.com/users/partev/followers",
"following_url": "https://api.github.com/users/partev/following{/other_user}",
"gists_url": "https://api.github.com/users/partev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/partev",
"id": 23830955,
"login": "partev",
"node_id": "MDQ6VXNlcjIzODMwOTU1",
"organizations_url": "https://api.github.com/users/partev/orgs",
"received_events_url": "https://api.github.com/users/partev/received_events",
"repos_url": "https://api.github.com/users/partev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/partev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/partev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/partev"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-23T17:00:26Z
| 2021-02-23T17:11:37Z
| 2021-02-23T17:10:43Z
|
CONTRIBUTOR
| null |
https://github.com/trifacta/vega -> https://github.com/vega/vega
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/39999/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/39999/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/39999.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/39999",
"merged_at": "2021-02-23T17:10:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/39999.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/39999"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40000
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40000/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40000/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40000/events
|
https://github.com/pandas-dev/pandas/pull/40000
| 814,654,154
|
MDExOlB1bGxSZXF1ZXN0NTc4NjA3Mzcx
| 40,000
|
CLN: follow-ups
|
{
"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": "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
| 2021-02-23T17:04:39Z
| 2021-02-24T02:06:30Z
| 2021-02-24T02:02: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/40000/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40000/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/40000.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40000",
"merged_at": "2021-02-24T02:02:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40000.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40000"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/40001
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40001/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40001/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40001/events
|
https://github.com/pandas-dev/pandas/pull/40001
| 814,670,369
|
MDExOlB1bGxSZXF1ZXN0NTc4NjIwNDI2
| 40,001
|
STYLE: Inconsistent namespace - Indexes (#39992)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/46272939?v=4",
"events_url": "https://api.github.com/users/alexprincel/events{/privacy}",
"followers_url": "https://api.github.com/users/alexprincel/followers",
"following_url": "https://api.github.com/users/alexprincel/following{/other_user}",
"gists_url": "https://api.github.com/users/alexprincel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alexprincel",
"id": 46272939,
"login": "alexprincel",
"node_id": "MDQ6VXNlcjQ2MjcyOTM5",
"organizations_url": "https://api.github.com/users/alexprincel/orgs",
"received_events_url": "https://api.github.com/users/alexprincel/received_events",
"repos_url": "https://api.github.com/users/alexprincel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alexprincel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alexprincel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alexprincel"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 4
| 2021-02-23T17:24:47Z
| 2021-02-26T16:42:44Z
| 2021-02-25T19:52:37Z
|
CONTRIBUTOR
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [X] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [X] whatsnew entry
Don't think tests apply here. By itself, does not close 39992.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40001/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40001/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/40001.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40001",
"merged_at": "2021-02-25T19:52:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40001.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40001"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40002
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40002/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40002/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40002/events
|
https://github.com/pandas-dev/pandas/issues/40002
| 814,722,582
|
MDU6SXNzdWU4MTQ3MjI1ODI=
| 40,002
|
BUG: rolling with time window does not always pick edge correctly
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/35905338?v=4",
"events_url": "https://api.github.com/users/ChiQiao/events{/privacy}",
"followers_url": "https://api.github.com/users/ChiQiao/followers",
"following_url": "https://api.github.com/users/ChiQiao/following{/other_user}",
"gists_url": "https://api.github.com/users/ChiQiao/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ChiQiao",
"id": 35905338,
"login": "ChiQiao",
"node_id": "MDQ6VXNlcjM1OTA1MzM4",
"organizations_url": "https://api.github.com/users/ChiQiao/orgs",
"received_events_url": "https://api.github.com/users/ChiQiao/received_events",
"repos_url": "https://api.github.com/users/ChiQiao/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ChiQiao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ChiQiao/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ChiQiao"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-23T18:27:18Z
| 2021-02-24T05:47:33Z
| 2021-02-24T05:26:14Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
data = pd.Series(range(1, 4), index=pd.date_range(start="2020-01-01", end="2020-01-03", freq="1d")).iloc[::-1]
data.rolling("1d", closed="left").sum()
```
#### Problem description
I'm expecting the result to be
```
2020-01-03 NaN
2020-01-02 3.0
2020-01-01 2.0
Freq: -1D, dtype: float64
```
but instead I get
```
2020-01-03 NaN
2020-01-02 NaN
2020-01-01 NaN
Freq: -1D, dtype: float64
```
This problem doesn't occur if `window` is `int` instead of `offset`, or if index is in ascending order.
For example:
`data.rolling(1, closed="left").sum()` yields
```
2020-01-03 NaN
2020-01-02 3.0
2020-01-01 2.0
Freq: -1D, dtype: float64
```
and
```
data = pd.Series(range(1, 4), index=pd.date_range(start="2020-01-01", end="2020-01-03", freq="1d"))
data.rolling("1d", closed="left").sum()
```
yields
```
2020-01-01 NaN
2020-01-02 1.0
2020-01-03 2.0
Freq: D, dtype: float64
```
#### Expected Output
```
2020-01-03 NaN
2020-01-02 3.0
2020-01-01 2.0
Freq: -1D, dtype: float64
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 9d598a5e1eee26df95b3910e3f2934890d062caa
python : 3.7.9.final.0
python-bits : 64
OS : Windows
OS-release : 10
Version : 10.0.19041
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : None.None
pandas : 1.2.1
numpy : 1.19.2
pytz : 2021.1
dateutil : 2.8.1
pip : 20.3.3
setuptools : 52.0.0.post20210125
Cython : 0.29.21
pytest : 6.2.2
hypothesis : None
sphinx : 3.4.3
blosc : None
feather : None
xlsxwriter : 1.3.7
lxml.etree : 4.6.2
html5lib : 1.1
pymysql : 1.0.2
psycopg2 : None
jinja2 : 2.11.3
IPython : 7.20.0
pandas_datareader: None
bs4 : 4.9.3
bottleneck : 1.3.2
fsspec : 0.8.3
fastparquet : None
gcsfs : None
matplotlib : 3.3.2
numexpr : 2.7.2
odfpy : None
openpyxl : 3.0.6
pandas_gbq : None
pyarrow : 0.15.1
pyxlsb : None
s3fs : 0.4.2
scipy : 1.6.0
sqlalchemy : 1.3.23
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.2
xlrd : 2.0.1
xlwt : 1.3.0
numba : 0.51.2
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40002/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40002/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40003
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40003/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40003/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40003/events
|
https://github.com/pandas-dev/pandas/pull/40003
| 814,770,106
|
MDExOlB1bGxSZXF1ZXN0NTc4NzA0MDY5
| 40,003
|
CLN: Remove classes from tests.apply
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-02-23T19:35:20Z
| 2021-02-24T02:28:16Z
| 2021-02-24T00:19:06Z
|
MEMBER
| null |
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
No changes to the tests, other than to remove the unused class structure.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40003/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40003/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/40003.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40003",
"merged_at": "2021-02-24T00:19:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40003.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40003"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40004
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40004/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40004/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40004/events
|
https://github.com/pandas-dev/pandas/pull/40004
| 814,864,030
|
MDExOlB1bGxSZXF1ZXN0NTc4NzgyNzc4
| 40,004
|
REF: Consolidate validation of dictionary argument in agg/transform
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 4
| 2021-02-23T21:58:57Z
| 2021-02-25T02:54:30Z
| 2021-02-25T00:42:27Z
|
MEMBER
| null |
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
Currently there are no tests for dict-like argument with agg when a DataFrame is missing a column (edit: in the apply tests, there are tests in groupby, resample, and window). This PR changes the error slightly from
> f"Column '{k}' does not exist!"
to
> f"Column(s) {cols} do not exist"
in order to make it consistent (and I think more helpful, in the case of multiple columns) with the error message from transform.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40004/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40004/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/40004.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40004",
"merged_at": "2021-02-25T00:42:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40004.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40004"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40005
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40005/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40005/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40005/events
|
https://github.com/pandas-dev/pandas/pull/40005
| 814,867,548
|
MDExOlB1bGxSZXF1ZXN0NTc4Nzg1NzQ5
| 40,005
|
POC: dynamically choose which asvs to run
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] |
closed
| false
| null |
[] | null | 1
| 2021-02-23T22:04:08Z
| 2021-11-20T23:22:54Z
| 2021-03-01T02:02:51Z
|
MEMBER
| null |
The main idea is in trim_asv_paths. Ideally it would be expanded to allow finer-tuning (e.g. #39917 would allow some more)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40005/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40005/timeline
| null | 1
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/40005.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40005",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/40005.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40005"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40006
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40006/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40006/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40006/events
|
https://github.com/pandas-dev/pandas/pull/40006
| 814,883,917
|
MDExOlB1bGxSZXF1ZXN0NTc4Nzk5NjYy
| 40,006
|
BUG: rolling not calculating window bounds correctly with offset and desc dates
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61934744?v=4",
"events_url": "https://api.github.com/users/phofl/events{/privacy}",
"followers_url": "https://api.github.com/users/phofl/followers",
"following_url": "https://api.github.com/users/phofl/following{/other_user}",
"gists_url": "https://api.github.com/users/phofl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/phofl",
"id": 61934744,
"login": "phofl",
"node_id": "MDQ6VXNlcjYxOTM0NzQ0",
"organizations_url": "https://api.github.com/users/phofl/orgs",
"received_events_url": "https://api.github.com/users/phofl/received_events",
"repos_url": "https://api.github.com/users/phofl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/phofl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/phofl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/phofl"
}
|
[
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 1
| 2021-02-23T22:29:51Z
| 2021-03-04T21:57:21Z
| 2021-02-24T05:26:14Z
|
MEMBER
| null |
- [x] closes #40002
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40006/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40006/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/40006.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40006",
"merged_at": "2021-02-24T05:26:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40006.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40006"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40007
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40007/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40007/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40007/events
|
https://github.com/pandas-dev/pandas/pull/40007
| 814,886,014
|
MDExOlB1bGxSZXF1ZXN0NTc4ODAxNDQx
| 40,007
|
PERF: make DTA/TDA/PA _ndarray the attribute, _data the property
|
{
"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": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-02-23T22:33:37Z
| 2021-02-24T18:34:16Z
| 2021-02-24T18:08:22Z
|
MEMBER
| null |
the difference isnt huge, but we do access _ndarray in a lot of places so it adds up
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40007/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40007/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/40007.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40007",
"merged_at": "2021-02-24T18:08:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40007.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40007"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40008
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40008/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40008/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40008/events
|
https://github.com/pandas-dev/pandas/pull/40008
| 814,895,410
|
MDExOlB1bGxSZXF1ZXN0NTc4ODA5MzY0
| 40,008
|
BUG: overflow in astype(td64ns)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "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"
}
| 5
| 2021-02-23T22:50:24Z
| 2021-07-01T17:30:29Z
| 2021-02-24T17:50:41Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40008/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40008/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/40008.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40008",
"merged_at": "2021-02-24T17:50:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40008.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40008"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40009
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40009/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40009/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40009/events
|
https://github.com/pandas-dev/pandas/pull/40009
| 814,896,282
|
MDExOlB1bGxSZXF1ZXN0NTc4ODEwMTEx
| 40,009
|
REF: share check_value_size
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-02-23T22:52:02Z
| 2021-02-25T18:42:20Z
| 2021-02-24T00:30:18Z
|
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/40009/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40009/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/40009.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40009",
"merged_at": "2021-02-24T00:30:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40009.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40009"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/40010
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40010/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40010/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40010/events
|
https://github.com/pandas-dev/pandas/pull/40010
| 814,944,712
|
MDExOlB1bGxSZXF1ZXN0NTc4ODUxNTg0
| 40,010
|
REGR: compressed to_json with URL-like paths and binary objects
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6618166?v=4",
"events_url": "https://api.github.com/users/twoertwein/events{/privacy}",
"followers_url": "https://api.github.com/users/twoertwein/followers",
"following_url": "https://api.github.com/users/twoertwein/following{/other_user}",
"gists_url": "https://api.github.com/users/twoertwein/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/twoertwein",
"id": 6618166,
"login": "twoertwein",
"node_id": "MDQ6VXNlcjY2MTgxNjY=",
"organizations_url": "https://api.github.com/users/twoertwein/orgs",
"received_events_url": "https://api.github.com/users/twoertwein/received_events",
"repos_url": "https://api.github.com/users/twoertwein/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/twoertwein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/twoertwein/subscriptions",
"type": "User",
"url": "https://api.github.com/users/twoertwein"
}
|
[
{
"color": "e4a5f1",
"default": false,
"description": "Local or Cloud (AWS, GCS, etc.) IO Issues",
"id": 49381477,
"name": "IO Network",
"node_id": "MDU6TGFiZWw0OTM4MTQ3Nw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Network"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 4
| 2021-02-24T00:13:12Z
| 2021-06-05T20:50:49Z
| 2021-02-24T18:05:39Z
|
CONTRIBUTOR
| null |
- [ ] closes #39985
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40010/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40010/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/40010.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40010",
"merged_at": "2021-02-24T18:05:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40010.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40010"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40011
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40011/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40011/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40011/events
|
https://github.com/pandas-dev/pandas/pull/40011
| 815,101,390
|
MDExOlB1bGxSZXF1ZXN0NTc4OTgzMjY2
| 40,011
|
TST: collect indexing tests by method
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-02-24T05:13:05Z
| 2021-02-24T17:54:17Z
| 2021-02-24T17:52:30Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40011/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40011/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/40011.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40011",
"merged_at": "2021-02-24T17:52:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40011.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40011"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40012
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40012/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40012/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40012/events
|
https://github.com/pandas-dev/pandas/pull/40012
| 815,101,994
|
MDExOlB1bGxSZXF1ZXN0NTc4OTgzNzk1
| 40,012
|
sanitize_array raise_cast_failure default to True
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-02-24T05:14:03Z
| 2021-02-24T18:21:39Z
| 2021-02-24T18:09:49Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40012/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40012/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/40012.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40012",
"merged_at": "2021-02-24T18:09:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40012.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40012"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40013
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40013/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40013/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40013/events
|
https://github.com/pandas-dev/pandas/issues/40013
| 815,386,925
|
MDU6SXNzdWU4MTUzODY5MjU=
| 40,013
|
BUG: Issues with return type hint and/or definition of `pandas.core.generic.NDFrame.__hash__`
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50305397?v=4",
"events_url": "https://api.github.com/users/bzoracler/events{/privacy}",
"followers_url": "https://api.github.com/users/bzoracler/followers",
"following_url": "https://api.github.com/users/bzoracler/following{/other_user}",
"gists_url": "https://api.github.com/users/bzoracler/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bzoracler",
"id": 50305397,
"login": "bzoracler",
"node_id": "MDQ6VXNlcjUwMzA1Mzk3",
"organizations_url": "https://api.github.com/users/bzoracler/orgs",
"received_events_url": "https://api.github.com/users/bzoracler/received_events",
"repos_url": "https://api.github.com/users/bzoracler/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bzoracler/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bzoracler/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bzoracler"
}
|
[
{
"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": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 0
| 2021-02-24T11:25:35Z
| 2021-06-29T12:27:42Z
| 2021-06-29T12:27:42Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [x] (optional) I have confirmed this bug exists on the master branch of pandas.
---
**Note**: Please read [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) detailing how to provide the necessary information for us to reproduce your bug.
#### Code Sample, a copy-pastable example
```python
import pandas as pd
pd.DataFrame().__hash__()
```
#### Problem description
It is already known that calling `NDFrame.__hash__` always raises an exception, and thus `NDFrame` objects are not hashable. My issue is with the return type hint, which is currently `int`:
https://github.com/pandas-dev/pandas/blob/84a9a6511b99bb0e9fe6f570cae7e6888f6f06da/pandas/core/generic.py#L1819-L1823
I believe that the correct return type hint should be `typing.NoReturn`, according to the example given at https://docs.python.org/3/library/typing.html#typing.NoReturn.
From a static type checker point-of-view (e.g. `mypy`), it may be even better to override the attribute as `__hash__ = None`, as this what native Python expects for unhashable objects (see https://github.com/python/cpython/blob/1f433406bd46fbd00b88223ad64daea6bc9eaadc/Lib/_collections_abc.py#L76-L102). Any non-`None` implementation currently produces non-intuitive behaviour; for example, the following passes `mypy` static type checking:
```python
import typing
from pandas.core import frame
def accept_hashable(obj: typing.Hashable):
print(obj)
accept_hashable(frame.DataFrame())
...
Success: no issues found in 1 source file
```
To get behaviour identical to `list` and `dict` objects, it looks like making the change to `NDFrame` and `Series`* to `__hash__ = None` will do; after this change, we can get e.g. in `mypy`:
```python
accept_hashable(frame.DataFrame())
...
error: Argument 1 to "accept_hashable" has incompatible type "DataFrame"; expected "Hashable" [arg-type]
note: Following member(s) of "DataFrame" have conflicts:
note: __hash__: expected "Callable[[], int]", got "None"
```
\**Note: For some reason, `Series` redefines `__hash__` as the same as `NDFrame.__hash__`, even though `Series` inherits from `NDFrame`.*
https://github.com/pandas-dev/pandas/blob/84a9a6511b99bb0e9fe6f570cae7e6888f6f06da/pandas/core/series.py#L268
#### Expected Output
(Not applicable)
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 7d32926db8f7541c356066dcadabf854487738de
python : 3.8.5.final.0
python-bits : 64
OS : Linux
OS-release : 5.8.0-44-generic
Version : #50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_NZ.UTF-8
LOCALE : en_NZ.UTF-8
pandas : 1.2.2
numpy : 1.20.1
pytz : 2020.5
dateutil : 2.8.1
pip : 20.0.2
setuptools : 44.0.0
Cython : None
pytest : 6.2.1
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.6.2
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 8.0.0.dev
pandas_datareader: None
bs4 : None
bottleneck : None
fsspec : None
fastparquet : None
gcsfs : None
matplotlib : 3.3.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pyxlsb : None
s3fs : None
scipy : 1.6.0
sqlalchemy : 1.3.22
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40013/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40013/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40014
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40014/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40014/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40014/events
|
https://github.com/pandas-dev/pandas/issues/40014
| 815,415,369
|
MDU6SXNzdWU4MTU0MTUzNjk=
| 40,014
|
BUG: "groupby" failed for dataframe with object-type index
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/282477?v=4",
"events_url": "https://api.github.com/users/mizuy/events{/privacy}",
"followers_url": "https://api.github.com/users/mizuy/followers",
"following_url": "https://api.github.com/users/mizuy/following{/other_user}",
"gists_url": "https://api.github.com/users/mizuy/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mizuy",
"id": 282477,
"login": "mizuy",
"node_id": "MDQ6VXNlcjI4MjQ3Nw==",
"organizations_url": "https://api.github.com/users/mizuy/orgs",
"received_events_url": "https://api.github.com/users/mizuy/received_events",
"repos_url": "https://api.github.com/users/mizuy/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mizuy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mizuy/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mizuy"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4",
"events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}",
"followers_url": "https://api.github.com/users/DriesSchaumont/followers",
"following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}",
"gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DriesSchaumont",
"id": 5946712,
"login": "DriesSchaumont",
"node_id": "MDQ6VXNlcjU5NDY3MTI=",
"organizations_url": "https://api.github.com/users/DriesSchaumont/orgs",
"received_events_url": "https://api.github.com/users/DriesSchaumont/received_events",
"repos_url": "https://api.github.com/users/DriesSchaumont/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DriesSchaumont"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/5946712?v=4",
"events_url": "https://api.github.com/users/DriesSchaumont/events{/privacy}",
"followers_url": "https://api.github.com/users/DriesSchaumont/followers",
"following_url": "https://api.github.com/users/DriesSchaumont/following{/other_user}",
"gists_url": "https://api.github.com/users/DriesSchaumont/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/DriesSchaumont",
"id": 5946712,
"login": "DriesSchaumont",
"node_id": "MDQ6VXNlcjU5NDY3MTI=",
"organizations_url": "https://api.github.com/users/DriesSchaumont/orgs",
"received_events_url": "https://api.github.com/users/DriesSchaumont/received_events",
"repos_url": "https://api.github.com/users/DriesSchaumont/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/DriesSchaumont/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DriesSchaumont/subscriptions",
"type": "User",
"url": "https://api.github.com/users/DriesSchaumont"
}
] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 6
| 2021-02-24T12:05:28Z
| 2021-04-15T04:16:49Z
| 2021-04-15T04:16:49Z
|
NONE
| null |
- [x] I have checked that this issue has not already been reported.
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.
---
#### Code Sample, a copy-pastable example
I have a dataframe where the index is object type, and I found the error by accident. The following code is a simplified reproduction of the error.
```python
df = pd.DataFrame(
{ "c0": ["x", "x", "x"],
"c1": ["x", "x", "y"],
"p": [0,1,2] } )
df.index = df.index.astype("O")
df.groupby(['c0','c1']).p.agg(lambda x:all(x>0))
```
```python
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-227-54707938a409> in <module>
5
6 df.index = df.index.astype("O")
----> 7 df.groupby(['c0','c1']).p.agg(lambda x:all(x>0))
/opt/conda/lib/python3.8/site-packages/pandas/core/groupby/generic.py in aggregate(self, func, engine, engine_kwargs, *args, **kwargs)
254
255 if self.grouper.nkeys > 1:
--> 256 return self._python_agg_general(func, *args, **kwargs)
257
258 try:
/opt/conda/lib/python3.8/site-packages/pandas/core/groupby/groupby.py in _python_agg_general(self, func, *args, **kwargs)
1171 try:
1172 # if this function is invalid for this dtype, we will ignore it.
-> 1173 result, counts = self.grouper.agg_series(obj, f)
1174 except TypeError:
1175 continue
/opt/conda/lib/python3.8/site-packages/pandas/core/groupby/ops.py in agg_series(self, obj, func)
704
705 try:
--> 706 return self._aggregate_series_fast(obj, func)
707 except ValueError as err:
708 if "Must produce aggregated value" in str(err):
/opt/conda/lib/python3.8/site-packages/pandas/core/groupby/ops.py in _aggregate_series_fast(self, obj, func)
730 group_index = algorithms.take_nd(group_index, indexer, allow_fill=False)
731 grouper = libreduction.SeriesGrouper(obj, func, group_index, ngroups, dummy)
--> 732 result, counts = grouper.get_result()
733 return result, counts
734
pandas/_libs/reduction.pyx in pandas._libs.reduction.SeriesGrouper.get_result()
pandas/_libs/reduction.pyx in pandas._libs.reduction._BaseGrouper._apply_to_group()
/opt/conda/lib/python3.8/site-packages/pandas/core/groupby/groupby.py in <lambda>(x)
1158 def _python_agg_general(self, func, *args, **kwargs):
1159 func = self._is_builtin_func(func)
-> 1160 f = lambda x: func(x, *args, **kwargs)
1161
1162 # iterate through "columns" ex exclusions to populate output dict
<ipython-input-227-54707938a409> in <lambda>(x)
5
6 df.index = df.index.astype("O")
----> 7 df.groupby(['c0','c1']).p.agg(lambda x:all(x>0))
/opt/conda/lib/python3.8/site-packages/pandas/core/ops/common.py in new_method(self, other)
63 other = item_from_zerodim(other)
64
---> 65 return method(self, other)
66
67 return new_method
/opt/conda/lib/python3.8/site-packages/pandas/core/arraylike.py in __gt__(self, other)
43 @unpack_zerodim_and_defer("__gt__")
44 def __gt__(self, other):
---> 45 return self._cmp_method(other, operator.gt)
46
47 @unpack_zerodim_and_defer("__ge__")
/opt/conda/lib/python3.8/site-packages/pandas/core/series.py in _cmp_method(self, other, op)
4975 res_values = ops.comparison_op(lvalues, rvalues, op)
4976
-> 4977 return self._construct_result(res_values, name=res_name)
4978
4979 def _logical_method(self, other, op):
/opt/conda/lib/python3.8/site-packages/pandas/core/series.py in _construct_result(self, result, name)
2759 # We do not pass dtype to ensure that the Series constructor
2760 # does inference in the case where `result` has object-dtype.
-> 2761 out = self._constructor(result, index=self.index)
2762 out = out.__finalize__(self)
2763
/opt/conda/lib/python3.8/site-packages/pandas/core/series.py in __init__(self, data, index, dtype, name, copy, fastpath)
346 try:
347 if len(index) != len(data):
--> 348 raise ValueError(
349 f"Length of passed values is {len(data)}, "
350 f"index implies {len(index)}."
ValueError: Length of passed values is 1, index implies 2.
```
#### Problem description
If the index is not an object type, you will not get this error, so I guess there is something wrong with object type index.
#### Expected Output
```python
c0 c1
x x False
y True
Name: p, dtype: bool
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 7d32926db8f7541c356066dcadabf854487738de
python : 3.8.5.final.0
python-bits : 64
OS : Linux
OS-release : 4.19.121-linuxkit
Version : #1 SMP Tue Dec 1 17:50:32 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.2.2
numpy : 1.19.1
pytz : 2020.1
dateutil : 2.8.1
pip : 20.2.3
setuptools : 49.6.0.post20200917
Cython : 0.29.21
pytest : 6.2.2
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : 1.3.7
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.18.1
pandas_datareader: None
bs4 : 4.9.2
bottleneck : 1.3.2
fsspec : 0.8.3
fastparquet : None
gcsfs : None
matplotlib : 3.3.2
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.6
pandas_gbq : None
pyarrow : 1.0.1
pyxlsb : None
s3fs : 0.2.2
scipy : 1.5.2
sqlalchemy : 1.3.19
tables : 3.6.1
tabulate : 0.8.7
xarray : 0.16.1
xlrd : 1.2.0
xlwt : None
numba : 0.51.2
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40014/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40014/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/40015
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40015/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40015/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40015/events
|
https://github.com/pandas-dev/pandas/pull/40015
| 815,435,766
|
MDExOlB1bGxSZXF1ZXN0NTc5MjY1OTE1
| 40,015
|
BUG: Cannot sample on DataFrameGroupBy with weights when index is specified
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8284922?v=4",
"events_url": "https://api.github.com/users/wjsi/events{/privacy}",
"followers_url": "https://api.github.com/users/wjsi/followers",
"following_url": "https://api.github.com/users/wjsi/following{/other_user}",
"gists_url": "https://api.github.com/users/wjsi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wjsi",
"id": 8284922,
"login": "wjsi",
"node_id": "MDQ6VXNlcjgyODQ5MjI=",
"organizations_url": "https://api.github.com/users/wjsi/orgs",
"received_events_url": "https://api.github.com/users/wjsi/received_events",
"repos_url": "https://api.github.com/users/wjsi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wjsi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wjsi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wjsi"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 3
| 2021-02-24T12:33:06Z
| 2021-02-24T17:59:22Z
| 2021-02-24T17:58:05Z
|
CONTRIBUTOR
| null |
- [x] closes #39927
- [x] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40015/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40015/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/40015.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40015",
"merged_at": "2021-02-24T17:58:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40015.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40015"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40016
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40016/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40016/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40016/events
|
https://github.com/pandas-dev/pandas/pull/40016
| 815,444,212
|
MDExOlB1bGxSZXF1ZXN0NTc5MjcyOTQz
| 40,016
|
DOC: Clarify rank documentation
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6334394?v=4",
"events_url": "https://api.github.com/users/ptype/events{/privacy}",
"followers_url": "https://api.github.com/users/ptype/followers",
"following_url": "https://api.github.com/users/ptype/following{/other_user}",
"gists_url": "https://api.github.com/users/ptype/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ptype",
"id": 6334394,
"login": "ptype",
"node_id": "MDQ6VXNlcjYzMzQzOTQ=",
"organizations_url": "https://api.github.com/users/ptype/orgs",
"received_events_url": "https://api.github.com/users/ptype/received_events",
"repos_url": "https://api.github.com/users/ptype/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ptype/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ptype/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ptype"
}
|
[
{
"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 | 13
| 2021-02-24T12:44:48Z
| 2021-06-03T17:09:15Z
| 2021-06-03T17:09:08Z
|
CONTRIBUTOR
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry
Example of top/bottom behaviour vs ascending:
```python
x = np.array([np.nan, 3.1, 1.4, 2.1, np.nan, 5, 0.5])
pd.Series(x).rank(ascending=False, na_option='bottom', method='min') ->
0 6.0
1 2.0
2 4.0
3 3.0
4 6.0
5 1.0
6 5.0
dtype: float64
pd.Series(x).rank(ascending=True, na_option='bottom', method='min') ->
0 6.0
1 4.0
2 2.0
3 3.0
4 6.0
5 5.0
6 1.0
dtype: float64
pd.Series(x).rank(ascending=True, na_option='top', method='min') ->
0 1.0
1 6.0
2 4.0
3 5.0
4 1.0
5 7.0
6 3.0
dtype: float64
pd.Series(x).rank(ascending=False, na_option='top', method='min') ->
0 1.0
1 6.0
2 4.0
3 5.0
4 1.0
5 7.0
6 3.0
dtype: float64
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40016/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40016/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/40016.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40016",
"merged_at": "2021-06-03T17:09:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40016.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40016"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40017
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40017/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40017/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40017/events
|
https://github.com/pandas-dev/pandas/pull/40017
| 815,485,589
|
MDExOlB1bGxSZXF1ZXN0NTc5MzA3NTQx
| 40,017
|
Backport PR #39978 on branch 1.2.x (DOC: fix template substitution in pad/bfill docstrings)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 0
| 2021-02-24T13:36:54Z
| 2021-02-24T16:39:19Z
| 2021-02-24T16:39:19Z
|
NONE
| null |
Backport PR #39978: DOC: fix template substitution in pad/bfill docstrings
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/40017/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40017/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/40017.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/40017",
"merged_at": "2021-02-24T16:39:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/40017.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/40017"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40018
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/40018/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40018/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/40018/events
|
https://github.com/pandas-dev/pandas/issues/40018
| 815,552,697
|
MDU6SXNzdWU4MTU1NTI2OTc=
| 40,018
|
BUG: DataFrame/Series.transform with list and non-list dict values
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"color": "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": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/45562402?v=4",
"events_url": "https://api.github.com/users/rhshadrach/events{/privacy}",
"followers_url": "https://api.github.com/users/rhshadrach/followers",
"following_url": "https://api.github.com/users/rhshadrach/following{/other_user}",
"gists_url": "https://api.github.com/users/rhshadrach/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rhshadrach",
"id": 45562402,
"login": "rhshadrach",
"node_id": "MDQ6VXNlcjQ1NTYyNDAy",
"organizations_url": "https://api.github.com/users/rhshadrach/orgs",
"received_events_url": "https://api.github.com/users/rhshadrach/received_events",
"repos_url": "https://api.github.com/users/rhshadrach/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rhshadrach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rhshadrach/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rhshadrach"
}
] |
{
"closed_at": "2021-03-02T08:40:51Z",
"closed_issues": 49,
"created_at": "2021-02-07T13:58:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
},
"description": "on-merge: backport to 1.2.x\r\n\r\n",
"due_on": "2021-03-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/83",
"id": 6402340,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83/labels",
"node_id": "MDk6TWlsZXN0b25lNjQwMjM0MA==",
"number": 83,
"open_issues": 0,
"state": "closed",
"title": "1.2.3",
"updated_at": "2021-03-02T17:15:27Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/83"
}
| 3
| 2021-02-24T14:53:11Z
| 2021-02-27T18:18:33Z
| 2021-02-27T18:18:33Z
|
MEMBER
| null |
```
df = pd.DataFrame({'a': [1, 2], 'b': [1, 4], 'c': [1, 4]})
print(df.transform({'b': ['sqrt', 'abs'], 'c': 'sqrt'}))
print(df['a'].transform({'b': ['sqrt', 'abs'], 'c': 'sqrt'}))
```
produces
```
b c
sqrt abs c
0 1.0 1 1.0
1 2.0 4 2.0
b c
sqrt abs a
0 1.000000 1 1.000000
1 1.414214 2 1.414214
```
In each case the last column label on the 2nd level should be "sqrt" and not "a" or "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/40018/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/40018/timeline
| null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.