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/32717
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32717/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32717/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32717/events
|
https://github.com/pandas-dev/pandas/issues/32717
| 581,554,998
|
MDU6SXNzdWU1ODE1NTQ5OTg=
| 32,717
|
1.0.2 release is not on pypi
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1055830?v=4",
"events_url": "https://api.github.com/users/scarabeusiv/events{/privacy}",
"followers_url": "https://api.github.com/users/scarabeusiv/followers",
"following_url": "https://api.github.com/users/scarabeusiv/following{/other_user}",
"gists_url": "https://api.github.com/users/scarabeusiv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/scarabeusiv",
"id": 1055830,
"login": "scarabeusiv",
"node_id": "MDQ6VXNlcjEwNTU4MzA=",
"organizations_url": "https://api.github.com/users/scarabeusiv/orgs",
"received_events_url": "https://api.github.com/users/scarabeusiv/received_events",
"repos_url": "https://api.github.com/users/scarabeusiv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/scarabeusiv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/scarabeusiv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/scarabeusiv"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-03-15T07:01:27Z
| 2020-03-15T14:41:22Z
| 2020-03-15T14:41:22Z
|
CONTRIBUTOR
| null |
As per $SUBJ the pypi contains just 1.0.1 release.
In openSUSE we validate all added archives against upstream ones and because of that the https://build.opensuse.org/request/show/784545 is now not acceptable :)
Could you please push the wheels/etc on pypi?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32717/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32717/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32718
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32718/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32718/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32718/events
|
https://github.com/pandas-dev/pandas/pull/32718
| 581,556,564
|
MDExOlB1bGxSZXF1ZXN0Mzg4NjA2MzI1
| 32,718
|
DOC: Fix PR01, PR07 in Index.min and Index.max
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8732795?v=4",
"events_url": "https://api.github.com/users/farhanreynaldo/events{/privacy}",
"followers_url": "https://api.github.com/users/farhanreynaldo/followers",
"following_url": "https://api.github.com/users/farhanreynaldo/following{/other_user}",
"gists_url": "https://api.github.com/users/farhanreynaldo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/farhanreynaldo",
"id": 8732795,
"login": "farhanreynaldo",
"node_id": "MDQ6VXNlcjg3MzI3OTU=",
"organizations_url": "https://api.github.com/users/farhanreynaldo/orgs",
"received_events_url": "https://api.github.com/users/farhanreynaldo/received_events",
"repos_url": "https://api.github.com/users/farhanreynaldo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/farhanreynaldo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/farhanreynaldo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/farhanreynaldo"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-15T07:06:11Z
| 2020-03-16T22:26:39Z
| 2020-03-16T22:26:32Z
|
CONTRIBUTOR
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Related to #27977.
Output for pandas.Index.min:
```
################################################################################
################################## Validation ##################################
################################################################################
1 Errors found:
No extended summary found
```
and output for pandas.Index.max:
```
################################################################################
################################## Validation ##################################
################################################################################
1 Errors found:
No extended summary found
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32718/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32718/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32718.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32718",
"merged_at": "2020-03-16T22:26:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32718.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32718"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32719
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32719/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32719/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32719/events
|
https://github.com/pandas-dev/pandas/issues/32719
| 581,578,165
|
MDU6SXNzdWU1ODE1NzgxNjU=
| 32,719
|
unexpected behavior in pd.to_datetime
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11833177?v=4",
"events_url": "https://api.github.com/users/yotamgi/events{/privacy}",
"followers_url": "https://api.github.com/users/yotamgi/followers",
"following_url": "https://api.github.com/users/yotamgi/following{/other_user}",
"gists_url": "https://api.github.com/users/yotamgi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/yotamgi",
"id": 11833177,
"login": "yotamgi",
"node_id": "MDQ6VXNlcjExODMzMTc3",
"organizations_url": "https://api.github.com/users/yotamgi/orgs",
"received_events_url": "https://api.github.com/users/yotamgi/received_events",
"repos_url": "https://api.github.com/users/yotamgi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/yotamgi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yotamgi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/yotamgi"
}
|
[] |
closed
| false
| null |
[] | null | 3
| 2020-03-15T08:17:12Z
| 2020-03-17T08:23:47Z
| 2020-03-16T21:28:53Z
|
NONE
| null |
#### Code Sample
```python
>>> pd.to_datetime('2016-01-01 00:00 UTC-5', utc=True)
Timestamp('2015-12-31 19:00:00+0000', tz='UTC')
```
#### Problem description
The time at UTC-x timezone region should correspond to a +x shift at UTC+00 zones. The behavior of `pd.to_datetime` in this case is wrong, since it correspond to -x shift at UTC.
As opposed to the above, the following syntax *is* working as expected:
```python
>>> pd.to_datetime('2016-01-01 00:00 -05:00', utc=True)
Timestamp('2016-01-01 05:00:00+0000', tz='UTC')
```
#### Expected Output
```python
Timestamp('2016-01-01 05:00:00+0000', tz='UTC')
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.7.final.0
python-bits: 64
OS: Linux
OS-release: 4.15.0-smp-900.331.0.0
machine: x86_64
processor:
byteorder: little
LC_ALL: en_US.UTF-8
LANG: None
LOCALE: en_US.UTF-8
pandas: 0.24.2
pytest: None
pip: None
setuptools: unknown
Cython: None
numpy: 1.16.4
scipy: 1.2.1
pyarrow: 0.15.1
xarray: None
IPython: 2.0.0
sphinx: None
patsy: 0.4.1
dateutil: 2.8.1
pytz: 2019.3
blosc: None
bottleneck: None
tables: 3.5.2
numexpr: 2.6.10dev0
feather: None
matplotlib: 3.0.3
openpyxl: None
xlrd: 1.2.0
xlwt: None
xlsxwriter: None
lxml.etree: None
bs4: None
html5lib: 1.0.1
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.10.3
s3fs: None
fastparquet: None
pandas_gbq: 0+unknown
pandas_datareader: None
gcsfs: None
</details>
|
{
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32719/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32719/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32720
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32720/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32720/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32720/events
|
https://github.com/pandas-dev/pandas/issues/32720
| 581,602,230
|
MDU6SXNzdWU1ODE2MDIyMzA=
| 32,720
|
Possible code improvement suggestion: Use `is not None` rather than bool() for None check
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/482709?v=4",
"events_url": "https://api.github.com/users/skasturi/events{/privacy}",
"followers_url": "https://api.github.com/users/skasturi/followers",
"following_url": "https://api.github.com/users/skasturi/following{/other_user}",
"gists_url": "https://api.github.com/users/skasturi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/skasturi",
"id": 482709,
"login": "skasturi",
"node_id": "MDQ6VXNlcjQ4MjcwOQ==",
"organizations_url": "https://api.github.com/users/skasturi/orgs",
"received_events_url": "https://api.github.com/users/skasturi/received_events",
"repos_url": "https://api.github.com/users/skasturi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/skasturi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/skasturi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/skasturi"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-15T09:48:00Z
| 2020-03-17T15:48:13Z
| 2020-03-15T14:07:59Z
|
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
While going through the code I observed at couple of places where `bool(o)` is being used to check whether the object `o` is `None`.
Example 1: https://github.com/pandas-dev/pandas/blob/6620dc67ded40c76e466c70027abd012898bbbb1/pandas/core/strings.py#L449
Example 2: https://github.com/pandas-dev/pandas/blob/6620dc67ded40c76e466c70027abd012898bbbb1/pandas/core/strings.py#L821
#### Problem description
`bool(o)` is several times slower than `o is not None` (see below). In the above cases however, majority of the time indeed is being taken by the `re.search` and therefore it might not matter for the overall time. But, why not switch to the possibly correct version?
Moreover, the functionality remains the same as `re.search` and `re.match` return `None` when they cannot find a match; which is fundamentally what is being checked in this code.

|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32720/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32720/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32721
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32721/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32721/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32721/events
|
https://github.com/pandas-dev/pandas/pull/32721
| 581,604,901
|
MDExOlB1bGxSZXF1ZXN0Mzg4NjQ2NzM1
| 32,721
|
CLN: Switch to using `is not None` rather than `bool()`
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/482709?v=4",
"events_url": "https://api.github.com/users/skasturi/events{/privacy}",
"followers_url": "https://api.github.com/users/skasturi/followers",
"following_url": "https://api.github.com/users/skasturi/following{/other_user}",
"gists_url": "https://api.github.com/users/skasturi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/skasturi",
"id": 482709,
"login": "skasturi",
"node_id": "MDQ6VXNlcjQ4MjcwOQ==",
"organizations_url": "https://api.github.com/users/skasturi/orgs",
"received_events_url": "https://api.github.com/users/skasturi/received_events",
"repos_url": "https://api.github.com/users/skasturi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/skasturi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/skasturi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/skasturi"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-15T09:57:10Z
| 2020-03-15T16:59:57Z
| 2020-03-15T14:07:59Z
|
CONTRIBUTOR
| null |
- [x] closes #32720
- [ ] tests added / passed - This change seemed trivial to *add* tests and should be covered by existing ones.
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32721/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32721/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32721.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32721",
"merged_at": "2020-03-15T14:07:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32721.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32721"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32722
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32722/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32722/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32722/events
|
https://github.com/pandas-dev/pandas/pull/32722
| 581,617,042
|
MDExOlB1bGxSZXF1ZXN0Mzg4NjU2ODIz
| 32,722
|
TST: Fix HDFStore leak in tests/io/pytables/test_store.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10944368?v=4",
"events_url": "https://api.github.com/users/roberthdevries/events{/privacy}",
"followers_url": "https://api.github.com/users/roberthdevries/followers",
"following_url": "https://api.github.com/users/roberthdevries/following{/other_user}",
"gists_url": "https://api.github.com/users/roberthdevries/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/roberthdevries",
"id": 10944368,
"login": "roberthdevries",
"node_id": "MDQ6VXNlcjEwOTQ0MzY4",
"organizations_url": "https://api.github.com/users/roberthdevries/orgs",
"received_events_url": "https://api.github.com/users/roberthdevries/received_events",
"repos_url": "https://api.github.com/users/roberthdevries/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/roberthdevries/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/roberthdevries/subscriptions",
"type": "User",
"url": "https://api.github.com/users/roberthdevries"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-15T10:37:29Z
| 2020-03-16T20:27:32Z
| 2020-03-16T02:33:50Z
|
CONTRIBUTOR
| null |
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32722/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32722/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32722.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32722",
"merged_at": "2020-03-16T02:33:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32722.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32722"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32723
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32723/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32723/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32723/events
|
https://github.com/pandas-dev/pandas/pull/32723
| 581,619,165
|
MDExOlB1bGxSZXF1ZXN0Mzg4NjU4NjI3
| 32,723
|
BUG: Fix HDFStore empty keys on native HDF5 file by adding keyword include
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10944368?v=4",
"events_url": "https://api.github.com/users/roberthdevries/events{/privacy}",
"followers_url": "https://api.github.com/users/roberthdevries/followers",
"following_url": "https://api.github.com/users/roberthdevries/following{/other_user}",
"gists_url": "https://api.github.com/users/roberthdevries/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/roberthdevries",
"id": 10944368,
"login": "roberthdevries",
"node_id": "MDQ6VXNlcjEwOTQ0MzY4",
"organizations_url": "https://api.github.com/users/roberthdevries/orgs",
"received_events_url": "https://api.github.com/users/roberthdevries/received_events",
"repos_url": "https://api.github.com/users/roberthdevries/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/roberthdevries/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/roberthdevries/subscriptions",
"type": "User",
"url": "https://api.github.com/users/roberthdevries"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"color": "b60205",
"default": false,
"description": "Internal Consistency of API/Behavior",
"id": 1741841389,
"name": "API - Consistency",
"node_id": "MDU6TGFiZWwxNzQxODQxMzg5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 8
| 2020-03-15T10:44:05Z
| 2020-06-16T18:47:24Z
| 2020-06-14T22:20:20Z
|
CONTRIBUTOR
| null |
- [x] closes #29916
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32723/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32723/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32723.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32723",
"merged_at": "2020-06-14T22:20:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32723.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32723"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32724
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32724/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32724/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32724/events
|
https://github.com/pandas-dev/pandas/issues/32724
| 581,620,683
|
MDU6SXNzdWU1ODE2MjA2ODM=
| 32,724
|
Inconsistent behavior of rolling with missing value
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/17216645?v=4",
"events_url": "https://api.github.com/users/CharlesAuguste/events{/privacy}",
"followers_url": "https://api.github.com/users/CharlesAuguste/followers",
"following_url": "https://api.github.com/users/CharlesAuguste/following{/other_user}",
"gists_url": "https://api.github.com/users/CharlesAuguste/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/CharlesAuguste",
"id": 17216645,
"login": "CharlesAuguste",
"node_id": "MDQ6VXNlcjE3MjE2NjQ1",
"organizations_url": "https://api.github.com/users/CharlesAuguste/orgs",
"received_events_url": "https://api.github.com/users/CharlesAuguste/received_events",
"repos_url": "https://api.github.com/users/CharlesAuguste/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/CharlesAuguste/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/CharlesAuguste/subscriptions",
"type": "User",
"url": "https://api.github.com/users/CharlesAuguste"
}
|
[
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false
| null |
[] | null | 0
| 2020-03-15T10:48:39Z
| 2020-10-02T18:31:09Z
| 2020-10-02T18:31:09Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
>>> import pandas as pd
>>> pd.__version__
'1.0.2'
>>> df = pd.DataFrame({"A": [1, None], "B":[4, 5], "C": [7, 8]})
>>> df.rolling(min_periods=1, window=2, axis=1).sum()
A B C
0 1.0 4.0 11.0
1 NaN 5.0 13.0
>>> df.T.rolling(min_periods=1, window=2).sum().T
A B C
0 1.0 5.0 11.0
1 NaN 5.0 13.0
```
#### Problem description
In the above example, I would expect that rolling from one axis or transposing and rolling from the other axis give the same result. This is true when there is no missing value in the dataframe. However, here there is a missing value the value at position .loc[0, "B"] ends up being different.
In the first case the value is not summed with the value at .loc[0, "A"], but in the second case it is. I think this may be an issue because I would expect to get the same output in both cases.
I observed this both in pandas 1.0.1 and 1.0.2.
#### Expected Output
```python
>>> df.rolling(min_periods=1, window=2, axis=1).sum()
A B C
0 1.0 5.0 11.0
1 NaN 5.0 13.0
>>> df.T.rolling(min_periods=1, window=2).sum().T
A B C
0 1.0 5.0 11.0
1 NaN 5.0 13.0
```
or
```python
>>> df.rolling(min_periods=1, window=2, axis=1).sum()
A B C
0 1.0 4.0 11.0
1 NaN 5.0 13.0
>>> df.T.rolling(min_periods=1, window=2).sum().T
A B C
0 1.0 4.0 11.0
1 NaN 5.0 13.0
```
#### Output of ``pd.show_versions()``
<details>
```
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.2.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-76-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.2
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 46.0.0
Cython : 0.29.15
pytest : 3.2.1
hypothesis : None
sphinx : 1.5.6
blosc : None
feather : None
xlsxwriter : 0.9.8
lxml.etree : 3.8.0
html5lib : 0.9999999
pymysql : None
psycopg2 : None
jinja2 : 2.10
IPython : 7.0.1
pandas_datareader: None
bs4 : 4.6.0
bottleneck : 1.2.1
fastparquet : None
gcsfs : None
lxml.etree : 3.8.0
matplotlib : 3.0.0
numexpr : 2.6.2
odfpy : None
openpyxl : 2.4.8
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 3.2.1
pyxlsb : None
s3fs : None
scipy : 1.2.1
sqlalchemy : 1.1.13
tables : 3.4.2
tabulate : None
xarray : None
xlrd : 1.1.0
xlwt : 1.3.0
xlsxwriter : 0.9.8
numba : 0.42.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/32724/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32724/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32725
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32725/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32725/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32725/events
|
https://github.com/pandas-dev/pandas/pull/32725
| 581,625,689
|
MDExOlB1bGxSZXF1ZXN0Mzg4NjY0MTMz
| 32,725
|
CLN: Remove Ops Mixin from pandas/tests/base
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-15T11:03:39Z
| 2020-03-16T01:38:06Z
| 2020-03-16T01:37:45Z
|
CONTRIBUTOR
| null |
11 PRs later, the moment has finally come: closes #23877 🎉
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32725/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32725/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32725.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32725",
"merged_at": "2020-03-16T01:37:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32725.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32725"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32726
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32726/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32726/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32726/events
|
https://github.com/pandas-dev/pandas/pull/32726
| 581,627,209
|
MDExOlB1bGxSZXF1ZXN0Mzg4NjY1NDEz
| 32,726
|
CLN: Use keep fixture in more places
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-03-15T11:08:15Z
| 2020-03-16T01:36:59Z
| 2020-03-16T01:36:54Z
|
CONTRIBUTOR
| null |
Follow up of #32487 - for [this comment of jreback](https://github.com/pandas-dev/pandas/pull/32487#issuecomment-599153289) in particular
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32726/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32726/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32726.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32726",
"merged_at": "2020-03-16T01:36:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32726.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32726"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32727
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32727/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32727/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32727/events
|
https://github.com/pandas-dev/pandas/issues/32727
| 581,639,603
|
MDU6SXNzdWU1ODE2Mzk2MDM=
| 32,727
|
read_excel opimize nrows
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5841616?v=4",
"events_url": "https://api.github.com/users/Zoynels/events{/privacy}",
"followers_url": "https://api.github.com/users/Zoynels/followers",
"following_url": "https://api.github.com/users/Zoynels/following{/other_user}",
"gists_url": "https://api.github.com/users/Zoynels/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Zoynels",
"id": 5841616,
"login": "Zoynels",
"node_id": "MDQ6VXNlcjU4NDE2MTY=",
"organizations_url": "https://api.github.com/users/Zoynels/orgs",
"received_events_url": "https://api.github.com/users/Zoynels/received_events",
"repos_url": "https://api.github.com/users/Zoynels/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Zoynels/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Zoynels/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Zoynels"
}
|
[
{
"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": "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"
}
] |
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
| 2020-03-15T11:46:14Z
| 2021-07-30T03:43:06Z
| null |
NONE
| null |
#### Code Sample
```python
pd.read_excel(fname, nrows=10)
```
#### Problem description
Pandas has option toread only several rows of excel files.
But now it always read all rows and after pandas cut some part.
For example, file have 100 columns and 50k rows, but for test need only first 10 rows.
Now pandas will read to list all 50k rows which use memory and take too many time to read.
les this should explain **why** the current behaviour is a problem and why the expected output is a better solution.]
#### Expected Output
Better solution should be read only rows which need for operation.
as I understand there shoul be some changes
pandas/io/excel/_base.py
```python
@abc.abstractmethod
def get_sheet_data(self, sheet, convert_float, header, skiprows, nrows):
pass
```
pandas/io/excel/_base.py
```python
data = self.get_sheet_data(sheet, convert_float, header, skiprows, nrows)
```
and in files _openpyxl.py, _odfreader.py, _xlrd.py
there should be something like
```python
def get_sheet_data(self, sheet, convert_float: bool, header: int, skiprows: int, nrows: int) -> List[List[Scalar]]:
data = [] # type: List[List[Scalar]]
skiprows = 0 if skiprows is None else skiprows
header = 0 if header is None else header
for row in sheet.rows:
if nrows is not None:
if header > 0:
#print("skip lines before header")
header -= 1
data.append(["", ""])
continue
if skiprows > 0:
#print("skip skiprows after header")
skiprows -= 1
data.append(["", ""])
continue
if nrows >= 0:
#print("read nrows")
nrows -= 1
else:
break
data.append([self._convert_cell(cell, convert_float) for cell in row])
return data
```
With this changes read_excel with engine='openpyxl' takes only 5 seconds instead of 50 seconds of current version. And if file will contain 1kk rows, it will take always around 5 seconds, but current version will take tens of minutes.
|
{
"+1": 5,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 5,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32727/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32727/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32728
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32728/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32728/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32728/events
|
https://github.com/pandas-dev/pandas/pull/32728
| 581,748,027
|
MDExOlB1bGxSZXF1ZXN0Mzg4NzY1NzMy
| 32,728
|
CLN: Remove unncessary lambda wrapper
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/482709?v=4",
"events_url": "https://api.github.com/users/skasturi/events{/privacy}",
"followers_url": "https://api.github.com/users/skasturi/followers",
"following_url": "https://api.github.com/users/skasturi/following{/other_user}",
"gists_url": "https://api.github.com/users/skasturi/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/skasturi",
"id": 482709,
"login": "skasturi",
"node_id": "MDQ6VXNlcjQ4MjcwOQ==",
"organizations_url": "https://api.github.com/users/skasturi/orgs",
"received_events_url": "https://api.github.com/users/skasturi/received_events",
"repos_url": "https://api.github.com/users/skasturi/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/skasturi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/skasturi/subscriptions",
"type": "User",
"url": "https://api.github.com/users/skasturi"
}
|
[] |
closed
| false
| null |
[] | null | 7
| 2020-03-15T17:06:15Z
| 2020-03-21T07:46:48Z
| 2020-03-17T01:42:43Z
|
CONTRIBUTOR
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
A lambda wrapper is unnecessary in these cases as the underlying methods are themselves callable. Moreover, the code does not add any logic in the wrapper to warrant the usage of lambda.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32728/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32728/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32728.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32728",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32728.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32728"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32729
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32729/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32729/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32729/events
|
https://github.com/pandas-dev/pandas/pull/32729
| 581,749,757
|
MDExOlB1bGxSZXF1ZXN0Mzg4NzY2ODU2
| 32,729
|
DOC: Edit release notes
|
{
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-15T17:15:04Z
| 2020-03-16T15:40:50Z
| 2020-03-16T01:27:33Z
|
MEMBER
| null |
Small cosmetic changes to rendering of 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/32729/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32729/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32729.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32729",
"merged_at": "2020-03-16T01:27:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32729.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32729"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32730
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32730/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32730/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32730/events
|
https://github.com/pandas-dev/pandas/pull/32730
| 581,755,748
|
MDExOlB1bGxSZXF1ZXN0Mzg4NzcxNjIy
| 32,730
|
TYP: annotate
|
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-03-15T17:34:08Z
| 2020-03-19T15:43:49Z
| 2020-03-19T11:33:30Z
|
MEMBER
| null |
cc @simonjayhawkins had to revert some annotations because mypy couldn't tell that ArrayLike had "copy" or "view". Is a fix for that depending on numpy making annotations/stubs?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32730/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32730/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32730.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32730",
"merged_at": "2020-03-19T11:33:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32730.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32730"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32731
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32731/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32731/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32731/events
|
https://github.com/pandas-dev/pandas/pull/32731
| 581,767,164
|
MDExOlB1bGxSZXF1ZXN0Mzg4NzgxMDEw
| 32,731
|
REF: simplify json get_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": "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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-03-15T18:06:30Z
| 2020-03-16T16:09:33Z
| 2020-03-16T01:26:32Z
|
MEMBER
| null |
cc @WillAyd trying to get away from _internal_get_values in the json code; this is zero-logic-changing to narrow the scope of what gets passed to _internal_get_values.
AFAICT replacing the _internal_get_values call with calling `__array__` doesnt break any tests, but in general the two are not always equivalent and it isnt obvious to me whether there are untested cases where it matters.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32731/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32731/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32731.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32731",
"merged_at": "2020-03-16T01:26:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32731.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32731"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32732
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32732/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32732/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32732/events
|
https://github.com/pandas-dev/pandas/issues/32732
| 581,783,811
|
MDU6SXNzdWU1ODE3ODM4MTE=
| 32,732
|
DOC: `contributing` page isn't rendered properly
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/9269816?v=4",
"events_url": "https://api.github.com/users/charlesdong1991/events{/privacy}",
"followers_url": "https://api.github.com/users/charlesdong1991/followers",
"following_url": "https://api.github.com/users/charlesdong1991/following{/other_user}",
"gists_url": "https://api.github.com/users/charlesdong1991/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/charlesdong1991",
"id": 9269816,
"login": "charlesdong1991",
"node_id": "MDQ6VXNlcjkyNjk4MTY=",
"organizations_url": "https://api.github.com/users/charlesdong1991/orgs",
"received_events_url": "https://api.github.com/users/charlesdong1991/received_events",
"repos_url": "https://api.github.com/users/charlesdong1991/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/charlesdong1991/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/charlesdong1991/subscriptions",
"type": "User",
"url": "https://api.github.com/users/charlesdong1991"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-03-15T18:57:26Z
| 2021-04-10T16:12:03Z
| 2021-04-10T16:12:03Z
|
MEMBER
| null |
As shown below, seems contributing page is not rendered as correctly as other pages.
I am not sure if this is the good place to post this issue, or maybe should I post it on `pydata-bootstrap-sphinx-theme`?

|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32732/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32732/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32733
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32733/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32733/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32733/events
|
https://github.com/pandas-dev/pandas/pull/32733
| 581,787,549
|
MDExOlB1bGxSZXF1ZXN0Mzg4Nzk4Mzkz
| 32,733
|
FIX: series.fillna doesn't shallow copy if len(series) == 0
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
}
|
[
{
"color": "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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 8
| 2020-03-15T19:09:12Z
| 2020-03-16T22:41:33Z
| 2020-03-16T22:34:14Z
|
CONTRIBUTOR
| null |
- [x] closes #32543
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32733/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32733/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32733.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32733",
"merged_at": "2020-03-16T22:34:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32733.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32733"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32734
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32734/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32734/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32734/events
|
https://github.com/pandas-dev/pandas/pull/32734
| 581,802,037
|
MDExOlB1bGxSZXF1ZXN0Mzg4ODExMTA1
| 32,734
|
BUG: arithmetic with reindex pow
|
{
"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": "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"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-18T18:23:41Z",
"closed_issues": 13,
"created_at": "2020-03-11T13:30:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/71",
"id": 5190829,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71/labels",
"node_id": "MDk6TWlsZXN0b25lNTE5MDgyOQ==",
"number": 71,
"open_issues": 0,
"state": "closed",
"title": "1.0.3",
"updated_at": "2020-03-18T18:23:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71"
}
| 5
| 2020-03-15T19:52:43Z
| 2020-03-17T19:15:08Z
| 2020-03-17T15:41:09Z
|
MEMBER
| null |
- [x] closes #32685
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32734/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32734/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32734.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32734",
"merged_at": "2020-03-17T15:41:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32734.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32734"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32735
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32735/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32735/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32735/events
|
https://github.com/pandas-dev/pandas/pull/32735
| 581,818,549
|
MDExOlB1bGxSZXF1ZXN0Mzg4ODI1Nzg0
| 32,735
|
start using f-strings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61093810?v=4",
"events_url": "https://api.github.com/users/smartvinnetou/events{/privacy}",
"followers_url": "https://api.github.com/users/smartvinnetou/followers",
"following_url": "https://api.github.com/users/smartvinnetou/following{/other_user}",
"gists_url": "https://api.github.com/users/smartvinnetou/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/smartvinnetou",
"id": 61093810,
"login": "smartvinnetou",
"node_id": "MDQ6VXNlcjYxMDkzODEw",
"organizations_url": "https://api.github.com/users/smartvinnetou/orgs",
"received_events_url": "https://api.github.com/users/smartvinnetou/received_events",
"repos_url": "https://api.github.com/users/smartvinnetou/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/smartvinnetou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/smartvinnetou/subscriptions",
"type": "User",
"url": "https://api.github.com/users/smartvinnetou"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-03-15T20:42:58Z
| 2020-03-16T23:52:57Z
| 2020-03-16T23:52:57Z
|
CONTRIBUTOR
| null |
- [ ] tests passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] upgrades old string formatting to f-strings in core/generic.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/32735/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32735/timeline
| null | 1
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32735.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32735",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32735.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32735"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32736
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32736/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32736/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32736/events
|
https://github.com/pandas-dev/pandas/pull/32736
| 581,826,814
|
MDExOlB1bGxSZXF1ZXN0Mzg4ODMyOTA4
| 32,736
|
REF: misplaced repr tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-15T21:08:40Z
| 2020-03-16T03:57:44Z
| 2020-03-16T02:19:12Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32736/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32736/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32736.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32736",
"merged_at": "2020-03-16T02:19:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32736.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32736"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/32737
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32737/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32737/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32737/events
|
https://github.com/pandas-dev/pandas/pull/32737
| 581,848,896
|
MDExOlB1bGxSZXF1ZXN0Mzg4ODUyMDU3
| 32,737
|
BUG: read_csv: fix wrong exception on permissions issue
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10944368?v=4",
"events_url": "https://api.github.com/users/roberthdevries/events{/privacy}",
"followers_url": "https://api.github.com/users/roberthdevries/followers",
"following_url": "https://api.github.com/users/roberthdevries/following{/other_user}",
"gists_url": "https://api.github.com/users/roberthdevries/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/roberthdevries",
"id": 10944368,
"login": "roberthdevries",
"node_id": "MDQ6VXNlcjEwOTQ0MzY4",
"organizations_url": "https://api.github.com/users/roberthdevries/orgs",
"received_events_url": "https://api.github.com/users/roberthdevries/received_events",
"repos_url": "https://api.github.com/users/roberthdevries/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/roberthdevries/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/roberthdevries/subscriptions",
"type": "User",
"url": "https://api.github.com/users/roberthdevries"
}
|
[
{
"color": "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": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-03-15T22:22:11Z
| 2020-03-19T19:07:07Z
| 2020-03-19T01:40:41Z
|
CONTRIBUTOR
| null |
Get rid of all error printf's and produce proper Python exceptions
- [x] closes #23784
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32737/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32737/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32737.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32737",
"merged_at": "2020-03-19T01:40:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32737.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32737"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32738
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32738/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32738/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32738/events
|
https://github.com/pandas-dev/pandas/issues/32738
| 581,848,994
|
MDU6SXNzdWU1ODE4NDg5OTQ=
| 32,738
|
DataFrame.plot docstring missing a few parameters
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7226751?v=4",
"events_url": "https://api.github.com/users/tdpetrou/events{/privacy}",
"followers_url": "https://api.github.com/users/tdpetrou/followers",
"following_url": "https://api.github.com/users/tdpetrou/following{/other_user}",
"gists_url": "https://api.github.com/users/tdpetrou/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tdpetrou",
"id": 7226751,
"login": "tdpetrou",
"node_id": "MDQ6VXNlcjcyMjY3NTE=",
"organizations_url": "https://api.github.com/users/tdpetrou/orgs",
"received_events_url": "https://api.github.com/users/tdpetrou/received_events",
"repos_url": "https://api.github.com/users/tdpetrou/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tdpetrou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tdpetrou/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tdpetrou"
}
|
[
{
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/44034221?v=4",
"events_url": "https://api.github.com/users/loudlemon/events{/privacy}",
"followers_url": "https://api.github.com/users/loudlemon/followers",
"following_url": "https://api.github.com/users/loudlemon/following{/other_user}",
"gists_url": "https://api.github.com/users/loudlemon/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/loudlemon",
"id": 44034221,
"login": "loudlemon",
"node_id": "MDQ6VXNlcjQ0MDM0MjIx",
"organizations_url": "https://api.github.com/users/loudlemon/orgs",
"received_events_url": "https://api.github.com/users/loudlemon/received_events",
"repos_url": "https://api.github.com/users/loudlemon/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/loudlemon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/loudlemon/subscriptions",
"type": "User",
"url": "https://api.github.com/users/loudlemon"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/44034221?v=4",
"events_url": "https://api.github.com/users/loudlemon/events{/privacy}",
"followers_url": "https://api.github.com/users/loudlemon/followers",
"following_url": "https://api.github.com/users/loudlemon/following{/other_user}",
"gists_url": "https://api.github.com/users/loudlemon/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/loudlemon",
"id": 44034221,
"login": "loudlemon",
"node_id": "MDQ6VXNlcjQ0MDM0MjIx",
"organizations_url": "https://api.github.com/users/loudlemon/orgs",
"received_events_url": "https://api.github.com/users/loudlemon/received_events",
"repos_url": "https://api.github.com/users/loudlemon/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/loudlemon/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/loudlemon/subscriptions",
"type": "User",
"url": "https://api.github.com/users/loudlemon"
}
] | null | 7
| 2020-03-15T22:22:33Z
| 2020-05-14T10:10:08Z
| 2020-05-14T10:10:08Z
|
CONTRIBUTOR
| null |
Looking at the [plot accessor docstring][1], it's missing
* `ax`
* `subplots`
* `sharex`
* `sharey`
* `secondary_y`
* `sort_columns`
Maybe others.
Also would be nice to have documentation of all parameters for all the accessor methods i.e. `df.plot.bar`.
[1]: https://github.com/pandas-dev/pandas/blob/master/pandas/plotting/_core.py#L579
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32738/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32738/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32739
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32739/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32739/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32739/events
|
https://github.com/pandas-dev/pandas/pull/32739
| 581,849,711
|
MDExOlB1bGxSZXF1ZXN0Mzg4ODUyNzU4
| 32,739
|
BUG: Fix join on MultiIndex for mixed Datetimelike and string levels
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/49879400?v=4",
"events_url": "https://api.github.com/users/nrebena/events{/privacy}",
"followers_url": "https://api.github.com/users/nrebena/followers",
"following_url": "https://api.github.com/users/nrebena/following{/other_user}",
"gists_url": "https://api.github.com/users/nrebena/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/nrebena",
"id": 49879400,
"login": "nrebena",
"node_id": "MDQ6VXNlcjQ5ODc5NDAw",
"organizations_url": "https://api.github.com/users/nrebena/orgs",
"received_events_url": "https://api.github.com/users/nrebena/received_events",
"repos_url": "https://api.github.com/users/nrebena/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/nrebena/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nrebena/subscriptions",
"type": "User",
"url": "https://api.github.com/users/nrebena"
}
|
[
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
}
] |
closed
| false
| null |
[] | null | 10
| 2020-03-15T22:25:01Z
| 2020-06-14T15:34:59Z
| 2020-06-14T15:34:59Z
|
CONTRIBUTOR
| null |
# Problem
From #26558, a minimal example is:
```python
import pandas as pd
import datetime
i1 = pd.Index(['2019-05-31'])
i2 = pd.Index([datetime.datetime(2019, 5, 31)])
mi1 = pd.MultiIndex.from_tuples([('2019-05-31',)])
mi2 = pd.MultiIndex.from_tuples([(datetime.datetime(2019, 5, 31),)])
print(i1.join(i2, return_indexers=True))
print(mi1.join(mi2, return_indexers=True))
# (DatetimeIndex(['2019-05-31'], dtype='datetime64[ns]', freq=None), None, None)
# (MultiIndex([('2019-05-31',)], ), None, array([-1]))
```
Here we can see that one of the indexers for multiindex is wrong.
# Proposed fix 🩹
The difference of handling for single index is explain by the join method for DatetimeTimedeltaMixin.
I did some refactoring in pandas/core/indexes/datetimelike.py to be able to reuse the same datetime handling method.
Then in the Index.join method, where MultiIndex are handled, I apply this method to each level of the MultiIndex that is a DatetimeTimedeltaMixin.
# PR checkboxes :ballot_box_with_check:
- [x] closes #26558
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32739/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32739/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32739.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32739",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32739.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32739"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32740
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32740/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32740/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32740/events
|
https://github.com/pandas-dev/pandas/issues/32740
| 581,880,543
|
MDU6SXNzdWU1ODE4ODA1NDM=
| 32,740
|
Reindexing two tz-aware (UTC) indices gives 'DatetimeArray subtraction must have the same timezones or no timezones'
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1429281?v=4",
"events_url": "https://api.github.com/users/andrewcooke/events{/privacy}",
"followers_url": "https://api.github.com/users/andrewcooke/followers",
"following_url": "https://api.github.com/users/andrewcooke/following{/other_user}",
"gists_url": "https://api.github.com/users/andrewcooke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/andrewcooke",
"id": 1429281,
"login": "andrewcooke",
"node_id": "MDQ6VXNlcjE0MjkyODE=",
"organizations_url": "https://api.github.com/users/andrewcooke/orgs",
"received_events_url": "https://api.github.com/users/andrewcooke/received_events",
"repos_url": "https://api.github.com/users/andrewcooke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/andrewcooke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrewcooke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/andrewcooke"
}
|
[
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
closed
| false
| null |
[] | null | 11
| 2020-03-15T23:56:49Z
| 2020-05-27T14:33:46Z
| 2020-04-05T18:28:17Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
import datetime as dt
print(pd.__version__)
a = pd.date_range('2010-01-01', '2010-01-02', periods=24, tz='utc')
b = pd.date_range('2010-01-01', '2010-01-02', periods=23, tz='utc')
a.reindex(b, method='nearest', tolerance=dt.timedelta(seconds=20))
```
#### Problem description
Output is:
```
Python 3.7.4 (default, Jul 27 2019, 21:25:02)
[GCC 7.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas as pd
>>> import datetime as dt
>>>
>>> print(pd.__version__)
1.0.2
>>> a = pd.date_range('2010-01-01', '2010-01-02', periods=24, tz='utc')
>>> b = pd.date_range('2010-01-01', '2010-01-02', periods=23, tz='utc')
>>> a.reindex(b, method='nearest', tolerance=dt.timedelta(seconds=20))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/andrew/project/ch2/choochoo-1/py/env/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3144, in reindex
target, method=method, limit=limit, tolerance=tolerance
File "/home/andrew/project/ch2/choochoo-1/py/env/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2740, in get_indexer
indexer = self._get_nearest_indexer(target, limit, tolerance)
File "/home/andrew/project/ch2/choochoo-1/py/env/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2830, in _get_nearest_indexer
indexer = self._filter_indexer_tolerance(target, indexer, tolerance)
File "/home/andrew/project/ch2/choochoo-1/py/env/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2834, in _filter_indexer_tolerance
distance = abs(self.values[indexer] - target)
File "/home/andrew/project/ch2/choochoo-1/py/env/lib/python3.7/site-packages/pandas/core/indexes/extension.py", line 147, in method
result = meth(_maybe_unwrap_index(other))
File "/home/andrew/project/ch2/choochoo-1/py/env/lib/python3.7/site-packages/pandas/core/arrays/datetimelike.py", line 1458, in __rsub__
return -(self - other)
File "/home/andrew/project/ch2/choochoo-1/py/env/lib/python3.7/site-packages/pandas/core/ops/common.py", line 64, in new_method
return method(self, other)
File "/home/andrew/project/ch2/choochoo-1/py/env/lib/python3.7/site-packages/pandas/core/arrays/datetimelike.py", line 1406, in __sub__
result = self._sub_datetime_arraylike(other)
File "/home/andrew/project/ch2/choochoo-1/py/env/lib/python3.7/site-packages/pandas/core/arrays/datetimes.py", line 667, in _sub_datetime_arraylike
f"{type(self).__name__} subtraction must have the same "
TypeError: DatetimeArray subtraction must have the same timezones or no timezones
```
The problem is that I don't see how to reindex and / or the error message appears to be nonsensical since both have UTC timezones.
#### Expected Output
With 0.25.3 I see:
```
(DatetimeIndex([ '2010-01-01 00:00:00+00:00',
'2010-01-01 01:05:27.272727272+00:00',
'2010-01-01 02:10:54.545454545+00:00',
'2010-01-01 03:16:21.818181818+00:00',
'2010-01-01 04:21:49.090909090+00:00',
'2010-01-01 05:27:16.363636363+00:00',
'2010-01-01 06:32:43.636363636+00:00',
'2010-01-01 07:38:10.909090909+00:00',
'2010-01-01 08:43:38.181818181+00:00',
'2010-01-01 09:49:05.454545454+00:00',
'2010-01-01 10:54:32.727272727+00:00',
'2010-01-01 12:00:00+00:00',
'2010-01-01 13:05:27.272727272+00:00',
'2010-01-01 14:10:54.545454545+00:00',
'2010-01-01 15:16:21.818181818+00:00',
'2010-01-01 16:21:49.090909090+00:00',
'2010-01-01 17:27:16.363636363+00:00',
'2010-01-01 18:32:43.636363636+00:00',
'2010-01-01 19:38:10.909090909+00:00',
'2010-01-01 20:43:38.181818181+00:00',
'2010-01-01 21:49:05.454545454+00:00',
'2010-01-01 22:54:32.727272727+00:00',
'2010-01-02 00:00:00+00:00'],
dtype='datetime64[ns, UTC]', freq=None), array([ 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, 23]))
```
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.4.final.0
python-bits : 64
OS : Linux
OS-release : 4.12.14-lp151.28.36-default
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 1.0.2
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 40.8.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.13.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.2.0
numexpr : None
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.15
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32740/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32740/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32741
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32741/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32741/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32741/events
|
https://github.com/pandas-dev/pandas/issues/32741
| 581,893,898
|
MDU6SXNzdWU1ODE4OTM4OTg=
| 32,741
|
Strange behavior on saving a dataframe containing = at the start of a cell value
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8365743?v=4",
"events_url": "https://api.github.com/users/AMR-KELEG/events{/privacy}",
"followers_url": "https://api.github.com/users/AMR-KELEG/followers",
"following_url": "https://api.github.com/users/AMR-KELEG/following{/other_user}",
"gists_url": "https://api.github.com/users/AMR-KELEG/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/AMR-KELEG",
"id": 8365743,
"login": "AMR-KELEG",
"node_id": "MDQ6VXNlcjgzNjU3NDM=",
"organizations_url": "https://api.github.com/users/AMR-KELEG/orgs",
"received_events_url": "https://api.github.com/users/AMR-KELEG/received_events",
"repos_url": "https://api.github.com/users/AMR-KELEG/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/AMR-KELEG/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AMR-KELEG/subscriptions",
"type": "User",
"url": "https://api.github.com/users/AMR-KELEG"
}
|
[
{
"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"
},
{
"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 | 1
| 2020-03-16T00:33:01Z
| 2020-03-19T19:16:11Z
| 2020-03-19T19:16:02Z
|
NONE
| null |
```python
import pandas as pd
index = [0, 1, 2]
text = ['====== 2', '======= abd', 'abc']
df = pd.DataFrame({'index':index, 'text': text})
df.to_excel('temp.xlsx', index=False)
print(df.head())
loaded_df = pd.read_excel('temp.xlsx')
print(loaded_df.head())
```
#### Problem description
Excel sheets interpret an `=` sign at the start of the cell as a signal for writing equations. If a column contains text data where one of the values start with `=` then the values are corrupted after saving the dataframe to an excel sheet.
#### Expected Output
```
index text
0 0 ====== 2
1 1 ======= abd
2 2 abc
```
#### Output after loading the exported xlsx sheet
```
index text
0 0 0
1 1 0
2 2 abc
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 059f9bff62d3bfe53eeece409b48b879abd1a3b1
python : 3.6.9.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-88-generic
Version : #88-Ubuntu SMP Tue Feb 11 20:11:34 UTC 2020
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : C.UTF-8
LANG : en_US.utf8
LOCALE : en_US.UTF-8
pandas : 1.1.0.dev0+793.g059f9bff6
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 46.0.0
Cython : 0.29.15
pytest : 5.4.1
hypothesis : 5.6.0
sphinx : 2.4.4
blosc : 1.8.3
feather : None
xlsxwriter : 1.2.8
lxml.etree : 4.5.0
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.13.0
pandas_datareader: None
bs4 : 4.8.2
bottleneck : 1.3.2
fastparquet : 0.3.3
gcsfs : None
matplotlib : 3.2.0
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.1
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
numba : 0.48.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32741/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32741/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32742
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32742/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32742/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32742/events
|
https://github.com/pandas-dev/pandas/issues/32742
| 582,013,933
|
MDU6SXNzdWU1ODIwMTM5MzM=
| 32,742
|
Remove the observations with 0 entries.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61142355?v=4",
"events_url": "https://api.github.com/users/Boblorde/events{/privacy}",
"followers_url": "https://api.github.com/users/Boblorde/followers",
"following_url": "https://api.github.com/users/Boblorde/following{/other_user}",
"gists_url": "https://api.github.com/users/Boblorde/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Boblorde",
"id": 61142355,
"login": "Boblorde",
"node_id": "MDQ6VXNlcjYxMTQyMzU1",
"organizations_url": "https://api.github.com/users/Boblorde/orgs",
"received_events_url": "https://api.github.com/users/Boblorde/received_events",
"repos_url": "https://api.github.com/users/Boblorde/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Boblorde/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Boblorde/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Boblorde"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-03-16T05:26:44Z
| 2020-03-16T06:45:34Z
| 2020-03-16T06:45:34Z
|
NONE
| null |
import pandas as pd
battle = pd.read_csv('battledeath_1.csv', low_memory = False)
battle_without_duplicate = battle.drop_duplicates()
I have dropped the duplicates in the original csv file but now i am asked to delete the entries that have zero in its values. They are just 2 columns, one being the name of the country and the other being the value in it. I need help in taking out the rows with zero in 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/32742/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32742/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32743
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32743/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32743/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32743/events
|
https://github.com/pandas-dev/pandas/pull/32743
| 582,045,262
|
MDExOlB1bGxSZXF1ZXN0Mzg5MDIzNjA3
| 32,743
|
Fix typo (add missing comma in list)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/14007150?v=4",
"events_url": "https://api.github.com/users/deepyaman/events{/privacy}",
"followers_url": "https://api.github.com/users/deepyaman/followers",
"following_url": "https://api.github.com/users/deepyaman/following{/other_user}",
"gists_url": "https://api.github.com/users/deepyaman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/deepyaman",
"id": 14007150,
"login": "deepyaman",
"node_id": "MDQ6VXNlcjE0MDA3MTUw",
"organizations_url": "https://api.github.com/users/deepyaman/orgs",
"received_events_url": "https://api.github.com/users/deepyaman/received_events",
"repos_url": "https://api.github.com/users/deepyaman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/deepyaman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/deepyaman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/deepyaman"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-03-16T06:40:20Z
| 2020-03-16T18:13:50Z
| 2020-03-16T17:28:23Z
|
CONTRIBUTOR
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32743/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32743/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32743.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32743",
"merged_at": "2020-03-16T17:28:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32743.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32743"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32744
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32744/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32744/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32744/events
|
https://github.com/pandas-dev/pandas/pull/32744
| 582,109,878
|
MDExOlB1bGxSZXF1ZXN0Mzg5MDc4MDE5
| 32,744
|
CLN: Split pandas/tests/base/test_ops.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-03-16T08:47:01Z
| 2020-03-17T11:52:44Z
| 2020-03-17T11:52:36Z
|
CONTRIBUTOR
| null |
As suggested by @jreback in [this PR comment](https://github.com/pandas-dev/pandas/pull/32725#issuecomment-599299873)
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32744/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32744/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32744.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32744",
"merged_at": "2020-03-17T11:52:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32744.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32744"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32745
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32745/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32745/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32745/events
|
https://github.com/pandas-dev/pandas/issues/32745
| 582,149,612
|
MDU6SXNzdWU1ODIxNDk2MTI=
| 32,745
|
Unable to write dataframe to csv via hdfs_client using pandas 1.0.1
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ghost",
"id": 10137,
"login": "ghost",
"node_id": "MDQ6VXNlcjEwMTM3",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"received_events_url": "https://api.github.com/users/ghost/received_events",
"repos_url": "https://api.github.com/users/ghost/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ghost"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
},
{
"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 | 10
| 2020-03-16T09:50:59Z
| 2021-03-26T05:36:08Z
| 2021-03-26T05:36:07Z
|
NONE
| null |
I am trying to save a data frame to csv using the method df.to_csv(writer) by passing hdfs_client's writer but it is throwing an error
"ValueError: Invalid file path or buffer object type: <class 'hdfs.util.AsyncWriter'>"
Code:
```
with hdfs_client.write('/some/existing/path/in/datalake/dummy.csv', encoding='utf-8') as writer:
df.to_csv(writer,encoding='utf-8') (edited)
```
The issue was also mentioned in https://github.com/pandas-dev/pandas/issues/21560
Error:
```
ValueError Traceback (most recent call last)
<ipython-input-10-a363c2611af8> in <module>
1 with hdfs_client.write('/shared/ml/data/sfd.csv', encoding='utf-8') as writer:
----> 2 df.to_csv(writer,encoding='utf-8')
/opt/conda/lib/python3.7/site-packages/pandas/core/generic.py in to_csv(self, path_or_buf, sep, na_rep, float_format, columns, header, index, index_label, mode, encoding, compression, quoting, quotechar, line_terminator, chunksize, date_format, doublequote, escapechar, decimal)
3200 doublequote=doublequote,
3201 escapechar=escapechar,
-> 3202 decimal=decimal,
3203 )
3204 formatter.save()
/opt/conda/lib/python3.7/site-packages/pandas/io/formats/csvs.py in __init__(self, obj, path_or_buf, sep, na_rep, float_format, cols, header, index, index_label, mode, encoding, compression, quoting, line_terminator, chunksize, quotechar, date_format, doublequote, escapechar, decimal)
64
65 self.path_or_buf, _, _, _ = get_filepath_or_buffer(
---> 66 path_or_buf, encoding=encoding, compression=compression, mode=mode
67 )
68 self.sep = sep
/opt/conda/lib/python3.7/site-packages/pandas/io/common.py in get_filepath_or_buffer(filepath_or_buffer, encoding, compression, mode)
198 if not is_file_like(filepath_or_buffer):
199 msg = f"Invalid file path or buffer object type: {type(filepath_or_buffer)}"
--> 200 raise ValueError(msg)
201
202 return filepath_or_buffer, None, compression, False
ValueError: Invalid file path or buffer object type: <class 'hdfs.util.AsyncWriter'>
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32745/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32745/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32746
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32746/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32746/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32746/events
|
https://github.com/pandas-dev/pandas/pull/32746
| 582,222,566
|
MDExOlB1bGxSZXF1ZXN0Mzg5MTczNjkw
| 32,746
|
DOC: start 1.0.3
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-18T18:23:41Z",
"closed_issues": 13,
"created_at": "2020-03-11T13:30:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/71",
"id": 5190829,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71/labels",
"node_id": "MDk6TWlsZXN0b25lNTE5MDgyOQ==",
"number": 71,
"open_issues": 0,
"state": "closed",
"title": "1.0.3",
"updated_at": "2020-03-18T18:23:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71"
}
| 1
| 2020-03-16T11:38:25Z
| 2020-03-16T14:37:42Z
| 2020-03-16T13:14:59Z
|
CONTRIBUTOR
| 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/32746/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32746/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32746.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32746",
"merged_at": "2020-03-16T13:14:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32746.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32746"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/32747
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32747/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32747/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32747/events
|
https://github.com/pandas-dev/pandas/issues/32747
| 582,274,611
|
MDU6SXNzdWU1ODIyNzQ2MTE=
| 32,747
|
BUG: Regression in assert_frame_equal check_dtype for extension dtypes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "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": "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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-03-16T12:57:50Z
| 2020-03-17T19:33:40Z
| 2020-03-17T19:33:40Z
|
MEMBER
| null |
Consider this small example of two DataFrames, one with an Int64 extension dtype, the other with the same values but object dtype:
```
df1 = pd.DataFrame({'a': pd.array([1, 2, 3], dtype="Int64")})
df2 = df1.astype(object)
```
With pandas 1.0.1, this passes `assert_frame_equal` with the `check_dtype=False`:
```
In [5]: pd.testing.assert_frame_equal(df1, df2)
...
Attribute "dtype" are different
[left]: Int64
[right]: object
In [6]: pd.testing.assert_frame_equal(df1, df2, check_dtype=False)
```
but with master (since https://github.com/pandas-dev/pandas/pull/32570, see my comment there, cc @jbrockmendel), this fails:
```
In [2]: pd.testing.assert_frame_equal(df1, df2, check_dtype=False)
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-2-d2d792202db1> in <module>
----> 1 pd.testing.assert_frame_equal(df1, df2, check_dtype=False)
~/scipy/pandas/pandas/_testing.py in assert_frame_equal(left, right, check_dtype, check_index_type, check_column_type, check_frame_type, check_less_precise, check_names, by_blocks, check_exact, check_datetimelike_compat, check_categorical, check_like, obj)
1378 check_datetimelike_compat=check_datetimelike_compat,
1379 check_categorical=check_categorical,
-> 1380 obj=f'{obj}.iloc[:, {i}] (column name="{col}")',
1381 )
1382
~/scipy/pandas/pandas/_testing.py in assert_series_equal(left, right, check_dtype, check_index_type, check_series_type, check_less_precise, check_names, check_exact, check_datetimelike_compat, check_categorical, check_category_order, obj)
1177 )
1178 elif is_extension_array_dtype(left.dtype) or is_extension_array_dtype(right.dtype):
-> 1179 assert_extension_array_equal(left._values, right._values)
1180 elif needs_i8_conversion(left.dtype) or needs_i8_conversion(right.dtype):
1181 # DatetimeArray or TimedeltaArray
~/scipy/pandas/pandas/_testing.py in assert_extension_array_equal(left, right, check_dtype, check_less_precise, check_exact)
1017 """
1018 assert isinstance(left, ExtensionArray), "left is not an ExtensionArray"
-> 1019 assert isinstance(right, ExtensionArray), "right is not an ExtensionArray"
1020 if check_dtype:
1021 assert_attr_equal("dtype", left, right, obj="ExtensionArray")
AssertionError: right is not an ExtensionArray
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32747/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32747/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32748
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32748/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32748/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32748/events
|
https://github.com/pandas-dev/pandas/issues/32748
| 582,289,483
|
MDU6SXNzdWU1ODIyODk0ODM=
| 32,748
|
DOC: What release version do we want in the header?
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-05-30T15:21:05Z",
"closed_issues": 94,
"created_at": "2020-03-19T21:32:28Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-06-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/72",
"id": 5219206,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels",
"node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==",
"number": 72,
"open_issues": 0,
"state": "closed",
"title": "1.0.4",
"updated_at": "2020-06-24T17:57:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72"
}
| 7
| 2020-03-16T13:20:24Z
| 2020-05-26T09:34:56Z
| 2020-03-20T22:22:05Z
|
CONTRIBUTOR
| null |
I think this has come up before, but which whatsnew document, if any, do we want to link from the header? The "What's New in 1.0.1" in the screenshot below.
<img width="454" alt="Screen Shot 2020-03-16 at 8 16 42 AM" src="https://user-images.githubusercontent.com/1312546/76762092-a15c7800-675e-11ea-864e-11978f436b86.png">
Choices
1. Latest release (e.g. 1.0.2)
2. Last major release (e.g. 1.0.0)
3. None
cc @jorisvandenbossche @datapythonista.
(I think my preference is for option 3, since it's not clear whether 1 or 2 is better, so put it behind an extra click via the "Release Notes" page).
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32748/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32748/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32749
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32749/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32749/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32749/events
|
https://github.com/pandas-dev/pandas/issues/32749
| 582,289,958
|
MDU6SXNzdWU1ODIyODk5NTg=
| 32,749
|
BUG: regression in error raised by idxmin/idxmax for extension dtypes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "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": "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": "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"
}
| 11
| 2020-03-16T13:21:04Z
| 2021-01-01T21:38:39Z
| 2021-01-01T21:38:39Z
|
MEMBER
| null |
With pandas 1.0.1:
```
In [7]: from pandas.tests.extension.decimal import DecimalArray, make_data
In [8]: s = pd.Series(DecimalArray(make_data()[:5]))
In [9]: s
Out[9]:
0 Decimal: 0.25866656130631138221787068687262944...
1 Decimal: 0.11511905452780368808163302674074657...
2 Decimal: 0.15301679241167220890673661415348760...
3 Decimal: 0.41125672759464626526693109553889371...
4 Decimal: 0.46391316685725048074573351186700165...
dtype: decimal
In [10]: s.idxmin()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-10-5060aab05d12> in <module>
----> 1 s.idxmin()
~/miniconda3/envs/pandas10/lib/python3.8/site-packages/pandas/core/series.py in idxmin(self, axis, skipna, *args, **kwargs)
2037 """
2038 skipna = nv.validate_argmin_with_skipna(skipna, args, kwargs)
-> 2039 i = nanops.nanargmin(com.values_from_object(self), skipna=skipna)
2040 if i == -1:
2041 return np.nan
~/miniconda3/envs/pandas10/lib/python3.8/site-packages/pandas/core/nanops.py in _f(*args, **kwargs)
62 if any(self.check(obj) for obj in obj_iter):
63 f_name = f.__name__.replace("nan", "")
---> 64 raise TypeError(
65 f"reduction operation '{f_name}' not allowed for this dtype"
66 )
TypeError: reduction operation 'argmin' not allowed for this dtype
```
Now with master you get:
```
In [4]: s.idxmin()
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-4-7e62303a9d43> in <module>
----> 1 s.idxmin()
~/scipy/pandas/pandas/core/series.py in idxmin(self, axis, skipna, *args, **kwargs)
1988 """
1989 skipna = nv.validate_argmin_with_skipna(skipna, args, kwargs)
-> 1990 i = nanops.nanargmin(self._values, skipna=skipna)
1991 if i == -1:
1992 return np.nan
~/scipy/pandas/pandas/core/nanops.py in _f(*args, **kwargs)
69 try:
70 with np.errstate(invalid="ignore"):
---> 71 return f(*args, **kwargs)
72 except ValueError as e:
73 # we want to transform an object array
~/scipy/pandas/pandas/core/nanops.py in nanargmin(values, axis, skipna, mask)
943 """
944 values, mask, dtype, _, _ = _get_values(
--> 945 values, True, fill_value_typ="+inf", mask=mask
946 )
947 result = values.argmin(axis)
~/scipy/pandas/pandas/core/nanops.py in _get_values(values, skipna, fill_value, fill_value_typ, mask)
311 # promote if needed
312 else:
--> 313 values, _ = maybe_upcast_putmask(values, mask, fill_value)
314
315 # return a platform independent precision dtype
~/scipy/pandas/pandas/core/dtypes/cast.py in maybe_upcast_putmask(result, mask, other)
278 """
279 if not isinstance(result, np.ndarray):
--> 280 raise ValueError("The result input must be a ndarray.")
281 if not is_scalar(other):
282 # We _could_ support non-scalar other, but until we have a compelling
ValueError: The result input must be a ndarray.
```
@jbrockmendel this is from no longer using `values_from_object`, but passing `_values` to the nanops function, while this expects to always receive an ndarray
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32749/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32749/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32750
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32750/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32750/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32750/events
|
https://github.com/pandas-dev/pandas/pull/32750
| 582,292,037
|
MDExOlB1bGxSZXF1ZXN0Mzg5MjMyNzA2
| 32,750
|
Backport PR #32746: DOC: start 1.0.3
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-18T18:23:41Z",
"closed_issues": 13,
"created_at": "2020-03-11T13:30:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/71",
"id": 5190829,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71/labels",
"node_id": "MDk6TWlsZXN0b25lNTE5MDgyOQ==",
"number": 71,
"open_issues": 0,
"state": "closed",
"title": "1.0.3",
"updated_at": "2020-03-18T18:23:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71"
}
| 0
| 2020-03-16T13:23:59Z
| 2020-03-16T14:34:53Z
| 2020-03-16T14:34:52Z
|
CONTRIBUTOR
| null |
https://github.com/pandas-dev/pandas/pull/32746
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32750/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32750/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32750.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32750",
"merged_at": "2020-03-16T14:34:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32750.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32750"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32751
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32751/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32751/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32751/events
|
https://github.com/pandas-dev/pandas/issues/32751
| 582,295,074
|
MDU6SXNzdWU1ODIyOTUwNzQ=
| 32,751
|
RLS: 1.0.3
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
}
|
[
{
"color": "006b75",
"default": false,
"description": null,
"id": 131473665,
"name": "Release",
"node_id": "MDU6TGFiZWwxMzE0NzM2NjU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Release"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-18T18:23:41Z",
"closed_issues": 13,
"created_at": "2020-03-11T13:30:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/71",
"id": 5190829,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71/labels",
"node_id": "MDk6TWlsZXN0b25lNTE5MDgyOQ==",
"number": 71,
"open_issues": 0,
"state": "closed",
"title": "1.0.3",
"updated_at": "2020-03-18T18:23:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71"
}
| 6
| 2020-03-16T13:28:14Z
| 2020-03-18T18:40:22Z
| 2020-03-18T18:23:19Z
|
CONTRIBUTOR
| null |
I'd like to release 1.0.3 somewhat soon, primarily motivated by https://github.com/pandas-dev/pandas/issues/32685 (which has an open PR with a fix).
Can we target tomorrow, Tuesday the 17th? If there are other regression fixes to include, ping me on them or post their issue numbers here.
---
I have a bit of free time today and tomorrow, so I might merge https://github.com/MacPython/pandas-wheels/pull/74 to use the new wheel building infrastructure.
cc @pandas-dev/pandas-core
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32751/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32751/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32752
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32752/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32752/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32752/events
|
https://github.com/pandas-dev/pandas/pull/32752
| 582,315,906
|
MDExOlB1bGxSZXF1ZXN0Mzg5MjUyODc2
| 32,752
|
TST: re-enable downstream geopandas test
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-16T13:56:56Z
| 2020-03-16T16:55:59Z
| 2020-03-16T16:55:37Z
|
MEMBER
| null |
Closes https://github.com/pandas-dev/pandas/issues/32144
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32752/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32752/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32752.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32752",
"merged_at": "2020-03-16T16:55:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32752.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32752"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32753
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32753/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32753/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32753/events
|
https://github.com/pandas-dev/pandas/pull/32753
| 582,389,103
|
MDExOlB1bGxSZXF1ZXN0Mzg5MzE1ODIy
| 32,753
|
DOC: Partial fix SA04 errors in docstrings #28792
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6186510?v=4",
"events_url": "https://api.github.com/users/dilex42/events{/privacy}",
"followers_url": "https://api.github.com/users/dilex42/followers",
"following_url": "https://api.github.com/users/dilex42/following{/other_user}",
"gists_url": "https://api.github.com/users/dilex42/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dilex42",
"id": 6186510,
"login": "dilex42",
"node_id": "MDQ6VXNlcjYxODY1MTA=",
"organizations_url": "https://api.github.com/users/dilex42/orgs",
"received_events_url": "https://api.github.com/users/dilex42/received_events",
"repos_url": "https://api.github.com/users/dilex42/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dilex42/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dilex42/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dilex42"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-16T15:29:53Z
| 2020-03-17T08:12:40Z
| 2020-03-16T22:42:15Z
|
CONTRIBUTOR
| null |
- [x] xref #28792
My first PR. Tell me if I'm doing this incorrectly.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32753/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32753/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32753.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32753",
"merged_at": "2020-03-16T22:42:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32753.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32753"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32754
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32754/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32754/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32754/events
|
https://github.com/pandas-dev/pandas/pull/32754
| 582,425,564
|
MDExOlB1bGxSZXF1ZXN0Mzg5MzQ3MjM2
| 32,754
|
REF: avoid _internal_get_values in json get_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": "207de5",
"default": false,
"description": "read_json, to_json, json_normalize",
"id": 49379259,
"name": "IO JSON",
"node_id": "MDU6TGFiZWw0OTM3OTI1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20JSON"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-03-16T16:16:39Z
| 2020-03-17T02:21:49Z
| 2020-03-17T02:06:28Z
|
MEMBER
| null |
cc @WillAyd
As mentioned in #32731, this changes the behavior for CategoricalIndex[dt64tz] and Series with that for its index. Suggestions for where tests for that should go?
Note: the Categorical[dt64tz] cases still do a trip through object-dtype; I don't want to futz with that in C-space.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32754/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32754/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32754.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32754",
"merged_at": "2020-03-17T02:06:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32754.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32754"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32755
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32755/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32755/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32755/events
|
https://github.com/pandas-dev/pandas/issues/32755
| 582,456,884
|
MDU6SXNzdWU1ODI0NTY4ODQ=
| 32,755
|
Request: Better error message for missing columns in aggregate
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6782404?v=4",
"events_url": "https://api.github.com/users/tsoernes/events{/privacy}",
"followers_url": "https://api.github.com/users/tsoernes/followers",
"following_url": "https://api.github.com/users/tsoernes/following{/other_user}",
"gists_url": "https://api.github.com/users/tsoernes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tsoernes",
"id": 6782404,
"login": "tsoernes",
"node_id": "MDQ6VXNlcjY3ODI0MDQ=",
"organizations_url": "https://api.github.com/users/tsoernes/orgs",
"received_events_url": "https://api.github.com/users/tsoernes/received_events",
"repos_url": "https://api.github.com/users/tsoernes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tsoernes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tsoernes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tsoernes"
}
|
[
{
"color": "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": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-03-16T16:56:38Z
| 2020-03-22T20:34:44Z
| 2020-03-22T20:34:44Z
|
NONE
| null |
When attempting to aggregate a non-existing column, this error is raised, which is not very descriptive: `SpecificationError: nested renamer is not supported`
```
In [39]: pd.DataFrame([[1, 2]], columns=['A', 'B']).groupby('A').agg({'B': 'mean'})
Out[39]:
B
A
1 2
In [40]: pd.DataFrame([[1, 2]], columns=['A', 'B']).groupby('A').agg({'B': 'mean', 'non-existing': 'mean'})
Out[40]:
...
SpecificationError: nested renamer is not supported
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32755/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32755/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32756
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32756/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32756/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32756/events
|
https://github.com/pandas-dev/pandas/pull/32756
| 582,467,961
|
MDExOlB1bGxSZXF1ZXN0Mzg5MzgzNjA3
| 32,756
|
copy license text from: tidyverse/haven
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/60270728?v=4",
"events_url": "https://api.github.com/users/jamin-aws-ospo/events{/privacy}",
"followers_url": "https://api.github.com/users/jamin-aws-ospo/followers",
"following_url": "https://api.github.com/users/jamin-aws-ospo/following{/other_user}",
"gists_url": "https://api.github.com/users/jamin-aws-ospo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jamin-aws-ospo",
"id": 60270728,
"login": "jamin-aws-ospo",
"node_id": "MDQ6VXNlcjYwMjcwNzI4",
"organizations_url": "https://api.github.com/users/jamin-aws-ospo/orgs",
"received_events_url": "https://api.github.com/users/jamin-aws-ospo/received_events",
"repos_url": "https://api.github.com/users/jamin-aws-ospo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jamin-aws-ospo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jamin-aws-ospo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jamin-aws-ospo"
}
|
[
{
"color": "DDDDDD",
"default": false,
"description": "Administrative tasks related to the pandas project",
"id": 32933285,
"name": "Admin",
"node_id": "MDU6TGFiZWwzMjkzMzI4NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Admin"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 7
| 2020-03-16T17:13:07Z
| 2020-03-18T00:01:06Z
| 2020-03-18T00:00:58Z
|
CONTRIBUTOR
| null |
The existing HAVEN_LICENSE file was lacking any form of actual license.
After checking the pandas source, it appears that the reference to HAVEN
is in relation to tidyverse/haven, copying the license from
tidyverse/haven for clarity.
Signed-off-by: Jamin Collins <jamin@amazon.com>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32756/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32756/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32756.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32756",
"merged_at": "2020-03-18T00:00:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32756.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32756"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32757
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32757/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32757/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32757/events
|
https://github.com/pandas-dev/pandas/pull/32757
| 582,522,836
|
MDExOlB1bGxSZXF1ZXN0Mzg5NDMwODE4
| 32,757
|
BUG: Respect check_dtype in assert_series_equal
|
{
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 8
| 2020-03-16T18:40:33Z
| 2020-03-17T20:56:21Z
| 2020-03-17T19:33:41Z
|
MEMBER
| null |
- [x] closes #32747
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
I'm not sure if https://github.com/pandas-dev/pandas/blob/master/pandas/_testing.py#L1174 needs to change too?
cc @jorisvandenbossche
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32757/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32757/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32757.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32757",
"merged_at": "2020-03-17T19:33:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32757.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32757"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32758
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32758/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32758/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32758/events
|
https://github.com/pandas-dev/pandas/pull/32758
| 582,534,185
|
MDExOlB1bGxSZXF1ZXN0Mzg5NDQwMzU4
| 32,758
|
BUG: resample.agg with read-only data
|
{
"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": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-18T18:23:41Z",
"closed_issues": 13,
"created_at": "2020-03-11T13:30:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/71",
"id": 5190829,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71/labels",
"node_id": "MDk6TWlsZXN0b25lNTE5MDgyOQ==",
"number": 71,
"open_issues": 0,
"state": "closed",
"title": "1.0.3",
"updated_at": "2020-03-18T18:23:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71"
}
| 3
| 2020-03-16T18:58:31Z
| 2020-03-17T16:01:08Z
| 2020-03-17T01:34:16Z
|
MEMBER
| null |
- [x] closes #31710
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32758/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32758/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32758.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32758",
"merged_at": "2020-03-17T01:34:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32758.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32758"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32759
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32759/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32759/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32759/events
|
https://github.com/pandas-dev/pandas/issues/32759
| 582,607,000
|
MDU6SXNzdWU1ODI2MDcwMDA=
| 32,759
|
keyword stacked for bar plots not documented anywhere.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/28426758?v=4",
"events_url": "https://api.github.com/users/joooeey/events{/privacy}",
"followers_url": "https://api.github.com/users/joooeey/followers",
"following_url": "https://api.github.com/users/joooeey/following{/other_user}",
"gists_url": "https://api.github.com/users/joooeey/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joooeey",
"id": 28426758,
"login": "joooeey",
"node_id": "MDQ6VXNlcjI4NDI2NzU4",
"organizations_url": "https://api.github.com/users/joooeey/orgs",
"received_events_url": "https://api.github.com/users/joooeey/received_events",
"repos_url": "https://api.github.com/users/joooeey/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joooeey/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joooeey/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joooeey"
}
|
[
{
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-03-16T21:22:55Z
| 2020-05-09T09:13:46Z
| 2020-05-06T21:30:51Z
|
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
```python
df.plot.bar(stacked=True)
df.plot(kind='bar', stacked=True)
```
#### Problem description
There is a keyword argument to create a stacked bar graph. This kwarg is not documented anywhere in the Pandas documentation.
#### Expected Output
The documentations for the methods `df.plot.bar` and `df.plot` should include a description of the kwd `stacked`
#### Version
Pandas 1.0.1
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32759/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32759/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32760
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32760/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32760/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32760/events
|
https://github.com/pandas-dev/pandas/issues/32760
| 582,617,477
|
MDU6SXNzdWU1ODI2MTc0Nzc=
| 32,760
|
pandas.test() produces many PytestUnknownMarkWarning
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
}
|
[
{
"color": "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": "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": "f2f074",
"default": false,
"description": "Warnings that appear or should be added to pandas",
"id": 1628184320,
"name": "Warnings",
"node_id": "MDU6TGFiZWwxNjI4MTg0MzIw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Warnings"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 4
| 2020-03-16T21:46:43Z
| 2020-10-05T11:23:13Z
| 2020-10-05T11:23:13Z
|
CONTRIBUTOR
| null |
For example
```python
>>> import pandas
>>> pandas.test(['-k', 'TestPDApi'])
```
Has many warnings like
```
Envs/dask-dev/lib/python3.7/site-packages/pandas/tests/series/indexing/test_datetime.py:121
/Users/taugspurger/Envs/dask-dev/lib/python3.7/site-packages/pandas/tests/series/indexing/test_datetime.py:121: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
@pytest.mark.slow
Envs/dask-dev/lib/python3.7/site-packages/pandas/tests/series/methods/test_rank.py:559
/Users/taugspurger/Envs/dask-dev/lib/python3.7/site-packages/pandas/tests/series/methods/test_rank.py:559: PytestUnknownMarkWarning: Unknown pytest.mark.single - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
@pytest.mark.single
Envs/dask-dev/lib/python3.7/site-packages/pandas/tests/series/methods/test_rank.py:560
/Users/taugspurger/Envs/dask-dev/lib/python3.7/site-packages/pandas/tests/series/methods/test_rank.py:560: PytestUnknownMarkWarning: Unknown pytest.mark.high_memory - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
@pytest.mark.high_memory
```
We register these: https://github.com/pandas-dev/pandas/blob/5da500af76d0031021a8e906d8f34dc3e6ded234/setup.cfg#L56-L62. But the setup.cfg is perhaps not included with the distribution, and so the registered marks aren't available perhaps? Is there anyone more familiar with pytest who knows what we should be doing here?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32760/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32760/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32761
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32761/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32761/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32761/events
|
https://github.com/pandas-dev/pandas/issues/32761
| 582,635,301
|
MDU6SXNzdWU1ODI2MzUzMDE=
| 32,761
|
Rolling mean on a time-based period with one data point does not return the exact mean
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11968347?v=4",
"events_url": "https://api.github.com/users/bcbrock/events{/privacy}",
"followers_url": "https://api.github.com/users/bcbrock/followers",
"following_url": "https://api.github.com/users/bcbrock/following{/other_user}",
"gists_url": "https://api.github.com/users/bcbrock/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bcbrock",
"id": 11968347,
"login": "bcbrock",
"node_id": "MDQ6VXNlcjExOTY4MzQ3",
"organizations_url": "https://api.github.com/users/bcbrock/orgs",
"received_events_url": "https://api.github.com/users/bcbrock/received_events",
"repos_url": "https://api.github.com/users/bcbrock/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bcbrock/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bcbrock/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bcbrock"
}
|
[
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 1
| 2020-03-16T22:28:45Z
| 2020-09-15T22:20:48Z
| 2020-09-15T22:20:48Z
|
NONE
| null |
First, thank you all for creating and maintaining this package, and for the obvious care that has gone into the numerical analysis of the `rolling` methods.
#### Code Sample, a copy-pastable example if possible
```python
import numpy as np
import pandas as pd
print('Pandas Version', pd.__version__)
pd.options.display.float_format = '{:,.15f}'.format
np.random.seed(42)
index = pd.date_range(start='2020-01-01', end= '2020-01-02', freq='1s').append(pd.DatetimeIndex(['2020-01-03']))
data = np.random.rand(len(index))
df = pd.DataFrame({'data':data}, index=index)
df['mean'] = df.rolling('60s').mean()
df
```
Result
```
>>> print('Pandas Version', pd.__version__)
Pandas Version 1.0.2
...
>>> df
data mean
2020-01-01 00:00:00 0.374540118847362 0.374540118847362
2020-01-01 00:00:01 0.950714306409916 0.662627212628639
2020-01-01 00:00:02 0.731993941811405 0.685749455689561
2020-01-01 00:00:03 0.598658484197037 0.663976712816430
2020-01-01 00:00:04 0.156018640442437 0.562385098341631
... ... ...
2020-01-01 23:59:57 0.888246435024149 0.461337636515083
2020-01-01 23:59:58 0.825973496654809 0.468473569401559
2020-01-01 23:59:59 0.487629482790733 0.473417509587717
2020-01-02 00:00:00 0.705341871943242 0.480022530163534
2020-01-03 00:00:00 0.105076984427931 0.105076984428225
[86402 rows x 2 columns]
```
#### Problem description
In the example above I show a rolling mean over a 1-minute window, but the final point jumps ahead by one day. Since this is the only point in the final window, I expect the mean here to be *exactly* the single value in the window. You can see however that there is some error in the low-order 4 dights displayed.
I believe this is due to an omission in the function `roll_mean_variable` which I am reading in the file `pandas/_libs/window/aggregations.pyx`. I believe that the function should zero the running sum whenever the number of observations goes to 0 after a "remove" operation. Otherwise, some noise from previous periods will be left in the running sum.
If I apply this patch to my local copy then I get the exact mean.
```
diff --git a/pandas/_libs/window/aggregations.pyx b/pandas/_libs/window/aggregations.pyx
index 495b436..76ba1dd 100644
--- a/pandas/_libs/window/aggregations.pyx
+++ b/pandas/_libs/window/aggregations.pyx
@@ -344,20 +344,24 @@ def roll_mean_variable(ndarray[float64_t] values, ndarray[int64_t] start,
val = values[j]
add_mean(val, &nobs, &sum_x, &neg_ct)
else:
# calculate deletes
for j in range(start[i - 1], s):
val = values[j]
remove_mean(val, &nobs, &sum_x, &neg_ct)
+ # Reset sum if NOBS goes to 0
+ if nobs == 0:
+ sum_x = 0
+
# calculate adds
for j in range(end[i - 1], e):
val = values[j]
add_mean(val, &nobs, &sum_x, &neg_ct)
output[i] = calc_mean(minp, nobs, neg_ct, sum_x)
if not is_monotonic_bounds:
for j in range(s, e):
val = values[j]
```
I understand that there is a philosophical question: Given that we know that most rolling means are likely not bit-accurate anyway, is it worth doing a check for this special case? One argument would be that for time series like mine with gaps here and there, the gaps would serve to clear the accumulated errors every time a gap occurred, and in general the accuracy of the procedure would improve.
I notice that the rolling variance calculations *do* reset the accumulators to 0 when they completely depopulate a window. I am curious though, is there a numerical-analysis reason for doing the adds before the removes there? This order nullifies the resetting-effect of clearing the accumulators I believe, because my windows will never go to empty with this ordering. This is the code I'm referring to:
https://github.com/pandas-dev/pandas/blob/5da500af76d0031021a8e906d8f34dc3e6ded234/pandas/_libs/window/aggregations.pyx#L520
Thank you,
Bishop Brock
#### Expected Output
I expect the rolling mean of any window specified with a time period with a single data point to be equal to that data point.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.4.final.0
python-bits : 64
OS : Darwin
OS-release : 18.7.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.2+0.g7485dbe6f.dirty
numpy : 1.17.2
pytz : 2019.3
dateutil : 2.8.0
pip : 19.2.3
setuptools : 41.4.0
Cython : 0.29.13
pytest : 5.2.1
hypothesis : None
sphinx : 2.2.0
blosc : None
feather : None
xlsxwriter : 1.2.1
lxml.etree : 4.4.1
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.8.0
pandas_datareader: None
bs4 : 4.8.0
bottleneck : 1.2.1
fastparquet : None
gcsfs : None
lxml.etree : 4.4.1
matplotlib : 3.1.1
numexpr : 2.7.0
odfpy : None
openpyxl : 3.0.0
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 5.2.1
pyxlsb : None
s3fs : None
scipy : 1.3.1
sqlalchemy : 1.3.9
tables : 3.5.2
tabulate : None
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.1
numba : 0.45.1
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32761/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32761/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32762
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32762/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32762/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32762/events
|
https://github.com/pandas-dev/pandas/issues/32762
| 582,636,732
|
MDU6SXNzdWU1ODI2MzY3MzI=
| 32,762
|
TypeError: searchsorted requires compatible dtype or scalar, not Series
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33196375?v=4",
"events_url": "https://api.github.com/users/MislavSag/events{/privacy}",
"followers_url": "https://api.github.com/users/MislavSag/followers",
"following_url": "https://api.github.com/users/MislavSag/following{/other_user}",
"gists_url": "https://api.github.com/users/MislavSag/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MislavSag",
"id": 33196375,
"login": "MislavSag",
"node_id": "MDQ6VXNlcjMzMTk2Mzc1",
"organizations_url": "https://api.github.com/users/MislavSag/orgs",
"received_events_url": "https://api.github.com/users/MislavSag/received_events",
"repos_url": "https://api.github.com/users/MislavSag/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MislavSag/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MislavSag/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MislavSag"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-16T22:32:45Z
| 2020-05-20T19:06:04Z
| 2020-03-26T01:22:58Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```
x = ['1998-01-07 13:17:00', '1998-01-07 13:18:00', '1998-01-07 13:19:00', '1998-01-07 13:20:00',
'1998-01-07 13:21:00', '1998-01-07 13:22:00', '1998-01-07 13:23:00', '1998-01-07 13:24:00',
'1998-01-07 13:25:00', '1998-01-07 13:26:00']
df = pd.DataFrame(x)
df.set_index(df.iloc[:, 0], inplace=True)
df.index = pd.DatetimeIndex(df.index.values)
```
#### Problem description
I want to apply `searchsorted` function to df index:
`df.index.searchsorted(pd.Series(np.array([df.index[0], df.index.max()])))`
but it returns an error:
> TypeError: searchsorted requires compatible dtype or scalar, not Series
Why it doesn't find the nearest datetimeindex in time? I think this works with older versions of pandas.
I use the lastest version of pandas (1.0.3.)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32762/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32762/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32763
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32763/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32763/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32763/events
|
https://github.com/pandas-dev/pandas/pull/32763
| 582,651,578
|
MDExOlB1bGxSZXF1ZXN0Mzg5NTM5NDE5
| 32,763
|
CLN: simplify MultiIndex._shallow_copy
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-03-16T23:14:10Z
| 2020-03-16T23:41:43Z
| 2020-03-16T23:41:43Z
|
CONTRIBUTOR
| null |
Minor simplification of ``MultiIndex._shallow_copy``.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32763/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32763/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32763.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32763",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32763.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32763"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32764
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32764/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32764/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32764/events
|
https://github.com/pandas-dev/pandas/pull/32764
| 582,658,172
|
MDExOlB1bGxSZXF1ZXN0Mzg5NTQ0OTgz
| 32,764
|
BUG: Allow list-like in DatetimeIndex.searchsorted
|
{
"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": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-03-16T23:34:20Z
| 2020-03-26T01:25:32Z
| 2020-03-26T01:22:58Z
|
MEMBER
| null |
- [x] closes #32762
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32764/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32764/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32764.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32764",
"merged_at": "2020-03-26T01:22:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32764.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32764"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32765
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32765/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32765/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32765/events
|
https://github.com/pandas-dev/pandas/pull/32765
| 582,693,209
|
MDExOlB1bGxSZXF1ZXN0Mzg5NTczNzYz
| 32,765
|
Backport PR #32758 on branch 1.0.x (BUG: resample.agg with read-only data)
|
{
"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": "207de5",
"default": false,
"description": "resample method",
"id": 74975453,
"name": "Resample",
"node_id": "MDU6TGFiZWw3NDk3NTQ1Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Resample"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-18T18:23:41Z",
"closed_issues": 13,
"created_at": "2020-03-11T13:30:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/71",
"id": 5190829,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71/labels",
"node_id": "MDk6TWlsZXN0b25lNTE5MDgyOQ==",
"number": 71,
"open_issues": 0,
"state": "closed",
"title": "1.0.3",
"updated_at": "2020-03-18T18:23:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71"
}
| 1
| 2020-03-17T01:34:52Z
| 2020-03-17T07:57:54Z
| 2020-03-17T07:57:54Z
|
NONE
| null |
Backport PR #32758: BUG: resample.agg with read-only 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/32765/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32765/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32765.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32765",
"merged_at": "2020-03-17T07:57:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32765.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32765"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32766
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32766/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32766/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32766/events
|
https://github.com/pandas-dev/pandas/issues/32766
| 582,695,646
|
MDU6SXNzdWU1ODI2OTU2NDY=
| 32,766
|
pandas does not import with cpython master
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/199813?v=4",
"events_url": "https://api.github.com/users/tacaswell/events{/privacy}",
"followers_url": "https://api.github.com/users/tacaswell/followers",
"following_url": "https://api.github.com/users/tacaswell/following{/other_user}",
"gists_url": "https://api.github.com/users/tacaswell/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tacaswell",
"id": 199813,
"login": "tacaswell",
"node_id": "MDQ6VXNlcjE5OTgxMw==",
"organizations_url": "https://api.github.com/users/tacaswell/orgs",
"received_events_url": "https://api.github.com/users/tacaswell/received_events",
"repos_url": "https://api.github.com/users/tacaswell/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tacaswell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tacaswell/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tacaswell"
}
|
[
{
"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": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
},
{
"color": "72e24d",
"default": false,
"description": "",
"id": 1971420228,
"name": "Python 3.9",
"node_id": "MDU6TGFiZWwxOTcxNDIwMjI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Python%203.9"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 5
| 2020-03-17T01:43:52Z
| 2020-09-15T02:06:07Z
| 2020-09-15T02:06:07Z
|
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
```python
# Your code here
import pandas
```
#### Problem description
```
jupiter@21:38 ➤ ipython
Python 3.9.0a4+ (heads/master:87ec86c425, Mar 16 2020, 11:05:13)
Type 'copyright', 'credits' or 'license' for more information
IPython 8.0.0.dev -- An enhanced Interactive Python. Type '?' for help.
In [1]: import pandas
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-1-38d4b0363d82> in <module>
----> 1 import pandas
~/.virtualenvs/bleeding/lib/python3.9/site-packages/pandas/__init__.py in <module>
120 from pandas.tseries.api import infer_freq
121 from pandas.tseries import offsets
--> 123 from pandas.core.computation.api import eval
125 from pandas.core.reshape.api import (
126 concat,
127 lreshape,
(...)
138 qcut,
139 )
141 import pandas.api
~/.virtualenvs/bleeding/lib/python3.9/site-packages/pandas/core/computation/api.py in <module>
1 # flake8: noqa
----> 3 from pandas.core.computation.eval import eval
~/.virtualenvs/bleeding/lib/python3.9/site-packages/pandas/core/computation/eval.py in <module>
11 from pandas.util._validators import validate_bool_kwarg
13 from pandas.core.computation.engines import _engines
---> 14 from pandas.core.computation.expr import Expr, _parsers
15 from pandas.core.computation.parsing import tokenize_string
16 from pandas.core.computation.scope import ensure_scope
~/.virtualenvs/bleeding/lib/python3.9/site-packages/pandas/core/computation/expr.py in <module>
188 _expr_nodes = _filter_nodes(ast.expr)
189 _expr_context_nodes = _filter_nodes(ast.expr_context)
--> 190 _slice_nodes = _filter_nodes(ast.slice)
191 _boolop_nodes = _filter_nodes(ast.boolop)
192 _operator_nodes = _filter_nodes(ast.operator)
AttributeError: module 'ast' has no attribute 'slice'
In [2]:
```
```
jupiter@21:41 ➤ git describe
v1.1.0.dev0-846-g7aa3dd274
```
It looks like this is due to https://github.com/python/cpython/pull/9605 / https://bugs.python.org/issue34822 and needs to be sorted for py39
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32766/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32766/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32767
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32767/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32767/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32767/events
|
https://github.com/pandas-dev/pandas/pull/32767
| 582,702,234
|
MDExOlB1bGxSZXF1ZXN0Mzg5NTgwNzY2
| 32,767
|
REF: Implement core._algos
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 6
| 2020-03-17T02:06:48Z
| 2020-04-08T17:54:07Z
| 2020-03-19T00:19:52Z
|
MEMBER
| null |
ATM core.algorithms and core.nanops are a mish-mash in terms of what inputs they expect. This implements core._algos directory intended for guaranteed-ndarray/EA-only implementations.
For the first function to move I de-duplicated a `shift` method. Need suggestions for what to call this module.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32767/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32767/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32767.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32767",
"merged_at": "2020-03-19T00:19:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32767.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32767"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32768
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32768/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32768/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32768/events
|
https://github.com/pandas-dev/pandas/pull/32768
| 582,714,419
|
MDExOlB1bGxSZXF1ZXN0Mzg5NTkwNTQz
| 32,768
|
CLN: remove _ndarray_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": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-17T02:47:51Z
| 2020-03-19T01:30:09Z
| 2020-03-19T00:24:24Z
|
MEMBER
| null |
- [x] closes #23565
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32768/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32768/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32768.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32768",
"merged_at": "2020-03-19T00:24:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32768.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32768"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32769
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32769/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32769/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32769/events
|
https://github.com/pandas-dev/pandas/pull/32769
| 582,716,833
|
MDExOlB1bGxSZXF1ZXN0Mzg5NTkyNDE4
| 32,769
|
TYP: annotate Block/BlockManager putmask
|
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 5
| 2020-03-17T02:54:58Z
| 2020-03-22T21:01:45Z
| 2020-03-22T20:38:48Z
|
MEMBER
| null |
medium-term goal is to avoid passing Series/DataFrame objects to Block methods via BlockManager.apply
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32769/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32769/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32769.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32769",
"merged_at": "2020-03-22T20:38:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32769.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32769"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32770
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32770/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32770/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32770/events
|
https://github.com/pandas-dev/pandas/pull/32770
| 582,813,247
|
MDExOlB1bGxSZXF1ZXN0Mzg5NjcyMjc0
| 32,770
|
CLN: Consolidate numba facilities
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-03-17T07:35:10Z
| 2020-03-19T03:49:06Z
| 2020-03-19T00:23:26Z
|
MEMBER
| null |
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Precursor to https://github.com/pandas-dev/pandas/issues/31845 and other numba engine additions, creates `pandas/core/numba_.py` (open to move elsewhere) as a shared place for common numba operations like default parameters and jitting functions.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32770/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32770/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32770.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32770",
"merged_at": "2020-03-19T00:23:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32770.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32770"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32771
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32771/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32771/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32771/events
|
https://github.com/pandas-dev/pandas/pull/32771
| 582,824,460
|
MDExOlB1bGxSZXF1ZXN0Mzg5NjgxNjE5
| 32,771
|
Backport PR #32708 on branch 1.0.x (skip 32 bit linux)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-18T18:23:41Z",
"closed_issues": 13,
"created_at": "2020-03-11T13:30:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/71",
"id": 5190829,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71/labels",
"node_id": "MDk6TWlsZXN0b25lNTE5MDgyOQ==",
"number": 71,
"open_issues": 0,
"state": "closed",
"title": "1.0.3",
"updated_at": "2020-03-18T18:23:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71"
}
| 1
| 2020-03-17T07:57:50Z
| 2020-03-17T12:46:24Z
| 2020-03-17T12:45:46Z
|
NONE
| null |
Backport PR #32708: skip 32 bit linux
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32771/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32771/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32771.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32771",
"merged_at": "2020-03-17T12:45:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32771.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32771"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32772
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32772/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32772/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32772/events
|
https://github.com/pandas-dev/pandas/pull/32772
| 582,832,402
|
MDExOlB1bGxSZXF1ZXN0Mzg5Njg3OTM3
| 32,772
|
CLN: simplify MultiIndex._shallow_copy
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
}
|
[
{
"color": "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": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-03-17T08:12:32Z
| 2020-03-21T11:45:21Z
| 2020-03-19T21:30:21Z
|
CONTRIBUTOR
| null |
Minor simplification of ``MultiIndex._shallow_copy``.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32772/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32772/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32772.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32772",
"merged_at": "2020-03-19T21:30:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32772.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32772"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32773
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32773/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32773/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32773/events
|
https://github.com/pandas-dev/pandas/issues/32773
| 582,966,157
|
MDU6SXNzdWU1ODI5NjYxNTc=
| 32,773
|
DISC: Validating internal docstring presence, completeness and style
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "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": "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 | 27
| 2020-03-17T12:08:36Z
| 2021-05-13T01:29:49Z
| null |
MEMBER
| null |
We currently have guidelines/checks for docstrings https://pandas.pydata.org/docs/development/contributing_docstring.html for the api facing methods/functions following the numpydoc docstring guide https://numpydoc.readthedocs.io/en/latest/format.html. since we also use sphinx for building the on-line documentation.
Many of our internal functions don't have docstrings and this could be a barrier to new contributions. For the more complex/undocumented internals, I am concerned that this may also affect the sustainability of the project if only a handful of contributors can grok the code.
The pandas docstring guidelines could be considered too heavyweight for internal functions and therefore may be factor in the incomplete coverage of docstrings for internal functions.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32773/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32773/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32774
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32774/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32774/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32774/events
|
https://github.com/pandas-dev/pandas/issues/32774
| 583,003,695
|
MDU6SXNzdWU1ODMwMDM2OTU=
| 32,774
|
pd.to_datetime does not work.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6236646?v=4",
"events_url": "https://api.github.com/users/filipporemonato/events{/privacy}",
"followers_url": "https://api.github.com/users/filipporemonato/followers",
"following_url": "https://api.github.com/users/filipporemonato/following{/other_user}",
"gists_url": "https://api.github.com/users/filipporemonato/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/filipporemonato",
"id": 6236646,
"login": "filipporemonato",
"node_id": "MDQ6VXNlcjYyMzY2NDY=",
"organizations_url": "https://api.github.com/users/filipporemonato/orgs",
"received_events_url": "https://api.github.com/users/filipporemonato/received_events",
"repos_url": "https://api.github.com/users/filipporemonato/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/filipporemonato/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/filipporemonato/subscriptions",
"type": "User",
"url": "https://api.github.com/users/filipporemonato"
}
|
[] |
closed
| false
| null |
[] | null | 4
| 2020-03-17T13:14:05Z
| 2020-03-17T16:19:52Z
| 2020-03-17T15:52:23Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
data = pd.read_csv("Data_export.csv")
data.drop_duplicates(keep='first',inplace=True) # dropping duplicate rows
df_out = data.pivot(index='timeutc', columns='attributename', values='value') # produce correct columns with values
df_out = df_out.dropna()
print("BEFORE")
print(df_out.index)
df_out.index = pd.to_datetime(df_out.index)
print("AFTER")
print(df_out.index)
```
#### Problem description
I am importing a .csv file taken from the local meteorological data service.
The file contains data such as "humidity", "temperature", etc. together with a "dateutc" containing the timestamp of the data sample.
Pandas does not recognise the format immediately, so I explicitly call ```to_datetime```, but it does not seem to work.
Output of my file:
```
BEFORE
Index(['2018-06-06 15:10:00+02', '2018-06-06 15:20:00+02',
'2018-06-06 15:30:00+02', '2018-06-06 16:20:00+02',
'2018-06-06 16:30:00+02', '2018-06-06 17:10:00+02',
'2018-06-06 17:20:00+02', '2018-06-06 17:30:00+02',
'2018-06-06 17:40:00+02', '2018-06-06 17:50:00+02',
...
'2019-07-21 05:50:00+02', '2019-07-21 06:00:00+02',
'2019-07-21 06:10:00+02', '2019-07-21 06:20:00+02',
'2019-07-21 06:30:00+02', '2019-07-21 06:40:00+02',
'2019-07-21 06:50:00+02', '2019-07-21 07:00:00+02',
'2019-07-21 07:10:00+02', '2019-07-21 07:20:00+02'],
dtype='object', name='timeutc', length=52029)
```
This is type Object, as expected. But even after calling ```to_datetime``` it still remains Object:
```
AFTER
Index([2018-06-06 15:10:00+02:00, 2018-06-06 15:20:00+02:00,
2018-06-06 15:30:00+02:00, 2018-06-06 16:20:00+02:00,
2018-06-06 16:30:00+02:00, 2018-06-06 17:10:00+02:00,
2018-06-06 17:20:00+02:00, 2018-06-06 17:30:00+02:00,
2018-06-06 17:40:00+02:00, 2018-06-06 17:50:00+02:00,
...
2019-07-21 05:50:00+02:00, 2019-07-21 06:00:00+02:00,
2019-07-21 06:10:00+02:00, 2019-07-21 06:20:00+02:00,
2019-07-21 06:30:00+02:00, 2019-07-21 06:40:00+02:00,
2019-07-21 06:50:00+02:00, 2019-07-21 07:00:00+02:00,
2019-07-21 07:10:00+02:00, 2019-07-21 07:20:00+02:00],
dtype='object', name='timeutc', length=52029)
```
Calling ```print(type(data.index))``` gives
```
<class 'pandas.core.indexes.base.Index'>
```
#### Expected Output
I expected to have a DateTime index.
My code was working as intended before upgrading the Anaconda Interface. Somehow, without me realising it, upgrading the Anaconda Interface also upgraded Pandas to 1.0.1, and my code broke down in several places. I tried downgrading but I do not remember exactly which version of Pandas I was using before, when the code was working, but the above behaviour happens both with 1.0.1 and with 0.25.3.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 10, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 0.25.3
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 46.0.0.post20200309
Cython : 0.29.15
pytest : 5.3.5
hypothesis : 5.5.4
sphinx : 2.4.0
blosc : None
feather : None
xlsxwriter : 1.2.7
lxml.etree : 4.5.0
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.13.0
pandas_datareader: None
bs4 : 4.8.2
bottleneck : 1.3.2
fastparquet : None
gcsfs : None
lxml.etree : 4.5.0
matplotlib : 3.1.3
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : 3.6.1
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.7
</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/32774/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32774/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32775
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32775/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32775/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32775/events
|
https://github.com/pandas-dev/pandas/pull/32775
| 583,047,395
|
MDExOlB1bGxSZXF1ZXN0Mzg5ODY1MjYx
| 32,775
|
TYP: PandasObject._cache
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-03-17T14:19:12Z
| 2020-03-21T11:45:31Z
| 2020-03-19T00:52:10Z
|
CONTRIBUTOR
| null |
Move ``_cache: Dict[str, Any]`` fragment to PandasObject, where it belongs + related changes.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32775/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32775/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32775.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32775",
"merged_at": "2020-03-19T00:52:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32775.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32775"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32776
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32776/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32776/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32776/events
|
https://github.com/pandas-dev/pandas/issues/32776
| 583,070,178
|
MDU6SXNzdWU1ODMwNzAxNzg=
| 32,776
|
Crash with access violation (exit code -1073741819 (0xC0000005)) on Windows 10
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/7294792?v=4",
"events_url": "https://api.github.com/users/Mereep/events{/privacy}",
"followers_url": "https://api.github.com/users/Mereep/followers",
"following_url": "https://api.github.com/users/Mereep/following{/other_user}",
"gists_url": "https://api.github.com/users/Mereep/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Mereep",
"id": 7294792,
"login": "Mereep",
"node_id": "MDQ6VXNlcjcyOTQ3OTI=",
"organizations_url": "https://api.github.com/users/Mereep/orgs",
"received_events_url": "https://api.github.com/users/Mereep/received_events",
"repos_url": "https://api.github.com/users/Mereep/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Mereep/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mereep/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Mereep"
}
|
[
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 6
| 2020-03-17T14:51:17Z
| 2020-04-04T21:07:10Z
| 2020-04-04T21:07:10Z
|
NONE
| null |
```python
# Your code here
import pandas as pd
pd.__version__
Out[3]: '0.24.2'
t1 = {'a': 1, 'b': 1}
t2 = {'a': 2, 'b': 2}
test = [t1, t2], # note the errernous comma at the end of the line
type(test)
Out[7]: tuple
test
Out[8]: ([{'a': 1, 'b': 1}, {'a': 2, 'b': 2}],)
pd.DataFrame(test)
Process finished with exit code -1073741819 (0xC0000005)
```
Short:
```python
pd.DataFrame(tuple([[1],[2]]))
Process finished with exit code -1073741819 (0xC0000005)
```
#### Problem description
Problem was caused in my case by having an additional comma at the end of a line that caused
a list of dicts being a tuple of list of dicts which caused that behaviour.
Althought the argument should not be accepted by Pandas, Pandas should raise an appropriate Exception instead of tearing Python down.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32776/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32776/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32777
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32777/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32777/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32777/events
|
https://github.com/pandas-dev/pandas/pull/32777
| 583,125,964
|
MDExOlB1bGxSZXF1ZXN0Mzg5OTMxMDky
| 32,777
|
Backport PR #32734 on branch 1.0.x
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-18T18:23:41Z",
"closed_issues": 13,
"created_at": "2020-03-11T13:30:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/71",
"id": 5190829,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71/labels",
"node_id": "MDk6TWlsZXN0b25lNTE5MDgyOQ==",
"number": 71,
"open_issues": 0,
"state": "closed",
"title": "1.0.3",
"updated_at": "2020-03-18T18:23:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71"
}
| 0
| 2020-03-17T16:08:20Z
| 2020-04-04T20:41:41Z
| 2020-03-17T19:14:17Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32777/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32777/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32777.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32777",
"merged_at": "2020-03-17T19:14:17Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32777.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32777"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/32778
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32778/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32778/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32778/events
|
https://github.com/pandas-dev/pandas/pull/32778
| 583,140,266
|
MDExOlB1bGxSZXF1ZXN0Mzg5OTQzMjgy
| 32,778
|
CLN: .values -> ._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": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 5
| 2020-03-17T16:29:33Z
| 2020-03-26T01:04:31Z
| 2020-03-26T00:54: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/32778/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32778/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32778.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32778",
"merged_at": "2020-03-26T00:54:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32778.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32778"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/32779
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32779/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32779/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32779/events
|
https://github.com/pandas-dev/pandas/pull/32779
| 583,161,305
|
MDExOlB1bGxSZXF1ZXN0Mzg5OTYxMTE4
| 32,779
|
PERF: block-wise arithmetic for frame-with-frame
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 62
| 2020-03-17T17:01:08Z
| 2020-05-19T15:48:31Z
| 2020-05-19T13:16:14Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32779/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32779/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32779.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32779",
"merged_at": "2020-05-19T13:16:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32779.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32779"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32780
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32780/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32780/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32780/events
|
https://github.com/pandas-dev/pandas/pull/32780
| 583,195,231
|
MDExOlB1bGxSZXF1ZXN0Mzg5OTg5Nzkz
| 32,780
|
CLN: Split up Boolean array tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-03-17T17:57:07Z
| 2020-03-21T21:14:27Z
| 2020-03-21T21:09:27Z
|
MEMBER
| null |
Apologies for the size of this PR, but it looks like the ExtensionArray tests sometimes have their own directories by type, and other times all tests for the type are in a single file (e.g., https://github.com/pandas-dev/pandas/tree/master/pandas/tests/arrays/categorical vs. https://github.com/pandas-dev/pandas/blob/master/pandas/tests/arrays/test_boolean.py). I think the "whole directory for type" structure makes it easier to find and add new tests, so I'm doing that here for the Boolean tests. There shouldn't be any changes other than moving things around.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32780/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32780/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32780.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32780",
"merged_at": "2020-03-21T21:09:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32780.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32780"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32781
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32781/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32781/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32781/events
|
https://github.com/pandas-dev/pandas/pull/32781
| 583,229,230
|
MDExOlB1bGxSZXF1ZXN0MzkwMDE4NDY4
| 32,781
|
CLN: .value -> ._values outside of core/
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 5
| 2020-03-17T18:56:15Z
| 2020-03-21T21:10:05Z
| 2020-03-21T21:06:49Z
|
MEMBER
| null |
pandas.plotting I left alone
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32781/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32781/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32781.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32781",
"merged_at": "2020-03-21T21:06:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32781.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32781"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32782
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32782/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32782/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32782/events
|
https://github.com/pandas-dev/pandas/pull/32782
| 583,242,883
|
MDExOlB1bGxSZXF1ZXN0MzkwMDMwMTI4
| 32,782
|
BUG/API: prohibit dtype-changing IntervalArray.__setitem__
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "009800",
"default": false,
"description": "Interval data type",
"id": 150096370,
"name": "Interval",
"node_id": "MDU6TGFiZWwxNTAwOTYzNzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Interval"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 6
| 2020-03-17T19:21:30Z
| 2020-04-10T17:25:46Z
| 2020-04-10T16:17:34Z
|
MEMBER
| null |
- [ ] <s>closes #27147</s> Not quite
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Still needs a dedicated test, but this is also a non-trivial API change, so I want to get the ball rolling on discussion. cc @jschendel
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32782/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32782/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32782.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32782",
"merged_at": "2020-04-10T16:17:34Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32782.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32782"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32783
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32783/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32783/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32783/events
|
https://github.com/pandas-dev/pandas/pull/32783
| 583,249,088
|
MDExOlB1bGxSZXF1ZXN0MzkwMDM1NDM1
| 32,783
|
DOC: 1.0.3 release date
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-18T18:23:41Z",
"closed_issues": 13,
"created_at": "2020-03-11T13:30:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/71",
"id": 5190829,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71/labels",
"node_id": "MDk6TWlsZXN0b25lNTE5MDgyOQ==",
"number": 71,
"open_issues": 0,
"state": "closed",
"title": "1.0.3",
"updated_at": "2020-03-18T18:23:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71"
}
| 2
| 2020-03-17T19:33:00Z
| 2020-03-17T19:34:11Z
| 2020-03-17T19:33:22Z
|
CONTRIBUTOR
| 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/32783/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32783/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32783.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32783",
"merged_at": "2020-03-17T19:33:22Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32783.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32783"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/32784
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32784/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32784/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32784/events
|
https://github.com/pandas-dev/pandas/pull/32784
| 583,249,639
|
MDExOlB1bGxSZXF1ZXN0MzkwMDM1OTAz
| 32,784
|
Backport PR #32783 on branch 1.0.x (DOC: 1.0.3 release date)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-18T18:23:41Z",
"closed_issues": 13,
"created_at": "2020-03-11T13:30:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-04-15T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/71",
"id": 5190829,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71/labels",
"node_id": "MDk6TWlsZXN0b25lNTE5MDgyOQ==",
"number": 71,
"open_issues": 0,
"state": "closed",
"title": "1.0.3",
"updated_at": "2020-03-18T18:23:41Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/71"
}
| 0
| 2020-03-17T19:34:00Z
| 2020-03-17T20:52:03Z
| 2020-03-17T20:52:03Z
|
NONE
| null |
Backport PR #32783: DOC: 1.0.3 release date
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32784/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32784/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32784.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32784",
"merged_at": "2020-03-17T20:52:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32784.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32784"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32785
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32785/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32785/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32785/events
|
https://github.com/pandas-dev/pandas/issues/32785
| 583,267,032
|
MDU6SXNzdWU1ODMyNjcwMzI=
| 32,785
|
DISC: use of typing.cast
|
{
"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": "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": "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 |
[] | null | 3
| 2020-03-17T20:06:04Z
| 2020-09-26T10:14:27Z
| 2020-09-26T10:13:33Z
|
MEMBER
| null |
placeholder to address https://github.com/pandas-dev/pandas/pull/32730#discussion_r393485655
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32785/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32785/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32786
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32786/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32786/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32786/events
|
https://github.com/pandas-dev/pandas/pull/32786
| 583,293,066
|
MDExOlB1bGxSZXF1ZXN0MzkwMDcyNjE5
| 32,786
|
CLN: remove unnecessary alias
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-17T20:54:56Z
| 2020-03-17T22:13:44Z
| 2020-03-17T22:03:25Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32786/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32786/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32786.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32786",
"merged_at": "2020-03-17T22:03:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32786.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32786"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32787
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32787/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32787/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32787/events
|
https://github.com/pandas-dev/pandas/pull/32787
| 583,299,885
|
MDExOlB1bGxSZXF1ZXN0MzkwMDc4MzQ4
| 32,787
|
replaced one occurrence of `Appender` by `doc` decorator
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/61093810?v=4",
"events_url": "https://api.github.com/users/smartvinnetou/events{/privacy}",
"followers_url": "https://api.github.com/users/smartvinnetou/followers",
"following_url": "https://api.github.com/users/smartvinnetou/following{/other_user}",
"gists_url": "https://api.github.com/users/smartvinnetou/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/smartvinnetou",
"id": 61093810,
"login": "smartvinnetou",
"node_id": "MDQ6VXNlcjYxMDkzODEw",
"organizations_url": "https://api.github.com/users/smartvinnetou/orgs",
"received_events_url": "https://api.github.com/users/smartvinnetou/received_events",
"repos_url": "https://api.github.com/users/smartvinnetou/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/smartvinnetou/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/smartvinnetou/subscriptions",
"type": "User",
"url": "https://api.github.com/users/smartvinnetou"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-03-17T21:08:17Z
| 2020-03-20T22:21:11Z
| 2020-03-20T22:19:09Z
|
CONTRIBUTOR
| null |
- [X] xref #31942
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] replaces one use of `Appender` in pandas/core/generic.py with `doc`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32787/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32787/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32787.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32787",
"merged_at": "2020-03-20T22:19:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32787.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32787"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32788
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32788/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32788/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32788/events
|
https://github.com/pandas-dev/pandas/issues/32788
| 583,300,342
|
MDU6SXNzdWU1ODMzMDAzNDI=
| 32,788
|
Request: Changing default na_action of Series.map to 'ignore'
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6782404?v=4",
"events_url": "https://api.github.com/users/tsoernes/events{/privacy}",
"followers_url": "https://api.github.com/users/tsoernes/followers",
"following_url": "https://api.github.com/users/tsoernes/following{/other_user}",
"gists_url": "https://api.github.com/users/tsoernes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tsoernes",
"id": 6782404,
"login": "tsoernes",
"node_id": "MDQ6VXNlcjY3ODI0MDQ=",
"organizations_url": "https://api.github.com/users/tsoernes/orgs",
"received_events_url": "https://api.github.com/users/tsoernes/received_events",
"repos_url": "https://api.github.com/users/tsoernes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tsoernes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tsoernes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tsoernes"
}
|
[
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
}
] |
closed
| false
| null |
[] | null | 1
| 2020-03-17T21:09:05Z
| 2020-10-19T11:41:11Z
| 2020-10-19T11:41:11Z
|
NONE
| null |
Looking at a pretty big Pandas codebase, through a couple of hundred of uses of `Series.map`, I'm unable to find a single usage where the `na_action` argument is left to its default value of `None`.
How often do people really call the mapping function or dictionary with a bunch of NaNs, instead of just using `fillna`?
I propose changing the default value of `na_action` to `'ignore'`.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32788/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32788/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32789
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32789/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32789/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32789/events
|
https://github.com/pandas-dev/pandas/pull/32789
| 583,315,849
|
MDExOlB1bGxSZXF1ZXN0MzkwMDkyMDA4
| 32,789
|
TST: Define sections in pandas/conftest.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/17853006?v=4",
"events_url": "https://api.github.com/users/SaturnFromTitan/events{/privacy}",
"followers_url": "https://api.github.com/users/SaturnFromTitan/followers",
"following_url": "https://api.github.com/users/SaturnFromTitan/following{/other_user}",
"gists_url": "https://api.github.com/users/SaturnFromTitan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SaturnFromTitan",
"id": 17853006,
"login": "SaturnFromTitan",
"node_id": "MDQ6VXNlcjE3ODUzMDA2",
"organizations_url": "https://api.github.com/users/SaturnFromTitan/orgs",
"received_events_url": "https://api.github.com/users/SaturnFromTitan/received_events",
"repos_url": "https://api.github.com/users/SaturnFromTitan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SaturnFromTitan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SaturnFromTitan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SaturnFromTitan"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-03-17T21:41:09Z
| 2020-03-20T07:48:21Z
| 2020-03-20T07:48:07Z
|
CONTRIBUTOR
| null |
part of #31989
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32789/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32789/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32789.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32789",
"merged_at": "2020-03-20T07:48:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32789.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32789"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32790
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32790/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32790/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32790/events
|
https://github.com/pandas-dev/pandas/pull/32790
| 583,322,940
|
MDExOlB1bGxSZXF1ZXN0MzkwMDk4MDc4
| 32,790
|
ERR: Raise on invalid na_action in Series.map
|
{
"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": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-03-17T21:56:43Z
| 2020-03-22T00:14:03Z
| 2020-03-22T00:13:12Z
|
MEMBER
| null |
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
`Series.map` treats any `na_action` other than `"ignore"` like `None`, but it should probably raise if someone provides an invalid option:
```python
In [1]: import pandas as pd
In [2]: pd.Series([1, 2, 3]).map(lambda x: x, na_action="xxxxx")
Out[2]:
0 1
1 2
2 3
dtype: int64
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32790/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32790/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32790.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32790",
"merged_at": "2020-03-22T00:13:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32790.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32790"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32791
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32791/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32791/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32791/events
|
https://github.com/pandas-dev/pandas/pull/32791
| 583,326,524
|
MDExOlB1bGxSZXF1ZXN0MzkwMTAxMTI0
| 32,791
|
CLN: remove align kwarg from Block.where, Block.putmask
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-03-17T22:04:40Z
| 2020-03-22T00:49:39Z
| 2020-03-22T00:14:25Z
|
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/32791/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32791/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32791.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32791",
"merged_at": "2020-03-22T00:14:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32791.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32791"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/32792
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32792/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32792/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32792/events
|
https://github.com/pandas-dev/pandas/issues/32792
| 583,330,252
|
MDU6SXNzdWU1ODMzMzAyNTI=
| 32,792
|
to_datetime() throws ValueError: Cannot pass a tz argument when parsing strings with timezone information.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/412489?v=4",
"events_url": "https://api.github.com/users/empz/events{/privacy}",
"followers_url": "https://api.github.com/users/empz/followers",
"following_url": "https://api.github.com/users/empz/following{/other_user}",
"gists_url": "https://api.github.com/users/empz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/empz",
"id": 412489,
"login": "empz",
"node_id": "MDQ6VXNlcjQxMjQ4OQ==",
"organizations_url": "https://api.github.com/users/empz/orgs",
"received_events_url": "https://api.github.com/users/empz/received_events",
"repos_url": "https://api.github.com/users/empz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/empz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/empz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/empz"
}
|
[
{
"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": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 8
| 2020-03-17T22:13:16Z
| 2020-03-29T15:54:50Z
| 2020-03-29T15:54:50Z
|
NONE
| null |
I think pandas should support passing `%z` in the format but also `utc=True`. In my opinion, one thing is the format, which tells pandas how to parse the datetime string. The other argument is just telling to return the dates in UTC, no matter which timezone they were in the beginning.
Here's a repl that shows the issue: https://repl.it/@eparizzi/Pandas-todatetime-in-UTC-with-format
If you replace that simple CSV with some big 50K row time-series CSV, the call to `to_datetime` without the format takes more than 20 seconds. On the contrary, passing the format and without `utc=True` takes less than 2 seconds. Unfortunately, this doesn't seem to work properly when there are multiple timezones in the column. It simply can't set a proper dtype in this case.
So, why can't we have a way to specify the format including timezone but also specify that we want everything in datetime64(UTC)?
I've already gone over this issue: https://github.com/pandas-dev/pandas/issues/25571 but I still think this deserves a discussion.
```python
import pandas as pd
# I know the format, I want to use it so that Pandas to_datetime() runs faster.
DATETIME_FORMAT = '%m/%d/%Y %H:%M:%S.%f%z'
try:
data = ['10/11/2018 00:00:00.045-07:00',
'10/11/2018 01:00:00.045-07:00',
'10/11/2018 01:00:00.045-08:00',
'10/11/2018 02:00:00.045-08:00',
'10/11/2018 04:00:00.045-07:00',
'10/11/2018 05:00:00.045-07:00']
df = pd.DataFrame(data, columns=["Timestamp"])
# This raises "ValueError: Cannot pass a tz argument when parsing strings with timezone information."
df.Timestamp = pd.to_datetime(df.Timestamp, format=DATETIME_FORMAT, utc=True)
except ValueError as valueError:
# I don't know why a %z in the format is not compatible with utc=True. The %z is telling pandas that it needs to deal with timezones. Then, utc=True should just convert all to UTC. It shouldn't be more complicated than that I think.
print(f"ERROR: {str(valueError)}")
print("...why not?")
# This works, but it's A LOT slower when parsing a lot of rows.
df.Timestamp = pd.to_datetime(df.Timestamp, infer_datetime_format=True, utc=True)
finally:
print(df)
print(df.Timestamp.dtype)
# Expected output:
#
# Timestamp
# 0 2018-10-11 07:00:00.045000+00:00
# 1 2018-10-11 08:00:00.045000+00:00
# 2 2018-10-11 09:00:00.045000+00:00
# 3 2018-10-11 10:00:00.045000+00:00
# 4 2018-10-11 11:00:00.045000+00:00
# 5 2018-10-11 12:00:00.045000+00:00
# datetime64[ns, UTC]
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32792/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32792/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32793
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32793/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32793/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32793/events
|
https://github.com/pandas-dev/pandas/issues/32793
| 583,357,664
|
MDU6SXNzdWU1ODMzNTc2NjQ=
| 32,793
|
Aggregation does not preserve dtype when function passed in dictionary
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6782404?v=4",
"events_url": "https://api.github.com/users/tsoernes/events{/privacy}",
"followers_url": "https://api.github.com/users/tsoernes/followers",
"following_url": "https://api.github.com/users/tsoernes/following{/other_user}",
"gists_url": "https://api.github.com/users/tsoernes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tsoernes",
"id": 6782404,
"login": "tsoernes",
"node_id": "MDQ6VXNlcjY3ODI0MDQ=",
"organizations_url": "https://api.github.com/users/tsoernes/orgs",
"received_events_url": "https://api.github.com/users/tsoernes/received_events",
"repos_url": "https://api.github.com/users/tsoernes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tsoernes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tsoernes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tsoernes"
}
|
[
{
"color": "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"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
closed
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
}
| 1
| 2020-03-17T23:20:18Z
| 2021-10-29T21:58:56Z
| 2021-10-29T21:58:56Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
In [92]: df_ = pd.DataFrame([[0, 1], [0, np.nan]]).convert_dtypes()
In [93]: df_
Out[93]:
0 1
0 0 1
1 0 <NA>
In [108]: df_.groupby(0).agg('last')
Out[111]:
1
0
0 1
In [112]: df_.groupby(0).agg({1:'last'})
Out[115]:
1
0
0 1.0
In [116]: df_.groupby(0).agg('last').dtypes
Out[116]:
1 Int64
dtype: object
In [117]: df_.groupby(0).agg({1:'last'}).dtypes
Out[117]:
1 float64
dtype: object
```
#### Problem description
Aggregation does not preserve Int64 dtype when function passed in dictionary for the column.
#### Expected Output
Int64 dtype
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.5.final.0
python-bits : 64
OS : Linux
OS-release : 5.5.8-100.fc30.x86_64
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : nb_NO.UTF-8
LOCALE : nb_NO.UTF-8
pandas : 1.0.2
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 19.3.1
setuptools : 41.6.0.post20191030
Cython : 0.29.13
pytest : 5.2.2
hypothesis : None
sphinx : 2.2.1
blosc : None
feather : None
xlsxwriter : 1.2.2
lxml.etree : 4.4.1
html5lib : 1.0.1
pymysql : None
psycopg2 : 2.8.4 (dt dec pq3 ext lo64)
jinja2 : 2.10.3
IPython : 7.9.0
pandas_datareader: None
bs4 : 4.8.1
bottleneck : 1.2.1
fastparquet : None
gcsfs : None
lxml.etree : 4.4.1
matplotlib : 2.2.3
numexpr : 2.7.0
odfpy : None
openpyxl : 3.0.0
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
pytest : 5.2.2
pyxlsb : None
s3fs : None
scipy : 1.3.1
sqlalchemy : 1.3.10
tables : 3.5.2
tabulate : 0.8.5
xarray : None
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.2
numba : 0.46.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32793/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32793/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32794
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32794/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32794/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32794/events
|
https://github.com/pandas-dev/pandas/pull/32794
| 583,369,314
|
MDExOlB1bGxSZXF1ZXN0MzkwMTM3NDky
| 32,794
|
BLD: Suppressing errors while compling pandas/_libs/groupby
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-03-17T23:52:40Z
| 2020-03-20T00:05:35Z
| 2020-03-19T00:25:33Z
|
MEMBER
| null |
- [x] ref #32163
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
This are the errors that this PR is getting rid of:
```
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_116group_last’:
pandas/_libs/groupby.c:37458:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
37458 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_118group_last’:
pandas/_libs/groupby.c:38233:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
38233 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_120group_last’:
pandas/_libs/groupby.c:39008:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
39008 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_122group_last’:
pandas/_libs/groupby.c:39781:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
39781 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_124group_last’:
pandas/_libs/groupby.c:40563:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
40563 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_128group_nth’:
pandas/_libs/groupby.c:41999:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
41999 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_130group_nth’:
pandas/_libs/groupby.c:42820:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
42820 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_132group_nth’:
pandas/_libs/groupby.c:43641:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
43641 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_134group_nth’:
pandas/_libs/groupby.c:44460:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
44460 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_136group_nth’:
pandas/_libs/groupby.c:45288:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
45288 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_152group_max’:
pandas/_libs/groupby.c:55168:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
55168 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_154group_max’:
pandas/_libs/groupby.c:55970:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
55970 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_156group_max’:
pandas/_libs/groupby.c:56772:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
56772 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_158group_max’:
pandas/_libs/groupby.c:57568:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
57568 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_162group_min’:
pandas/_libs/groupby.c:58985:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
58985 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_164group_min’:
pandas/_libs/groupby.c:59784:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
59784 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_166group_min’:
pandas/_libs/groupby.c:60583:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
60583 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
| ^~
pandas/_libs/groupby.c: In function ‘__pyx_pf_6pandas_5_libs_7groupby_168group_min’:
pandas/_libs/groupby.c:61376:30: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
61376 | __pyx_t_3 = ((!((__pyx_t_2 == __pyx_t_1) != 0)) != 0);
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32794/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32794/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32794.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32794",
"merged_at": "2020-03-19T00:25:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32794.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32794"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32795
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32795/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32795/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32795/events
|
https://github.com/pandas-dev/pandas/pull/32795
| 583,383,648
|
MDExOlB1bGxSZXF1ZXN0MzkwMTQ5NzIz
| 32,795
|
BLD: Suppressing warnings when compiling pandas/_libs/writers
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-03-18T00:36:35Z
| 2020-03-18T09:44:28Z
| 2020-03-18T02:35:10Z
|
MEMBER
| null |
- [x] ref #32163
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
---
This is the error that this PR is getting rid of:
```
pandas/_libs/writers.c: In function ‘__pyx_pw_6pandas_5_libs_7writers_1write_csv_rows’:
pandas/_libs/writers.c:3435:15: warning: ‘__pyx_v_j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
3435 | __pyx_t_1 = (__pyx_v_j + 1);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~
pandas/_libs/writers.c:2911:14: note: ‘__pyx_v_j’ was declared here
2911 | Py_ssize_t __pyx_v_j;
| ^~~~~~~~~
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32795/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32795/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32795.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32795",
"merged_at": "2020-03-18T02:35:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32795.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32795"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32796
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32796/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32796/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32796/events
|
https://github.com/pandas-dev/pandas/pull/32796
| 583,385,125
|
MDExOlB1bGxSZXF1ZXN0MzkwMTUwOTQw
| 32,796
|
BUG: created check and warning for merging dataframes on unequal inde…
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/37227058?v=4",
"events_url": "https://api.github.com/users/SeeminSyed/events{/privacy}",
"followers_url": "https://api.github.com/users/SeeminSyed/followers",
"following_url": "https://api.github.com/users/SeeminSyed/following{/other_user}",
"gists_url": "https://api.github.com/users/SeeminSyed/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SeeminSyed",
"id": 37227058,
"login": "SeeminSyed",
"node_id": "MDQ6VXNlcjM3MjI3MDU4",
"organizations_url": "https://api.github.com/users/SeeminSyed/orgs",
"received_events_url": "https://api.github.com/users/SeeminSyed/received_events",
"repos_url": "https://api.github.com/users/SeeminSyed/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SeeminSyed/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeeminSyed/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SeeminSyed"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-03-18T00:41:29Z
| 2020-05-22T10:52:20Z
| 2020-05-22T10:51:43Z
|
NONE
| null |
…x levels (#13094)
- [ ] closes #13094
- [ ] tests added / passed
- [ ] warn users when merging between different index levels
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32796/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32796/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32796.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32796",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32796.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32796"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32797
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32797/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32797/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32797/events
|
https://github.com/pandas-dev/pandas/pull/32797
| 583,387,686
|
MDExOlB1bGxSZXF1ZXN0MzkwMTUzMDU5
| 32,797
|
Avoid bare pytest.raises in indexes/categorical/test_indexing.py
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/15008772?v=4",
"events_url": "https://api.github.com/users/Vlek/events{/privacy}",
"followers_url": "https://api.github.com/users/Vlek/followers",
"following_url": "https://api.github.com/users/Vlek/following{/other_user}",
"gists_url": "https://api.github.com/users/Vlek/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Vlek",
"id": 15008772,
"login": "Vlek",
"node_id": "MDQ6VXNlcjE1MDA4Nzcy",
"organizations_url": "https://api.github.com/users/Vlek/orgs",
"received_events_url": "https://api.github.com/users/Vlek/received_events",
"repos_url": "https://api.github.com/users/Vlek/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Vlek/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Vlek/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Vlek"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-03-18T00:49:39Z
| 2020-03-19T13:41:03Z
| 2020-03-19T10:57:50Z
|
CONTRIBUTOR
| null |
* [x] ref #30999
* [x] tests added / passed
* [x] passes `black pandas`
* [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32797/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32797/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32797.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32797",
"merged_at": "2020-03-19T10:57:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32797.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32797"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32798
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32798/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32798/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32798/events
|
https://github.com/pandas-dev/pandas/pull/32798
| 583,398,516
|
MDExOlB1bGxSZXF1ZXN0MzkwMTYxNzgx
| 32,798
|
BUG/API: _values_for_factorize/_from_factorized round-trip
|
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-03-18T01:26:05Z
| 2021-11-20T23:21:48Z
| 2020-04-01T23:14:48Z
|
MEMBER
| null |
- [x] closes #32673
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
having this round-trip-ability is necessary for implementing an efficient general-case broadcast_to/tile compat method.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32798/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32798/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32798.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32798",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32798.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32798"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32799
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32799/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32799/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32799/events
|
https://github.com/pandas-dev/pandas/pull/32799
| 583,404,922
|
MDExOlB1bGxSZXF1ZXN0MzkwMTY3MDMy
| 32,799
|
CLN: remove DatetimeLikeArray._add_delta
|
{
"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": "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"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-18T01:47:10Z
| 2020-03-19T21:51:33Z
| 2020-03-19T21:15:54Z
|
MEMBER
| null |
Ultimately we want to 1) avoid using _from_sequence (so we can make that stricter in what it accepts) and 2) be more careful about when we use `freq="infer"`. Splitting up the cases handled by _add_delta will make this more feasible.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32799/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32799/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32799.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32799",
"merged_at": "2020-03-19T21:15:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32799.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32799"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32800
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32800/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32800/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32800/events
|
https://github.com/pandas-dev/pandas/issues/32800
| 583,526,266
|
MDU6SXNzdWU1ODM1MjYyNjY=
| 32,800
|
Groupby converts None to NaN
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/14983438?v=4",
"events_url": "https://api.github.com/users/BayerSe/events{/privacy}",
"followers_url": "https://api.github.com/users/BayerSe/followers",
"following_url": "https://api.github.com/users/BayerSe/following{/other_user}",
"gists_url": "https://api.github.com/users/BayerSe/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/BayerSe",
"id": 14983438,
"login": "BayerSe",
"node_id": "MDQ6VXNlcjE0OTgzNDM4",
"organizations_url": "https://api.github.com/users/BayerSe/orgs",
"received_events_url": "https://api.github.com/users/BayerSe/received_events",
"repos_url": "https://api.github.com/users/BayerSe/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/BayerSe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/BayerSe/subscriptions",
"type": "User",
"url": "https://api.github.com/users/BayerSe"
}
|
[
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, 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": "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": "2020-05-30T15:21:05Z",
"closed_issues": 94,
"created_at": "2020-03-19T21:32:28Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-06-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/72",
"id": 5219206,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72/labels",
"node_id": "MDk6TWlsZXN0b25lNTIxOTIwNg==",
"number": 72,
"open_issues": 0,
"state": "closed",
"title": "1.0.4",
"updated_at": "2020-06-24T17:57:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/72"
}
| 5
| 2020-03-18T07:33:14Z
| 2020-05-26T09:36:47Z
| 2020-04-17T02:53:39Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
df = pd.DataFrame.from_dict({
'id': ['a'],
'value': [None]
})
df_grouped = df.groupby('id', as_index=False).first()
print(df)
print(df_grouped)
```
Output:
```python
id value
0 a None
id value
0 a NaN
```
#### Problem description
Since at least version 1.0.2, the type of `df_grouped` is `NaN`. In Version 0.25.3, the type was `None`.
This breaks my code since I later check for this value using `if var is None`, which is False when `var` is `NaN` instead of `None`.
#### Expected Output
```python
id value
0 a None
id value
0 a None
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.1.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-88-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.2
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 46.0.0
Cython : None
pytest : 5.4.1
hypothesis : None
sphinx : 2.4.4
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.2.0
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 5.4.1
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.15
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32800/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32800/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32801
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32801/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32801/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32801/events
|
https://github.com/pandas-dev/pandas/pull/32801
| 583,654,406
|
MDExOlB1bGxSZXF1ZXN0MzkwMzc0MTc0
| 32,801
|
CLN/STY: pandas/_libs/internals.pyx
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "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": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-18T11:17:06Z
| 2020-03-26T01:11:16Z
| 2020-03-26T01:02:25Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32801/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32801/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32801.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32801",
"merged_at": "2020-03-26T01:02:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32801.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32801"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32802
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32802/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32802/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32802/events
|
https://github.com/pandas-dev/pandas/issues/32802
| 583,686,032
|
MDU6SXNzdWU1ODM2ODYwMzI=
| 32,802
|
Consistent dtype output for element wise operations on empty dataframes
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11423539?v=4",
"events_url": "https://api.github.com/users/benmatwil/events{/privacy}",
"followers_url": "https://api.github.com/users/benmatwil/followers",
"following_url": "https://api.github.com/users/benmatwil/following{/other_user}",
"gists_url": "https://api.github.com/users/benmatwil/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/benmatwil",
"id": 11423539,
"login": "benmatwil",
"node_id": "MDQ6VXNlcjExNDIzNTM5",
"organizations_url": "https://api.github.com/users/benmatwil/orgs",
"received_events_url": "https://api.github.com/users/benmatwil/received_events",
"repos_url": "https://api.github.com/users/benmatwil/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/benmatwil/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/benmatwil/subscriptions",
"type": "User",
"url": "https://api.github.com/users/benmatwil"
}
|
[
{
"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": "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": "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": "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"
}
] |
open
| false
| null |
[] | null | 1
| 2020-03-18T12:16:14Z
| 2021-07-30T03:46:19Z
| null |
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
s = pd.Series([], dtype='datetime64[ns, UTC]')
df = pd.concat([s, s], axis=1) # empty dataframe of two columns of datetime dtype
# want the minimum of the two datetime columns element wise
min_dates = df.min(axis=1) # output series is of dtype float64
# it's fine if dataframe is non-empty
import pandas as pd
s = pd.Series(pd.to_datetime([f'2020-01-0{i}' for i in range(1, 10)], utc=True))
df = pd.concat([s, s], axis=1) # non-empty dataframe of two columns of datetime dtype
min_dates = df.min(axis=1) # output series is of dtype datetime64[ns, UTC]
```
#### Problem description
When dataframe is empty, doing a `.min(axis=1)` outputs a series of dtype `float64` even though all columns were dtype `datetime64`.
Should this be consitent on dtypes and output `min_dates` with dtype `datetime64[ns, UTC]`.
This is only an issue when the dataframe is empty.
If the dataframe is not empty, the dtype is conserved and min_dates outputs with dtype `datetime64[ns, UTC]`.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.3.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-862.3.3.el7.x86_64
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.0.2
numpy : 1.16.5
pytz : 2019.3
dateutil : 2.8.0
pip : 20.0.2
setuptools : 41.4.0
Cython : 0.29.13
pytest : 5.0.1
hypothesis : None
sphinx : 2.1.2
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : 2.8.3 (dt dec pq3 ext lo64)
jinja2 : 2.10.1
IPython : 7.7.0
pandas_datareader: None
bs4 : 4.8.1
bottleneck : None
fastparquet : None
gcsfs : 0.3.1
lxml.etree : None
matplotlib : 3.1.1
numexpr : 2.6.9
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.15.1
pytables : None
pytest : 5.0.1
pyxlsb : None
s3fs : None
scipy : 1.3.1
sqlalchemy : 1.3.8
tables : 3.5.2
tabulate : None
xarray : 0.14.0
xlrd : 1.2.0
xlwt : None
xlsxwriter : None
numba : 0.46.0
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32802/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32802/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32803
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32803/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32803/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32803/events
|
https://github.com/pandas-dev/pandas/issues/32803
| 583,723,838
|
MDU6SXNzdWU1ODM3MjM4Mzg=
| 32,803
|
NamedAgg error: aggregate() missing 1 required positional argument: 'func'
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/17307?v=4",
"events_url": "https://api.github.com/users/brylie/events{/privacy}",
"followers_url": "https://api.github.com/users/brylie/followers",
"following_url": "https://api.github.com/users/brylie/following{/other_user}",
"gists_url": "https://api.github.com/users/brylie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/brylie",
"id": 17307,
"login": "brylie",
"node_id": "MDQ6VXNlcjE3MzA3",
"organizations_url": "https://api.github.com/users/brylie/orgs",
"received_events_url": "https://api.github.com/users/brylie/received_events",
"repos_url": "https://api.github.com/users/brylie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/brylie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/brylie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/brylie"
}
|
[
{
"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
| null |
[] |
{
"closed_at": null,
"closed_issues": 1203,
"created_at": "2021-06-09T18:28:42Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2021-12-31T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/86",
"id": 6840253,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86/labels",
"node_id": "MDk6TWlsZXN0b25lNjg0MDI1Mw==",
"number": 86,
"open_issues": 77,
"state": "open",
"title": "1.4",
"updated_at": "2021-11-21T02:34:31Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/86"
}
| 5
| 2020-03-18T13:21:30Z
| 2021-08-17T16:15:27Z
| 2021-08-17T16:15:27Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
resampled_bookings = bookings.resample('BMS').agg(
unique_identity_ids=pd.NamedAgg(column="identity_id", aggfunc=pd.Series.nunique),
booking_count=pd.NamedAgg(column="booking_id", aggfunc=pd.Series.count),
booking_distance=pd.NamedAgg(column="distance_m", aggfunc=pd.Series.sum)
)
```
#### Problem description
This error prevents me from aggregating data and (re)naming columns at the same time. Instead, it is necessary to use the following approach, which isn't altogether bad:
```py
resampled_bookings = bookings.resample('BMS').agg({
"booking_id": "count",
"distance_m": sum,
"identity_id": pd.Series.nunique
})
resampled_bookings.rename(columns={
"booking_id": "booking_count",
"distance_m": "booking_distance_m",
"identity_id": "unique_identity_ids"
}, inplace=True)
```
#### Expected Output
The aggregate function would produce a new DataFrame with the following columns:
- booking_count
- booking_distance_m
- unique_identity_ids
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.5.final.0
python-bits : 64
OS : Linux
OS-release : 5.3.0-19-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 18.1
setuptools : 40.8.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.2.0
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
</details>
|
{
"+1": 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/32803/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32803/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32804
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32804/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32804/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32804/events
|
https://github.com/pandas-dev/pandas/pull/32804
| 583,724,201
|
MDExOlB1bGxSZXF1ZXN0MzkwNDMyNTA0
| 32,804
|
PERF: Using Numpy C-API when calling `np.arange`
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 6
| 2020-03-18T13:22:04Z
| 2020-03-18T23:51:12Z
| 2020-03-18T19:24:43Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
---
Somewhat of a follow up to #32681.
---
I could not benchmark this change as this function is ```cdef``` and not ```def``` or ```cpdef``` (I would also love if someone could give me a tip on how to benchmark ```cdef``` functions from an ```Ipython``` shell for example).
What I did what I ran ```cython -a pandas/_libs/internals.pyx``` and took a screenshot of the before and after.
---
#### Master:

---
#### PR:

---
Also, is there a reason not to replace every call of ```np.arange``` with ```cnp.PyArray_Arange```? (cython files only)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32804/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32804/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32804.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32804",
"merged_at": "2020-03-18T19:24:43Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32804.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32804"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32805
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32805/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32805/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32805/events
|
https://github.com/pandas-dev/pandas/issues/32805
| 583,739,949
|
MDU6SXNzdWU1ODM3Mzk5NDk=
| 32,805
|
RecursionError with pd.DataFrame.from_records
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1150402?v=4",
"events_url": "https://api.github.com/users/kdebrab/events{/privacy}",
"followers_url": "https://api.github.com/users/kdebrab/followers",
"following_url": "https://api.github.com/users/kdebrab/following{/other_user}",
"gists_url": "https://api.github.com/users/kdebrab/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kdebrab",
"id": 1150402,
"login": "kdebrab",
"node_id": "MDQ6VXNlcjExNTA0MDI=",
"organizations_url": "https://api.github.com/users/kdebrab/orgs",
"received_events_url": "https://api.github.com/users/kdebrab/received_events",
"repos_url": "https://api.github.com/users/kdebrab/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kdebrab/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kdebrab/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kdebrab"
}
|
[
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-03-18T13:45:59Z
| 2020-07-17T10:37:14Z
| 2020-07-17T10:37:14Z
|
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
index = pd.CategoricalIndex([pd.Interval(-20, -10), pd.Interval(-10, 0), pd.Interval(0, 10)])
series_of_dicts = pd.Series([{'a': 1}, {'a': 2}, {'b': 3}], index=index)
frame = pd.DataFrame.from_records(series_of_dicts, index=index)
```
raises:
```
RecursionError: maximum recursion depth exceeded in comparison
```
#### Problem description
Though using `pd.DataFrame.from_records` with `pd.Series` objects is not explicitly supported, it does work in most of the cases. Only in case the index of the Series is a CategoricalIndex of Intervals, it suddenly doesn't work anymore.
E.g. the following works fine:
```python
series_of_dicts2 = pd.Series([{'a': 1}, {'a': 2}, {'b': 3}])
frame = pd.DataFrame.from_records(series_of_dicts2, index=index)
```
And it even works when `series_of_dicts2.index` is a CategoricalIndex _or_ a list of Intervals, but not when it is CategoricalIndex _of_ Intervals. It is especially strange because the index of `series_of_dicts2` is not even used for the output.
#### Expected Output
The same as when the following workaround is used:
```python
frame = pd.DataFrame.from_records(series_of_dicts.values, index=index)
Out[2]:
a b
(-20, -10] 1.0 NaN
(-10, 0] 2.0 NaN
(0, 10] NaN 3.0
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.8.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 78 Stepping 3, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.0.2
numpy : 1.18.2
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 40.6.2
Cython : 0.29.4
pytest : 5.3.5
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : 1.2.8
lxml.etree : 4.5.0
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.13.0
pandas_datareader: None
bs4 : 4.6.1
bottleneck : 1.3.1
fastparquet : None
gcsfs : None
lxml.etree : 4.5.0
matplotlib : 3.2.0
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 5.3.5
pyxlsb : None
s3fs : 0.2.1
scipy : 1.4.1
sqlalchemy : 1.3.15
tables : None
tabulate : 0.8.6
xarray : 0.15.0
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.8
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32805/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32805/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32806
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32806/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32806/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32806/events
|
https://github.com/pandas-dev/pandas/issues/32806
| 583,795,350
|
MDU6SXNzdWU1ODM3OTUzNTA=
| 32,806
|
ENH: Allow regex matching in `fullmatch` mode
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/12436991?v=4",
"events_url": "https://api.github.com/users/frreiss/events{/privacy}",
"followers_url": "https://api.github.com/users/frreiss/followers",
"following_url": "https://api.github.com/users/frreiss/following{/other_user}",
"gists_url": "https://api.github.com/users/frreiss/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/frreiss",
"id": 12436991,
"login": "frreiss",
"node_id": "MDQ6VXNlcjEyNDM2OTkx",
"organizations_url": "https://api.github.com/users/frreiss/orgs",
"received_events_url": "https://api.github.com/users/frreiss/received_events",
"repos_url": "https://api.github.com/users/frreiss/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/frreiss/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/frreiss/subscriptions",
"type": "User",
"url": "https://api.github.com/users/frreiss"
}
|
[
{
"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": "b60205",
"default": false,
"description": "Internal Consistency of API/Behavior",
"id": 1741841389,
"name": "API - Consistency",
"node_id": "MDU6TGFiZWwxNzQxODQxMzg5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-03-18T15:05:54Z
| 2020-03-24T21:33:02Z
| 2020-03-24T21:33:02Z
|
CONTRIBUTOR
| null |
#### Problem description
`Series.str` contains methods for all the regular expression matching modes in the `re` package except for `re.fullmatch()`. `fullmatch` only returns matches that cover the entire input string, unlike `match`, which also returns matches that start at the beginning of the string but do not cover the complete string.
One can work around the lack of `fullmatch` by round-tripping to/from numpy arrays and using `np.vectorize`, i.e.
```python
>>> s = pd.Series(["foo", "bar", "foobar"])
>>> my_regex = "foo"
>>> import re
>>> import numpy as np
>>> compiled_regex = re.compile(my_regex)
>>> regex_f = np.vectorize(lambda s: compiled_regex.fullmatch(s) is not None)
>>> matches_array = regex_f(s.values)
>>> matches_series = pd.Series(matches_array)
>>> matches_series
0 True
1 False
2 False
dtype: bool
```
but it would be more convenient for users if `fullmatch` was built in.
The `fullmatch` method was added to the `re` package in Python 3.4. I think that the reason this method wasn't in previous versions of Pandas was that older versions of Python don't have `re.fullmatch`. As of Pandas 1.0, all the supported versions of Python now have `fullmatch`.
I have a pull request ready that adds this functionality. After my changes, the `Series.str` namespace gets a new method `fullmatch` that evaluates `re.fullmatch` over the series. For example:
```python
>>> s = pd.Series(["foo", "bar", "foobar"])
>>> s.str.fullmatch("foo")
0 True
1 False
2 False
dtype: bool
```
[Edit: Simplified the workaround]
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32806/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32806/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32807
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32807/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32807/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32807/events
|
https://github.com/pandas-dev/pandas/pull/32807
| 583,829,988
|
MDExOlB1bGxSZXF1ZXN0MzkwNTIwNDYw
| 32,807
|
[ENH] Add "fullmatch" matching mode to Series.str [#32806]
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/12436991?v=4",
"events_url": "https://api.github.com/users/frreiss/events{/privacy}",
"followers_url": "https://api.github.com/users/frreiss/followers",
"following_url": "https://api.github.com/users/frreiss/following{/other_user}",
"gists_url": "https://api.github.com/users/frreiss/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/frreiss",
"id": 12436991,
"login": "frreiss",
"node_id": "MDQ6VXNlcjEyNDM2OTkx",
"organizations_url": "https://api.github.com/users/frreiss/orgs",
"received_events_url": "https://api.github.com/users/frreiss/received_events",
"repos_url": "https://api.github.com/users/frreiss/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/frreiss/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/frreiss/subscriptions",
"type": "User",
"url": "https://api.github.com/users/frreiss"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "String extension data type and string data",
"id": 57522093,
"name": "Strings",
"node_id": "MDU6TGFiZWw1NzUyMjA5Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Strings"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 5
| 2020-03-18T15:54:11Z
| 2020-03-24T21:33:11Z
| 2020-03-24T21:33:02Z
|
CONTRIBUTOR
| null |
- [X] closes #32806
- [X] tests added / passed
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
This is my first PR against this project, so apologies if I've missed any steps in the process. I'm assuming that I'm supposed to fill in the checklist above myself.
This pull request adds the `fullmatch` regular expression matching mode to the other modes already present under the `Series.str` namespace. For example:
```python
>>> s = pd.Series(["foo", "bar", "foobar"])
>>> s.str.fullmatch("foo")
0 True
1 False
2 False
dtype: bool
```
The `fullmatch` matching mode restricts matches to those that only match the *entire* string. Note the differences from `match`:
```python
>>> s = pd.Series(["foo", "bar", "foobar"])
>>> s.str.fullmatch("foo")
0 True
1 False
2 False
dtype: bool
>>> s.str.match("foo")
0 True
1 False
2 True
dtype: bool
```
I've also added regression tests and a "what's new" entry.
I have also opened issue #32806 to cover this new feature.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32807/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32807/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32807.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32807",
"merged_at": "2020-03-24T21:33:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32807.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32807"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32808
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32808/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32808/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32808/events
|
https://github.com/pandas-dev/pandas/pull/32808
| 583,874,203
|
MDExOlB1bGxSZXF1ZXN0MzkwNTU3MDUw
| 32,808
|
ERR: Better error message
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-03-18T17:02:44Z
| 2020-03-23T20:42:21Z
| 2020-03-18T18:08:04Z
|
MEMBER
| null |
When invalid value for pd.to_datetime or pd.to_timedelta is passed
- [x] closes #10720
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
---
Resurrection of #31118
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32808/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32808/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32808.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32808",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32808.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32808"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32809
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32809/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32809/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32809/events
|
https://github.com/pandas-dev/pandas/pull/32809
| 583,886,428
|
MDExOlB1bGxSZXF1ZXN0MzkwNTY3Mjgy
| 32,809
|
TYP: annotate to_numpy
|
{
"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": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-18T17:23:27Z
| 2020-03-18T19:32:30Z
| 2020-03-18T19:25:00Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32809/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32809/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32809.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32809",
"merged_at": "2020-03-18T19:25:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32809.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32809"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/32810
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32810/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32810/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32810/events
|
https://github.com/pandas-dev/pandas/issues/32810
| 583,903,137
|
MDU6SXNzdWU1ODM5MDMxMzc=
| 32,810
|
Not actual, please delete
|
{
"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"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-03-18T17:50:53Z
| 2020-03-18T17:59:09Z
| 2020-03-18T17:59:09Z
|
NONE
| null |
Not actual, please delete
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32810/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32810/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32811
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32811/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32811/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32811/events
|
https://github.com/pandas-dev/pandas/pull/32811
| 583,957,554
|
MDExOlB1bGxSZXF1ZXN0MzkwNjI2NDE0
| 32,811
|
Nested list multi-index fix
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/55150103?v=4",
"events_url": "https://api.github.com/users/harri471/events{/privacy}",
"followers_url": "https://api.github.com/users/harri471/followers",
"following_url": "https://api.github.com/users/harri471/following{/other_user}",
"gists_url": "https://api.github.com/users/harri471/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/harri471",
"id": 55150103,
"login": "harri471",
"node_id": "MDQ6VXNlcjU1MTUwMTAz",
"organizations_url": "https://api.github.com/users/harri471/orgs",
"received_events_url": "https://api.github.com/users/harri471/received_events",
"repos_url": "https://api.github.com/users/harri471/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/harri471/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harri471/subscriptions",
"type": "User",
"url": "https://api.github.com/users/harri471"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-03-18T19:35:29Z
| 2020-03-18T19:54:54Z
| 2020-03-18T19:54:43Z
|
NONE
| null |
- [ ] closes #14467
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32811/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32811/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32811.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32811",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32811.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32811"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32812
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32812/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32812/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32812/events
|
https://github.com/pandas-dev/pandas/pull/32812
| 583,976,252
|
MDExOlB1bGxSZXF1ZXN0MzkwNjQyMDg0
| 32,812
|
Nested list multi index (#14467)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/55150103?v=4",
"events_url": "https://api.github.com/users/harri471/events{/privacy}",
"followers_url": "https://api.github.com/users/harri471/followers",
"following_url": "https://api.github.com/users/harri471/following{/other_user}",
"gists_url": "https://api.github.com/users/harri471/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/harri471",
"id": 55150103,
"login": "harri471",
"node_id": "MDQ6VXNlcjU1MTUwMTAz",
"organizations_url": "https://api.github.com/users/harri471/orgs",
"received_events_url": "https://api.github.com/users/harri471/received_events",
"repos_url": "https://api.github.com/users/harri471/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/harri471/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harri471/subscriptions",
"type": "User",
"url": "https://api.github.com/users/harri471"
}
|
[
{
"color": "370f77",
"default": false,
"description": "DataFrame data structure",
"id": 1049312478,
"name": "DataFrame",
"node_id": "MDU6TGFiZWwxMDQ5MzEyNDc4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/DataFrame"
},
{
"color": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/pd.array Constructors",
"id": 1465286368,
"name": "Constructors",
"node_id": "MDU6TGFiZWwxNDY1Mjg2MzY4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Constructors"
}
] |
closed
| false
| null |
[] | null | 3
| 2020-03-18T20:13:50Z
| 2020-06-14T22:53:10Z
| 2020-06-14T22:53:09Z
|
NONE
| null |
- [ ] closes #14467
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32812/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32812/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32812.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32812",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32812.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32812"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32813
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32813/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32813/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32813/events
|
https://github.com/pandas-dev/pandas/pull/32813
| 583,995,362
|
MDExOlB1bGxSZXF1ZXN0MzkwNjU4MjQz
| 32,813
|
fstring format added in pandas//tests/io/test_common.py:144:
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/36984353?v=4",
"events_url": "https://api.github.com/users/mglasder/events{/privacy}",
"followers_url": "https://api.github.com/users/mglasder/followers",
"following_url": "https://api.github.com/users/mglasder/following{/other_user}",
"gists_url": "https://api.github.com/users/mglasder/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mglasder",
"id": 36984353,
"login": "mglasder",
"node_id": "MDQ6VXNlcjM2OTg0MzUz",
"organizations_url": "https://api.github.com/users/mglasder/orgs",
"received_events_url": "https://api.github.com/users/mglasder/received_events",
"repos_url": "https://api.github.com/users/mglasder/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mglasder/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mglasder/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mglasder"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-18T20:51:53Z
| 2020-03-18T22:09:51Z
| 2020-03-18T22:09:45Z
|
CONTRIBUTOR
| null |
I'm completely new to this. I hope i didn't do anything wrong here
https://github.com/pandas-dev/pandas/issues/29547
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32813/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32813/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32813.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32813",
"merged_at": "2020-03-18T22:09:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32813.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32813"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32814
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32814/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32814/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32814/events
|
https://github.com/pandas-dev/pandas/pull/32814
| 584,030,487
|
MDExOlB1bGxSZXF1ZXN0MzkwNjg3ODkz
| 32,814
|
PERF: Using Numpy C-API for left-join calls
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-03-18T22:03:46Z
| 2020-03-19T13:43:09Z
| 2020-03-19T13:40:09Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
---
#### Benchmarks:
This is the setup:
```python
import pandas as pd
df1 = pd.DataFrame(
{
"Customer_id": pd.Series([1, 2, 3, 4, 5, 6]),
"Product": pd.Series(
["Oven", "Oven", "Oven", "Television", "Television", "Television"]
),
}
)
df2 = pd.DataFrame(
{
"Customer_id": pd.Series([2, 4, 6]),
"State": pd.Series(["California", "California", "Texas"]),
}
)
```
And the ```%timeit```:
```python
pd.merge(df1, df2, on="Customer_id", how="left")
```
---
```
In [4]: %timeit pd.merge(df1, df2, on="Customer_id", how="left")
1.54 ms ± 102 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # Master
1.46 ms ± 21.2 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # PR
In [5]: %timeit pd.merge(df1, df2, on="Customer_id", how="left")
1.47 ms ± 790 ns per loop (mean ± std. dev. of 7 runs, 1000 loops each) # Master
1.45 ms ± 2.59 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # PR
In [6]: %timeit pd.merge(df1, df2, on="Customer_id", how="left")
1.47 ms ± 1.99 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # Master
1.48 ms ± 65 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) # PR
```
Since the results were so small I ran the same test several times:
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32814/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32814/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32814.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32814",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32814.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32814"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32815
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32815/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32815/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32815/events
|
https://github.com/pandas-dev/pandas/issues/32815
| 584,078,580
|
MDU6SXNzdWU1ODQwNzg1ODA=
| 32,815
|
BUG: ExtensionIndex.map doesn't handle na_action correctly
|
{
"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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
open
| false
| null |
[] | null | 0
| 2020-03-19T00:14:37Z
| 2021-07-30T03:47:48Z
| null |
MEMBER
| null |
(From `master`)
```python
import pandas as pd
idx = pd.to_datetime(["2020-01-01", None])
idx.map(lambda x: pd.Timestamp("1999-01-01"), na_action="ignore")
# DatetimeIndex(['1999-01-01', '1999-01-01'], dtype='datetime64[ns]', freq=None)
idx = pd.CategoricalIndex(["a", None], categories=["a"])
idx.map(lambda x: x, na_action="ignore")
# TypeError: map() got an unexpected keyword argument 'na_action'
```
In the `DatetimeIndex` case `idx.map` should propagate the null value instead of returning `Timestamp("1999-01-01")` since `na_action == "ignore"`, and although it isn't documented I think `CategoricalIndex.map` should allow `na_action` since the other `map` methods do.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32815/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32815/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32816
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32816/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32816/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32816/events
|
https://github.com/pandas-dev/pandas/pull/32816
| 584,105,945
|
MDExOlB1bGxSZXF1ZXN0MzkwNzUxNDEw
| 32,816
|
TST: Avoid bare pytest.raises in multiple files
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/15008772?v=4",
"events_url": "https://api.github.com/users/Vlek/events{/privacy}",
"followers_url": "https://api.github.com/users/Vlek/followers",
"following_url": "https://api.github.com/users/Vlek/following{/other_user}",
"gists_url": "https://api.github.com/users/Vlek/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Vlek",
"id": 15008772,
"login": "Vlek",
"node_id": "MDQ6VXNlcjE1MDA4Nzcy",
"organizations_url": "https://api.github.com/users/Vlek/orgs",
"received_events_url": "https://api.github.com/users/Vlek/received_events",
"repos_url": "https://api.github.com/users/Vlek/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Vlek/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Vlek/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Vlek"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-19T01:44:27Z
| 2020-03-21T17:23:32Z
| 2020-03-21T09:44:44Z
|
CONTRIBUTOR
| null |
* [x] ref #30999
* [x] tests added / passed
* [x] passes `black pandas`
* [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32816/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32816/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32816.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32816",
"merged_at": "2020-03-21T09:44:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32816.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32816"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.