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/27513 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27513/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27513/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27513/events | https://github.com/pandas-dev/pandas/pull/27513 | 470,861,872 | MDExOlB1bGxSZXF1ZXN0Mjk5NjkyMzQ3 | 27,513 | DOC: rewrite DataFrame.set_index docstring | {
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 358182... | closed | false | null | [] | null | 4 | 2019-07-22T02:22:37Z | 2019-08-02T14:43:13Z | 2019-07-31T14:13:07Z | NONE | null | The docstring for DataFrame is a little confusing about the cases it supports. Explain the 3 cases:
1. specify a column to be used as new index labels
2. pass a like-length array of new index labels
3. pass a mixed list of either, each item becoming a levels of a MultiIndex.
and clarify the meaning of `append` in this context as adding new MultiIndex 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/27513/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27513/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27513.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27513",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/27513.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27513"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27514 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27514/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27514/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27514/events | https://github.com/pandas-dev/pandas/issues/27514 | 470,870,245 | MDU6SXNzdWU0NzA4NzAyNDU= | 27,514 | Make documentation runnable on binder | {
"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"
}
] | open | false | null | [] | null | 2 | 2019-07-22T03:05:22Z | 2019-07-22T18:33:40Z | null | CONTRIBUTOR | null | I was playing around with a getting our docs runnable on binder today.
The tldr is that you can run them at https://mybinder.org/v2/gh/TomAugspurger/pandas-binder/master?filepath=build%2Fjupyter%2Fgetting_started%2F10min.ipynb
The source is at https://github.com/TomAugspurger/pandas-binder.
---
Overall, I think this is neat. It uses sphinxcontrib-jupyter to turn our (lightly modified) ReST files to Jupyter notebooks.
There are a few changes to the pandas source that I'd like to propose
1. Adding a little boilerplate to the user guide and getting started pages to link to the runnable version (see https://github.com/dask/dask-examples/blob/d7a69122d9c1c24f6583e7d46cd089cf1eb70ae8/conf.py#L49)
2. Maybe restructuring our jinja `{{ header }}` to be an explicit code block in each page (it doesn't seem to play well with `sphinxcontrib-jupyter`). I can probably make a workaround though.
Lots of things are probably broken (e.g. refs like :ref:`DataFrame`) don't resolve correctly. But I'm happy with this as a work in progress. | {
"+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/27514/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27514/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27515 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27515/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27515/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27515/events | https://github.com/pandas-dev/pandas/issues/27515 | 470,955,564 | MDU6SXNzdWU0NzA5NTU1NjQ= | 27,515 | Not sure if that's a bug: if a CSV is read and less names are given, than there are names, it creats an index | {
"avatar_url": "https://avatars.githubusercontent.com/u/52567084?v=4",
"events_url": "https://api.github.com/users/jottbele/events{/privacy}",
"followers_url": "https://api.github.com/users/jottbele/followers",
"following_url": "https://api.github.com/users/jottbele/following{/other_user}",
"gists_url": "https://api.github.com/users/jottbele/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jottbele",
"id": 52567084,
"login": "jottbele",
"node_id": "MDQ6VXNlcjUyNTY3MDg0",
"organizations_url": "https://api.github.com/users/jottbele/orgs",
"received_events_url": "https://api.github.com/users/jottbele/received_events",
"repos_url": "https://api.github.com/users/jottbele/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jottbele/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jottbele/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jottbele"
} | [
{
"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 | [] | null | 2 | 2019-07-22T08:15:14Z | 2021-07-10T18:41:17Z | 2021-07-10T18:41:17Z | NONE | null | ```
# note the , at the end of the line
raw="""
1, 0.614, -7.798, -1.465, -6.117, 3.050, 5.231,0x42ef4,
1, 0.615, -7.798, -1.465, -6.109, 3.049, 5.231,0x42f05,
1, 0.616, -7.798, -1.465, -6.097, 3.045, 5.232,0x42f15,
1, 0.615, -7.798, -1.465, -6.108, 3.048, 5.232,0x42f26,
1, 0.614, -7.798, -1.465, -6.121, 3.051, 5.230,0x42f37,
1, 0.615, -7.798, -1.465, -6.107, 3.048, 5.230,0x42f47,
1, 0.616, -7.798, -1.465, -6.100, 3.046, 5.230,0x42f58,
1, 0.614, -7.798, -1.465, -6.116, 3.049, 5.230,0x42f69,
"""
# import 1
colnames = [ 'sensor', 'x', 'y', 'z', 'azimuth', 'elevation', 'roll', 'hex']
df1= pd.read_csv(io.StringIO(raw), sep=',', names=colnames, index_col=None)
# here hex contains NaN and the first column doesn't seem to have a name (it seems to become the index):
sensor x y z azimuth elevation roll hex
1 0.614 -7.798 -1.465 -6.117 3.050 5.231 0x42ef4 NaN
1 0.615 -7.798 -1.465 -6.109 3.049 5.231 0x42f05 NaN
1 0.616 -7.798 -1.465 -6.097 3.045 5.232 0x42f15 NaN
1 0.615 -7.798 -1.465 -6.108 3.048 5.232 0x42f26 NaN
1 0.614 -7.798 -1.465 -6.121 3.051 5.230 0x42f37 NaN
1 0.615 -7.798 -1.465 -6.107 3.048 5.230 0x42f47 NaN
1 0.616 -7.798 -1.465 -6.100 3.046 5.230 0x42f58 NaN
1 0.614 -7.798 -1.465 -6.116 3.049 5.230 0x42f69 NaN
# import 2
df2= pd.read_csv(io.StringIO(raw), sep=',', names=colnames, index_col=None, usecols=range(len(colnames)))
# or which also works:
# df2= pd.read_csv(io.StringIO(raw), sep=',', names=colnames, index_col=None, index_col=False)
# here hex contains the hex string and the first column is named 'sensor', as expected:
sensor x y z azimuth elevation roll hex
0 1 0.614 -7.798 -1.465 -6.117 3.050 5.231 0x42ef4
1 1 0.615 -7.798 -1.465 -6.109 3.049 5.231 0x42f05
2 1 0.616 -7.798 -1.465 -6.097 3.045 5.232 0x42f15
3 1 0.615 -7.798 -1.465 -6.108 3.048 5.232 0x42f26
4 1 0.614 -7.798 -1.465 -6.121 3.051 5.230 0x42f37
5 1 0.615 -7.798 -1.465 -6.107 3.048 5.230 0x42f47
6 1 0.616 -7.798 -1.465 -6.100 3.046 5.230 0x42f58
7 1 0.614 -7.798 -1.465 -6.116 3.049 5.230 0x42f69
```
```python
See above
```
#### Problem description
CSV files created by excel often contain extra field separators at the end of the line. In the example above it is one. This is interpreted as if there is an empty extra column and seems to "confuse" pandas, so it shifts the column names for some strange reason and leaves the first column instead of the last column unnamed.
If I use usecols to force pandas to ignore the extra column, everything works fine.
UPDATE: I just recognized, that in the first case the first column is used for the index. So maybe the behavior is intended like this. But I guess it is not a good default, because tools like excel tend to add extra separators at the end of lines without the user having a chance to even notice it, if they don't open the generated file using an editor.
#### Expected Output
I think pandas should assign the column names from left to right, so even without usecols, the first column should be named "sensor", but in fact the second column is named "sensor" instead without usecols.
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
pd.show_versions()
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.3.final.0
python-bits : 64
OS : Linux
OS-release : 5.0.0-20-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : de_DE.UTF-8
LOCALE : de_DE.UTF-8
pandas : 0.25.0
numpy : 1.16.4
pytz : 2018.9
dateutil : 2.7.3
pip : 18.1
setuptools : 41.0.1
Cython : 0.29.2
pytest : 3.10.1
hypothesis : None
sphinx : 1.8.5
blosc : 1.7.0
feather : None
xlsxwriter : None
lxml.etree : 4.3.3
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10
IPython : 5.8.0
pandas_datareader: None
bs4 : 4.7.1
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.3.3
matplotlib : 3.0.2
numexpr : 2.6.9
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.3.0
sqlalchemy : 1.2.15
tables : 3.4.4
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27515/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27515/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27516 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27516/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27516/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27516/events | https://github.com/pandas-dev/pandas/issues/27516 | 471,026,105 | MDU6SXNzdWU0NzEwMjYxMDU= | 27,516 | Partial string indexing returns ndarray rather than Series. | {
"avatar_url": "https://avatars.githubusercontent.com/u/50142686?v=4",
"events_url": "https://api.github.com/users/anetbnd/events{/privacy}",
"followers_url": "https://api.github.com/users/anetbnd/followers",
"following_url": "https://api.github.com/users/anetbnd/following{/other_user}",
"gists_url": "https://api.github.com/users/anetbnd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/anetbnd",
"id": 50142686,
"login": "anetbnd",
"node_id": "MDQ6VXNlcjUwMTQyNjg2",
"organizations_url": "https://api.github.com/users/anetbnd/orgs",
"received_events_url": "https://api.github.com/users/anetbnd/received_events",
"repos_url": "https://api.github.com/users/anetbnd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/anetbnd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anetbnd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/anetbnd"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0b02e1",
"default": false,
"description": "Related t... | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 10 | 2019-07-22T10:50:58Z | 2019-08-05T06:40:49Z | 2019-08-04T21:54:57Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
import numpy as np
print(pd.__version__)
df_pass = pd.DataFrame(index=range(1,1000), columns=['A', 'B', 'C'])
df_pass.loc[:, :] = np.random.uniform(-100, 100, size=(len(df_pass.index), len(df_pass.columns)))
print(df_pass.loc[range(1,500), 'A'].sum(skipna=False)) # everything is fine here
df_fail = pd.DataFrame(index=pd.date_range('01-01-2005', '12-01-2006'), columns=['A', 'B', 'C'])
df_fail .loc[:, :] = np.random.uniform(-100, 100, size=(len(df_fail .index), len(df_fail .columns)))
print(df_fail .loc['2005', 'A'].sum(skipna=False)) # Here the type-error appears
```
Output:
```
0.25.0
-847.9947710494175
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-20-26bdb9fa00f7> in <module>()
10 df_fail = pd.DataFrame(index=pd.date_range('01-01-2005', '12-01-2006'), columns=['A', 'B', 'C'])
11 df_fail .loc[:, :] = np.random.uniform(-100, 100, size=(len(df_fail .index), len(df_fail .columns)))
---> 12 print(df_fail .loc['2005', 'A'].sum(skipna=False)) # Here the type-error appears
13
```
#### Problem description
Before updating from 0.24.0 to 0.25.0 everything worked fine. I can also not see, that there was an API change here. I would expect, that the second sum, works without issues.
#### Expected Output
Output (something like):
```
0.25.0
-847.9947710494175
-451.5691327012012
```
#### Output of ``pd.show_versions()``
```
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.5.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 78 Stepping 3, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 0.25.0
numpy : 1.14.3
pytz : 2018.4
dateutil : 2.7.3
pip : 19.1.1
setuptools : 39.1.0
Cython : 0.28.2
pytest : 3.10.0
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : 1.0.5
lxml.etree : 4.2.5
html5lib : 1.0.1
pymysql : None
psycopg2 : 2.7.6.1 (dt dec pq3 ext lo64)
jinja2 : 2.10
IPython : 6.4.0
pandas_datareader: None
bs4 : 4.7.1
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.2.5
matplotlib : 2.2.2
numexpr : None
odfpy : None
openpyxl : 2.6.0
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.1.0
sqlalchemy : 1.2.12
tables : None
xarray : None
xlrd : 1.1.0
xlwt : None
xlsxwriter : 1.0.5
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27516/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27516/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27517 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27517/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27517/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27517/events | https://github.com/pandas-dev/pandas/issues/27517 | 471,080,845 | MDU6SXNzdWU0NzEwODA4NDU= | 27,517 | Allow plotting backend option context without matplotlib | {
"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": "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 | [] | {
"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"
} | 8 | 2019-07-22T12:58:00Z | 2021-11-05T16:20:59Z | 2021-07-10T18:41:51Z | CONTRIBUTOR | null | Right now, using `pd.option_context` to set the backend fails on `__exit__` when matplotlib isn't installed.
```python
In [1]: import pandas as pd
In [2]: with pd.option_context('plotting.backend', 'test'):
...: pass
...:
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
~/sandbox/pandas/pandas/core/config_init.py in register_plotting_backend_cb(key)
593 try:
--> 594 import pandas.plotting._matplotlib # noqa
595 except ImportError:
~/sandbox/pandas/pandas/plotting/_matplotlib/__init__.py in <module>
2
----> 3 from pandas.plotting._matplotlib.boxplot import (
4 BoxPlot,
~/sandbox/pandas/pandas/plotting/_matplotlib/boxplot.py in <module>
3
----> 4 from matplotlib.artist import setp
5 import numpy as np
ModuleNotFoundError: No module named 'matplotlib'
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
<ipython-input-2-08ebc0f8d5ad> in <module>
1 with pd.option_context('plotting.backend', 'test'):
----> 2 pass
3
~/sandbox/pandas/pandas/_config/config.py in __exit__(self, *args)
410 if self.undo:
411 for pat, val in self.undo:
--> 412 _set_option(pat, val, silent=True)
413
414
~/sandbox/pandas/pandas/_config/config.py in _set_option(*args, **kwargs)
134 if silent:
135 with warnings.catch_warnings(record=True):
--> 136 o.cb(key)
137 else:
138 o.cb(key)
~/sandbox/pandas/pandas/core/config_init.py in register_plotting_backend_cb(key)
595 except ImportError:
596 raise ImportError(
--> 597 "matplotlib is required for plotting when the "
598 'default backend "matplotlib" is selected.'
599 )
ImportError: matplotlib is required for plotting when the default backend "matplotlib" is selected.
```
I don't believe that should raise an error. We may need to make the default option `None`, and then resole that to matplotlib later on. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27517/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27517/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27518 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27518/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27518/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27518/events | https://github.com/pandas-dev/pandas/issues/27518 | 471,109,735 | MDU6SXNzdWU0NzExMDk3MzU= | 27,518 | Remove DataFrame.append from the 10min intro | {
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 4 | 2019-07-22T13:54:52Z | 2019-08-02T12:43:47Z | 2019-08-02T12:43:47Z | CONTRIBUTOR | null | We show it https://pandas.pydata.org/pandas-docs/stable/getting_started/10min.html#append.
I don't think we should recommend it there, especially without providing context that the complexity of DataFrame.append is very different from list.append. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27518/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27518/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27519 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27519/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27519/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27519/events | https://github.com/pandas-dev/pandas/issues/27519 | 471,110,065 | MDU6SXNzdWU0NzExMTAwNjU= | 27,519 | Multiple lambdas for the same column return KeyError in DataFrameGroupBy.agg with named aggregation | {
"avatar_url": "https://avatars.githubusercontent.com/u/1969339?v=4",
"events_url": "https://api.github.com/users/badge/events{/privacy}",
"followers_url": "https://api.github.com/users/badge/followers",
"following_url": "https://api.github.com/users/badge/following{/other_user}",
"gists_url": "https://api.github.com/users/badge/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/badge",
"id": 1969339,
"login": "badge",
"node_id": "MDQ6VXNlcjE5NjkzMzk=",
"organizations_url": "https://api.github.com/users/badge/orgs",
"received_events_url": "https://api.github.com/users/badge/received_events",
"repos_url": "https://api.github.com/users/badge/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/badge/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/badge/subscriptions",
"type": "User",
"url": "https://api.github.com/users/badge"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 5 | 2019-07-22T13:55:31Z | 2020-01-04T17:27:52Z | 2019-08-30T14:47:17Z | NONE | null | #### Multiple lambdas for the same column return `KeyError` in `DataFrameGroupBy.agg`
```python
In [1]: import pandas as pd
In [2]: df = pd.DataFrame({"A": [1, 2]})
In [3]: df.groupby([1, 1]).agg(foo=('A', lambda x: x.max()), bar=('A', lambda x: x.min()))
```
```
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-58-5b7e2c8bacf8> in <module>
3 df = pd.DataFrame({"A": [1, 2]})
4
----> 5 df.groupby([1, 1]).agg(foo=('A', lambda x: x.max()), bar=("A", lambda x: x.min()))
~\AppData\Local\Continuum\anaconda3\envs\insight\lib\site-packages\pandas\core\groupby\generic.py in aggregate(self, arg, *args, **kwargs)
1453 @Appender(_shared_docs["aggregate"])
1454 def aggregate(self, arg=None, *args, **kwargs):
-> 1455 return super().aggregate(arg, *args, **kwargs)
1456
1457 agg = aggregate
~\AppData\Local\Continuum\anaconda3\envs\insight\lib\site-packages\pandas\core\groupby\generic.py in aggregate(self, func, *args, **kwargs)
262
263 if relabeling:
--> 264 result = result[order]
265 result.columns = columns
266
~\AppData\Local\Continuum\anaconda3\envs\insight\lib\site-packages\pandas\core\frame.py in __getitem__(self, key)
2979 if is_iterator(key):
2980 key = list(key)
-> 2981 indexer = self.loc._convert_to_indexer(key, axis=1, raise_missing=True)
2982
2983 # take() does not accept boolean indexers
~\AppData\Local\Continuum\anaconda3\envs\insight\lib\site-packages\pandas\core\indexing.py in _convert_to_indexer(self, obj, axis, is_setter, raise_missing)
1269 # When setting, missing keys are not allowed, even with .loc:
1270 kwargs = {"raise_missing": True if is_setter else raise_missing}
-> 1271 return self._get_listlike_indexer(obj, axis, **kwargs)[1]
1272 else:
1273 try:
~\AppData\Local\Continuum\anaconda3\envs\insight\lib\site-packages\pandas\core\indexing.py in _get_listlike_indexer(self, key, axis, raise_missing)
1076
1077 self._validate_read_indexer(
-> 1078 keyarr, indexer, o._get_axis_number(axis), raise_missing=raise_missing
1079 )
1080 return keyarr, indexer
~\AppData\Local\Continuum\anaconda3\envs\insight\lib\site-packages\pandas\core\indexing.py in _validate_read_indexer(self, key, indexer, axis, raise_missing)
1161 raise KeyError(
1162 "None of [{key}] are in the [{axis}]".format(
-> 1163 key=key, axis=self.obj._get_axis_name(axis)
1164 )
1165 )
KeyError: "None of [MultiIndex([('A', '<lambda>'),\n ('A', '<lambda>')],\n )] are in the [columns]"
```
#### Problem description
When using the new groupby aggregation with relabeling API in pandas 0.25.0, a `KeyError` is raised when the same source column is used with multiple lambdas, as in the example above. This issue isn't present when using multiple lambdas with `SeriesGroupBy`, as in [the release notes](https://pandas.pydata.org/pandas-docs/stable/whatsnew/v0.25.0.html#groupby-aggregation-with-multiple-lambdas).
@TomAugspurger notes also that in `DataFrameGroupby.aggregate`, `order` needs to be mangled too.
#### Expected Output
```python
Out[3]:
foo bar
1 2 2
```
##### Bonus related issue
If the applied function has the same name, a `SpecificationError` is raised with the message `Function names must be unique, found multiple named mean`, even though the kwargs are different:
```python
df.groupby([1, 1]).agg(mean=('A', 'mean'), another_mean=('A', 'mean'))
```
(Obviously this is a silly example, but I encountered it having defined a closure for `np.percentile` to get around the lambda issue!)
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.3.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 9, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 0.25.0
numpy : 1.16.4
pytz : 2019.1
dateutil : 2.8.0
pip : 19.1.1
setuptools : 41.0.1
Cython : None
pytest : None
hypothesis : None
sphinx : 2.0.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : 2.8.2 (dt dec pq3 ext lo64)
jinja2 : 2.10.1
IPython : 7.5.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.0
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.3.0
sqlalchemy : 1.3.3
tables : None
xarray : None
xlrd : 1.2.0
xlwt : None
xlsxwriter : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27519/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27519/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27520 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27520/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27520/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27520/events | https://github.com/pandas-dev/pandas/pull/27520 | 471,137,092 | MDExOlB1bGxSZXF1ZXN0Mjk5OTEyNjg0 | 27,520 | DOC:Remove DataFrame.append from the 10min intro | {
"avatar_url": "https://avatars.githubusercontent.com/u/43701530?v=4",
"events_url": "https://api.github.com/users/sameshl/events{/privacy}",
"followers_url": "https://api.github.com/users/sameshl/followers",
"following_url": "https://api.github.com/users/sameshl/following{/other_user}",
"gists_url": "https://api.github.com/users/sameshl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sameshl",
"id": 43701530,
"login": "sameshl",
"node_id": "MDQ6VXNlcjQzNzAxNTMw",
"organizations_url": "https://api.github.com/users/sameshl/orgs",
"received_events_url": "https://api.github.com/users/sameshl/received_events",
"repos_url": "https://api.github.com/users/sameshl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sameshl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sameshl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sameshl"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 8 | 2019-07-22T14:44:09Z | 2019-08-02T16:10:02Z | 2019-08-02T12:43:47Z | CONTRIBUTOR | null | Remove the `append` section from 10 min intro doc as complexity of that is very different than `list.append`
- [x] closes #27518
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27520/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27520/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27520.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27520",
"merged_at": "2019-08-02T12:43:47Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27520.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27520"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27521 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27521/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27521/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27521/events | https://github.com/pandas-dev/pandas/pull/27521 | 471,161,313 | MDExOlB1bGxSZXF1ZXN0Mjk5OTMyNTE5 | 27,521 | Backport PR #27510 on branch 0.25.x (BUG: Retain tz transformation in groupby.transform) | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "5319e7",
"default": false,
"description": "Timezone data d... | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 5 | 2019-07-22T15:28:18Z | 2019-07-24T11:56:59Z | 2019-07-24T11:56:58Z | NONE | null | Backport PR #27510: BUG: Retain tz transformation in groupby.transform | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27521/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27521/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27521.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27521",
"merged_at": "2019-07-24T11:56:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27521.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27521"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27522 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27522/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27522/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27522/events | https://github.com/pandas-dev/pandas/issues/27522 | 471,168,284 | MDU6SXNzdWU0NzExNjgyODQ= | 27,522 | DEPR: pandas/core | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"color": "5319e7",
"default": false,
"description": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] | open | false | null | [] | null | 26 | 2019-07-22T16:13:35Z | 2021-06-11T13:35:46Z | null | CONTRIBUTOR | null | we have a documentation note that pandas.core is private but we need an actual deprecation
see discussion starting here: https://github.com/pandas-dev/pandas/issues/27471#issuecomment-513847689 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27522/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27522/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27523 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27523/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27523/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27523/events | https://github.com/pandas-dev/pandas/pull/27523 | 471,184,650 | MDExOlB1bGxSZXF1ZXN0Mjk5OTUwMTA1 | 27,523 | CLN: refactor roll_generic to call roll_generic_with_indexer | {
"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": "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 | 1 | 2019-07-22T16:43:56Z | 2019-08-02T14:45:53Z | 2019-07-26T14:54:36Z | NONE | null | Make it possible for users to directly supply their own indexer when pandas doesn't provide what they want out of the box. This is useful for quickly doing something like "groupby" with overlapping groups (xref #26959) and/or strided rolling. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27523/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27523/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27523.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27523",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/27523.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27523"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27524 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27524/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27524/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27524/events | https://github.com/pandas-dev/pandas/issues/27524 | 471,263,665 | MDU6SXNzdWU0NzEyNjM2NjU= | 27,524 | Inconsistent SettingWithCopyError behaviour | {
"avatar_url": "https://avatars.githubusercontent.com/u/49198627?v=4",
"events_url": "https://api.github.com/users/kasparthommen/events{/privacy}",
"followers_url": "https://api.github.com/users/kasparthommen/followers",
"following_url": "https://api.github.com/users/kasparthommen/following{/other_user}",
"gists_url": "https://api.github.com/users/kasparthommen/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kasparthommen",
"id": 49198627,
"login": "kasparthommen",
"node_id": "MDQ6VXNlcjQ5MTk4NjI3",
"organizations_url": "https://api.github.com/users/kasparthommen/orgs",
"received_events_url": "https://api.github.com/users/kasparthommen/received_events",
"repos_url": "https://api.github.com/users/kasparthommen/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kasparthommen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kasparthommen/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kasparthommen"
} | [] | closed | false | null | [] | null | 9 | 2019-07-22T19:07:57Z | 2019-07-29T12:04:45Z | 2019-07-29T12:04:45Z | NONE | null | Consider the following minimal example:
```python
import pandas as pd
if __name__ == '__main__':
pd.options.mode.chained_assignment = 'raise'
# two identical data frames
df1 = pd.DataFrame(data=[[1, 2], [3, 4]], columns=['c1', 'c2'])
df2 = pd.DataFrame(data=[[1, 2], [3, 4]], columns=['c1', 'c2'])
# manipulate df1 a bit
df1 = df1[~df1.c1.isin([3])]
df1['c3'] = 'foo'
# a function doing the exact same manipulations
def f(df):
df = df[~df.c1.isin([3])]
df['c3'] = 'foo'
# call that function with df2 - boom
f(df2)
```
#### Problem description
Note that the manipulations on `df1` execute with no issues. The function call `f(df2)`, however, which does the exact same thing, fails with a SettingWithCopyError.
#### Expected Output
1. I don't see why that error should be thrown in the first place because I don't see a 'chained assignment'.
2. It's inconsistent that the behavior for df1 and df2 is different despite the same code being executed on those two identical data frames.
3. If I'm wrong and the error does indeed make sense for the function call for whatever reason then I wonder how I'm supposed to perform these manipulations in a function without the error being thrown and without unnecessarily calling `.copy()` after each manipulation step.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.7.3.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.24.2
pytest: None
pip: 19.1
setuptools: 41.0.1
Cython: None
numpy: 1.16.3
scipy: 1.2.1
pyarrow: None
xarray: None
IPython: 7.5.0
sphinx: None
patsy: None
dateutil: 2.8.0
pytz: 2019.1
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: 3.0.3
openpyxl: None
xlrd: 1.2.0
xlwt: None
xlsxwriter: None
lxml.etree: None
bs4: 4.7.1
html5lib: None
sqlalchemy: 1.3.3
pymysql: None
psycopg2: 2.8.2 (dt dec pq3 ext lo64)
jinja2: 2.10.1
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
gcsfs: 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/27524/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27524/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27525 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27525/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27525/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27525/events | https://github.com/pandas-dev/pandas/pull/27525 | 471,285,537 | MDExOlB1bGxSZXF1ZXN0MzAwMDEzNDgy | 27,525 | DEPR: NDFrame.set_axis inplace defaults to false | {
"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"
} | [] | closed | false | null | [] | null | 1 | 2019-07-22T19:49:33Z | 2019-08-02T14:45:25Z | 2019-07-25T23:50:27Z | NONE | null | https://github.com/pandas-dev/pandas/blob/76247c142893c710e970c4cf8a25d73121aa5a2b/pandas/core/generic.py#L594-L598
has been there since #20164, part of 0.21.0
With discussion of plans to deprecate similar functionality from set_index in #24046, it's time to make sure `set_axis` conforms to the rest of pandas in this. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27525/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27525/timeline | null | 1 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27525.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27525",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/27525.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27525"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27526 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27526/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27526/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27526/events | https://github.com/pandas-dev/pandas/issues/27526 | 471,367,450 | MDU6SXNzdWU0NzEzNjc0NTA= | 27,526 | Groupby Array-Type Quantiles Broken in 0.25.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/451936?v=4",
"events_url": "https://api.github.com/users/sernst/events{/privacy}",
"followers_url": "https://api.github.com/users/sernst/followers",
"following_url": "https://api.github.com/users/sernst/following{/other_user}",
"gists_url": "https://api.github.com/users/sernst/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sernst",
"id": 451936,
"login": "sernst",
"node_id": "MDQ6VXNlcjQ1MTkzNg==",
"organizations_url": "https://api.github.com/users/sernst/orgs",
"received_events_url": "https://api.github.com/users/sernst/received_events",
"repos_url": "https://api.github.com/users/sernst/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sernst/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sernst/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sernst"
} | [
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": ... | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 11 | 2019-07-22T22:28:47Z | 2020-04-23T22:29:47Z | 2019-08-22T11:28:37Z | NONE | null | #### Code Sample
```python
import pandas as pd
df = pd.DataFrame({
'category': ['A', 'A', 'A', 'A', 'A', 'A', 'B', 'B', 'B', 'B', 'B', 'B'],
'value': [1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6]
})
quantiles = df.groupby('category').quantile([0.25, 0.5, 0.75])
print(quantiles)
```
#### Problem description
In previous versions of Pandas `< 0.25.0` and in the documentation it is possible to pass an array-type of quantiles into the `DataFrameGroupBy.quantile()` method to return multiple quantile values in a single call. However, upon installation of `0.25.0` the following error results instead:
```
Traceback (most recent call last):
File "example.py", line 8, in <module>
quantiles = df.groupby('category').quantile([0.25, 0.5, 0.75])
File "/usr/local/lib/python3.7/site-packages/pandas/core/groupby/groupby.py", line 1908, in quantile
interpolation=interpolation,
File "/usr/local/lib/python3.7/site-packages/pandas/core/groupby/groupby.py", line 2248, in _get_cythonized_result
func(**kwargs) # Call func to modify indexer values in place
File "pandas/_libs/groupby.pyx", line 69
```
#### Expected Output
Using Pandas `0.24.2` the output is:
```
value
category
A 0.25 2.25
0.50 3.50
0.75 4.75
B 0.25 2.25
0.50 3.50
0.75 4.75
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.4.final.0
python-bits : 64
OS : Linux
OS-release : 4.9.125-linuxkit
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.16.4
pytz : 2019.1
dateutil : 2.8.0
pip : 19.1.1
setuptools : 41.0.1
Cython : None
pytest : 5.0.1
hypothesis : None
sphinx : 2.1.2
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : None
pandas_datareader: None
bs4 : 4.8.0
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.1
numexpr : 2.6.9
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : 0.3.0
scipy : 1.3.0
sqlalchemy : None
tables : 3.5.2
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27526/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27526/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27527 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27527/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27527/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27527/events | https://github.com/pandas-dev/pandas/pull/27527 | 471,372,850 | MDExOlB1bGxSZXF1ZXN0MzAwMDY2NDM2 | 27,527 | TYPING: type hints for core.indexing | {
"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": "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": "ea... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 5 | 2019-07-22T22:46:31Z | 2019-07-28T10:14:09Z | 2019-07-28T10:14:09Z | MEMBER | null | cc @WillAyd
Any is added in a separate commit in case we can't come to an agreement ;) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27527/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27527/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27527.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27527",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/27527.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27527"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27528 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27528/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27528/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27528/events | https://github.com/pandas-dev/pandas/issues/27528 | 471,380,441 | MDU6SXNzdWU0NzEzODA0NDE= | 27,528 | read_csv() causes S3 ListObjectsV2 AccessDenied | {
"avatar_url": "https://avatars.githubusercontent.com/u/14807744?v=4",
"events_url": "https://api.github.com/users/pmlk/events{/privacy}",
"followers_url": "https://api.github.com/users/pmlk/followers",
"following_url": "https://api.github.com/users/pmlk/following{/other_user}",
"gists_url": "https://api.github.com/users/pmlk/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/pmlk",
"id": 14807744,
"login": "pmlk",
"node_id": "MDQ6VXNlcjE0ODA3NzQ0",
"organizations_url": "https://api.github.com/users/pmlk/orgs",
"received_events_url": "https://api.github.com/users/pmlk/received_events",
"repos_url": "https://api.github.com/users/pmlk/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/pmlk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pmlk/subscriptions",
"type": "User",
"url": "https://api.github.com/users/pmlk"
} | [
{
"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 | [] | null | 4 | 2019-07-22T23:01:11Z | 2019-08-09T19:54:59Z | 2019-08-09T19:54:59Z | NONE | null | #### Code Sample
```python
import pandas as pd
import s3fs
file_1 = f"s3://my-bucket/foo.csv"
file_2 = f"s3://my-bucket/bar.csv"
fs = s3fs.S3FileSystem()
if fs.exists(file_2):
fs.rm(file_2)
# read file_1 which will be committed to the s3fs cache
df = pd.read_csv(file_1)
# copy existing file, path for file_2 is not in s3fs cache
fs.copy(file_1, file_2)
# s3fs.S3FileSystem.cachable = False # <--------------- WORKAROUND
df_ = pd.read_csv(file_2)
```
#### Problem description
The above code snippet throws a `PermissionError: Access Denied` when it shouldn't. This happens even when I use admin rights for the AWS account to which the affected bucket belongs (`{"Effect": "Allow", "Action": "*", "Resource": "*"}`).
There may actually be two issues and the above workaround fixes only one, so that the second issue doesn't affect me in my specific case.
In the background `s3fs` is used to read files directly from S3. `s3fs` uses caching. This is why, when reading `file_2` a `FileNotFoundError` is initially raised (only `file_1` is in the cache after it's been read). This initial error can be fixed with the above workaround.
Without the workaround the initial `FileNotFoundError` is handled, seemingly, to specifically address the problem caused by the caching mechanism. The next error in the traceback is: `botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied`. (My assumption is that a list operation is used in an attempt to verify that the file does, in fact, not exist, instead of relying on the cache.)
I'm not quite sure how this is possible or what exactly is going on here. There doesn't seem to be a `ListObjectsV2` action [documented by AWS](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html). But even if there was, it should be covered when using admin rights.
1. Is there a parameter for `read_csv()` that I'm missing to avoid using the `s3fs` caching mechanism?
2. Is `ListObjectsV2` a special/new/old S3 action that I need to set permissions for separately from the admin rights?
Note: I submitted a very similar [issue with dask](https://github.com/dask/dask/issues/5134) which, in parts, uses pandas under the hood. Even though for the problem described here, fixing the Access Denied issue might suffice, it may be useful to have a parameter to disable `s3fs` caching so it can be used by dask also. I didn't run into the `AccessDenied` issue with dask, so it seems fixing only that wouldn't help with the dask issue. Just something to keep in mind.
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.2.final.0
python-bits : 64
OS : Darwin
OS-release : 18.6.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.16.4
pytz : 2019.1
dateutil : 2.8.0
pip : 19.1.1
setuptools : 41.0.1
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : 0.3.0
scipy : None
sqlalchemy : None
tables : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
</details> | {
"+1": 4,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 4,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27528/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27528/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27529 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27529/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27529/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27529/events | https://github.com/pandas-dev/pandas/pull/27529 | 471,404,323 | MDExOlB1bGxSZXF1ZXN0MzAwMDc5Mjgx | 27,529 | BUG: Fix fields functions with readonly data, vaex#357 | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "0052cc",
"default": false,
"description": "pandas ob... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 4 | 2019-07-22T23:49:50Z | 2019-07-24T13:22:20Z | 2019-07-24T03:47:55Z | 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/27529/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27529/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27529.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27529",
"merged_at": "2019-07-24T03:47:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27529.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27529"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27530 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27530/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27530/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27530/events | https://github.com/pandas-dev/pandas/pull/27530 | 471,420,920 | MDExOlB1bGxSZXF1ZXN0MzAwMDg1NjQz | 27,530 | CLN: remove arrmap, closes #27251 | {
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 6 | 2019-07-23T00:25:28Z | 2019-07-23T21:39:50Z | 2019-07-23T21:14:23Z | 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/27530/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27530/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27530.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27530",
"merged_at": "2019-07-23T21:14:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27530.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27530"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/27531 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27531/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27531/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27531/events | https://github.com/pandas-dev/pandas/pull/27531 | 471,422,896 | MDExOlB1bGxSZXF1ZXN0MzAwMDg2MzI4 | 27,531 | CLN: simplify join take call | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "fb... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-07-23T00:29:55Z | 2019-07-24T13:21:25Z | 2019-07-24T11:56:26Z | MEMBER | null | We can track down the dtypes that get passed to `_get_result_indexer`, and since it is always int64/int64, we can reduce the call to `algos.take_nd` down to a direct cython call.
This removes the dependency of this module on non-cython parts of the 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/27531/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27531/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27531.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27531",
"merged_at": "2019-07-24T11:56:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27531.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27531"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27532 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27532/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27532/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27532/events | https://github.com/pandas-dev/pandas/issues/27532 | 471,441,107 | MDU6SXNzdWU0NzE0NDExMDc= | 27,532 | ModuleNotFoundError: No module named '_lzma' | {
"avatar_url": "https://avatars.githubusercontent.com/u/894474?v=4",
"events_url": "https://api.github.com/users/islander/events{/privacy}",
"followers_url": "https://api.github.com/users/islander/followers",
"following_url": "https://api.github.com/users/islander/following{/other_user}",
"gists_url": "https://api.github.com/users/islander/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/islander",
"id": 894474,
"login": "islander",
"node_id": "MDQ6VXNlcjg5NDQ3NA==",
"organizations_url": "https://api.github.com/users/islander/orgs",
"received_events_url": "https://api.github.com/users/islander/received_events",
"repos_url": "https://api.github.com/users/islander/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/islander/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/islander/subscriptions",
"type": "User",
"url": "https://api.github.com/users/islander"
} | [] | closed | false | null | [] | null | 8 | 2019-07-23T01:16:17Z | 2021-04-19T08:18:03Z | 2019-07-23T03:59:52Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import pandas
```
#### Problem description
Can't import last `pandas` release (0.25.0).
I've installed `pandas` using `pipenv`:
```
$ pipenv --three
$ pipenv shell
[pandas-lzma-error-bWkvwYXV]$ pipenv install pandas
Installing pandas...
Adding pandas to Pipfile's [packages]...
✔ Installation Succeeded
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
✔ Success!
Updated Pipfile.lock (713200)!
Installing dependencies from Pipfile.lock (713200)...
🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 5/5 — 00:00:01
```
Test import:
```
[pandas-lzma-error-bWkvwYXV]$ /usr/bin/env python
Python 3.7.1 (default, Nov 23 2018, 11:31:00)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/user/.virtualenvs/pandas-lzma-error-bWkvwYXV/lib/python3.7/site-packages/pandas/__init__.py", line 55, in <module>
from pandas.core.api import (
File "/home/user/.virtualenvs/pandas-lzma-error-bWkvwYXV/lib/python3.7/site-packages/pandas/core/api.py", line 24, in <module>
from pandas.core.groupby import Grouper, NamedAgg
File "/home/user/.virtualenvs/pandas-lzma-error-bWkvwYXV/lib/python3.7/site-packages/pandas/core/groupby/__init__.py", line 1, in <module>
from pandas.core.groupby.generic import ( # noqa: F401
File "/home/user/.virtualenvs/pandas-lzma-error-bWkvwYXV/lib/python3.7/site-packages/pandas/core/groupby/generic.py", line 44, in <module>
from pandas.core.frame import DataFrame
File "/home/user/.virtualenvs/pandas-lzma-error-bWkvwYXV/lib/python3.7/site-packages/pandas/core/frame.py", line 88, in <module>
from pandas.core.generic import NDFrame, _shared_docs
File "/home/user/.virtualenvs/pandas-lzma-error-bWkvwYXV/lib/python3.7/site-packages/pandas/core/generic.py", line 71, in <module>
from pandas.io.formats.format import DataFrameFormatter, format_percentiles
File "/home/user/.virtualenvs/pandas-lzma-error-bWkvwYXV/lib/python3.7/site-packages/pandas/io/formats/format.py", line 47, in <module>
from pandas.io.common import _expand_user, _stringify_path
File "/home/user/.virtualenvs/pandas-lzma-error-bWkvwYXV/lib/python3.7/site-packages/pandas/io/common.py", line 9, in <module>
import lzma
File "/home/user/.pyenv/versions/3.7.1/lib/python3.7/lzma.py", line 27, in <module>
from _lzma import *
ModuleNotFoundError: No module named '_lzma'
>>>
```
Downgrading to 0.24.2 fixes this issue.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.7.1.final.0
python-bits: 64
OS: Linux
OS-release: 4.15.0-55-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: ru_RU.UTF-8
LOCALE: ru_RU.UTF-8
pandas: 0.25.0
pytest: None
pip: 19.1.1
setuptools: 41.0.1
Cython: None
numpy: 1.16.4
scipy: None
pyarrow: None
xarray: None
IPython: None
sphinx: None
patsy: None
dateutil: 2.8.0
pytz: 2019.1
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml.etree: None
bs4: None
html5lib: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: None
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
gcsfs: None
None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 2,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27532/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27532/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27533 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27533/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27533/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27533/events | https://github.com/pandas-dev/pandas/pull/27533 | 471,446,224 | MDExOlB1bGxSZXF1ZXN0MzAwMDk3MTc4 | 27,533 | DEPR: remove .ix tests from tests/indexing/test_floats.py | {
"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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "53... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-07-23T01:42:23Z | 2019-07-24T11:55:49Z | 2019-07-23T21:57:21Z | 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/27533/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27533/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27533.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27533",
"merged_at": "2019-07-23T21:57:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27533.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27533"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/27534 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27534/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27534/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27534/events | https://github.com/pandas-dev/pandas/issues/27534 | 471,450,268 | MDU6SXNzdWU0NzE0NTAyNjg= | 27,534 | STY: add pandas._typing to the known_pre_core block for isort | {
"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": "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 | {
"avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4",
"events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}",
"followers_url": "https://api.github.com/users/alimcmaster1/followers",
"following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}",
"gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alimcmaster1",
"id": 16733618,
"login": "alimcmaster1",
"node_id": "MDQ6VXNlcjE2NzMzNjE4",
"organizations_url": "https://api.github.com/users/alimcmaster1/orgs",
"received_events_url": "https://api.github.com/users/alimcmaster1/received_events",
"repos_url": "https://api.github.com/users/alimcmaster1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alimcmaster1"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4",
"events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}",
"followers_url": "https://api.github.com/users/alimcmaster1/followers",
"following_url": "https://api.github.com/users/alimcmaster1/following{/other_use... | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 4 | 2019-07-23T02:02:12Z | 2019-12-23T18:09:27Z | 2019-12-23T18:09:27Z | 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/27534/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27534/timeline | null | null | null | |
https://api.github.com/repos/pandas-dev/pandas/issues/27535 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27535/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27535/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27535/events | https://github.com/pandas-dev/pandas/pull/27535 | 471,460,134 | MDExOlB1bGxSZXF1ZXN0MzAwMTA3NjI1 | 27,535 | DEPR: remove .ix from tests/indexing/test_indexing.py | {
"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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "53... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-07-23T02:48:23Z | 2019-07-24T14:00:07Z | 2019-07-24T13:01:33Z | 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/27535/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27535/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27535.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27535",
"merged_at": "2019-07-24T13:01:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27535.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27535"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/27536 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27536/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27536/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27536/events | https://github.com/pandas-dev/pandas/pull/27536 | 471,464,203 | MDExOlB1bGxSZXF1ZXN0MzAwMTEwNzQ3 | 27,536 | xfail to fix CI | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "a2bca7",
"d... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 7 | 2019-07-23T03:06:51Z | 2019-07-23T14:56:07Z | 2019-07-23T11:42:41Z | MEMBER | null | to keep the wheels running while I troubleshoot this | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27536/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27536/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27536.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27536",
"merged_at": "2019-07-23T11:42:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27536.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27536"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27537 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27537/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27537/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27537/events | https://github.com/pandas-dev/pandas/pull/27537 | 471,478,799 | MDExOlB1bGxSZXF1ZXN0MzAwMTIxOTA4 | 27,537 | TST: label-based indexing fails with certain list indexers in case of… | {
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
} | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "0b02e1",
"d... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-07-23T04:17:32Z | 2019-07-24T11:54:51Z | 2019-07-23T21:16:16Z | MEMBER | null | … mixed integers/strings columns names
- [ ] closes #14836
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [n/a ] 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/27537/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27537/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27537.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27537",
"merged_at": "2019-07-23T21:16:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27537.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27537"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27538 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27538/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27538/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27538/events | https://github.com/pandas-dev/pandas/pull/27538 | 471,523,534 | MDExOlB1bGxSZXF1ZXN0MzAwMTU2ODk3 | 27,538 | COMPAT: remove Categorical pickle compat with Pandas < 0.16 | {
"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": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
},
{
"color": "0052cc",
"... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 13 | 2019-07-23T07:12:56Z | 2019-09-19T19:57:00Z | 2019-09-19T16:06:40Z | CONTRIBUTOR | null | - [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Removes Categorical pickle compat with Pandas < 0.16.
I've added a ``categorical.pickle`` file to replace the deprecated file. It was create like this:
```python
>>> cat = pd.Categorical(['a', 'b', 'c', 'd'])
>>> pickle.dump(cat, open(<filepath>, 'wb'))
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27538/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27538/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27538.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27538",
"merged_at": "2019-09-19T16:06:40Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27538.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27538"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27539 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27539/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27539/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27539/events | https://github.com/pandas-dev/pandas/issues/27539 | 471,531,815 | MDU6SXNzdWU0NzE1MzE4MTU= | 27,539 | Dataframe construction from numba typed list | {
"avatar_url": "https://avatars.githubusercontent.com/u/7847768?v=4",
"events_url": "https://api.github.com/users/leohaim/events{/privacy}",
"followers_url": "https://api.github.com/users/leohaim/followers",
"following_url": "https://api.github.com/users/leohaim/following{/other_user}",
"gists_url": "https://api.github.com/users/leohaim/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/leohaim",
"id": 7847768,
"login": "leohaim",
"node_id": "MDQ6VXNlcjc4NDc3Njg=",
"organizations_url": "https://api.github.com/users/leohaim/orgs",
"received_events_url": "https://api.github.com/users/leohaim/received_events",
"repos_url": "https://api.github.com/users/leohaim/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/leohaim/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leohaim/subscriptions",
"type": "User",
"url": "https://api.github.com/users/leohaim"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d4c5f9",
"default": false,
"description": "Series/DataFrame/Index/p... | 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"
} | 4 | 2019-07-23T07:34:01Z | 2020-06-28T03:49:06Z | null | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
import numba
a = numba.typed.List()
a.append(1)
a.append(2)
pd.DataFrame(a)
```
raises with
```pytb
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-17-0844eae3ab56> in <module>
6 a.append(2)
7
----> 8 pd.DataFrame(a)
~/sandbox/pandas/pandas/core/frame.py in __init__(self, data, index, columns, dtype, copy)
458 mgr = arrays_to_mgr(arrays, columns, index, columns, dtype=dtype)
459 else:
--> 460 mgr = init_ndarray(data, index, columns, dtype=dtype, copy=copy)
461 else:
462 mgr = init_dict({}, index, columns, dtype=dtype)
~/sandbox/pandas/pandas/core/internals/construction.py in init_ndarray(values, index, columns, dtype, copy)
158 # by definition an array here
159 # the dtypes will be coerced to a single dtype
--> 160 values = prep_ndarray(values, copy=copy)
161
162 if dtype is not None:
~/sandbox/pandas/pandas/core/internals/construction.py in prep_ndarray(values, copy)
279 values = values.copy()
280
--> 281 if values.ndim == 1:
282 values = values.reshape((values.shape[0], 1))
283 elif values.ndim != 2:
AttributeError: 'List' object has no attribute 'ndim'
```
#### Problem description
Numba since version 0.45 provides a new typed list class that allows fast manipulation of lists in compiled code.
Construction of a pandas DataFrame from such a typed list is not straightforward, however.
First one cannot put such an object directly into the Dataframe constructor, but one has to convert it to a list or numpy array first.
Second, the conversion is slow. In the above example it takes one second on my machine if I convert the typed list of 100000 float32 values into a list and then put it into pandas. If I convert the typed list into a numpy array it takes almost 2 seconds.
Conversely, constructing a DataFrame from a conventional list or numpy array takes only about 1/100 seconds.
I wonder if it is possible to write a more efficient Dataframe constructor that uses numba typed lists as input.
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27539/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27539/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27540 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27540/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27540/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27540/events | https://github.com/pandas-dev/pandas/issues/27540 | 471,641,953 | MDU6SXNzdWU0NzE2NDE5NTM= | 27,540 | memory usage of index changes after access | {
"avatar_url": "https://avatars.githubusercontent.com/u/26743098?v=4",
"events_url": "https://api.github.com/users/jp68138743541/events{/privacy}",
"followers_url": "https://api.github.com/users/jp68138743541/followers",
"following_url": "https://api.github.com/users/jp68138743541/following{/other_user}",
"gists_url": "https://api.github.com/users/jp68138743541/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jp68138743541",
"id": 26743098,
"login": "jp68138743541",
"node_id": "MDQ6VXNlcjI2NzQzMDk4",
"organizations_url": "https://api.github.com/users/jp68138743541/orgs",
"received_events_url": "https://api.github.com/users/jp68138743541/received_events",
"repos_url": "https://api.github.com/users/jp68138743541/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jp68138743541/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jp68138743541/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jp68138743541"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "a1... | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 1 | 2019-07-23T11:29:23Z | 2019-07-23T11:41:09Z | 2019-07-23T11:40:58Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
import numpy as np
index = list(range(1000))
df = pd.DataFrame(data=np.random.rand(1000,10), index = index)
df.head()
print("This is the memory usage before accessing the DataFrame:")
print(df.memory_usage(index=True))
_ = df.loc[df.first_valid_index(),:] # Accessing the DataFrame without modifying it
print("This is the memory usage after accessing the DataFrame:")
print(df.memory_usage(index=True))
```
Output:
```
This is the memory usage before accessing the DataFrame:
Index 8000
0 8000
1 8000
2 8000
3 8000
4 8000
5 8000
6 8000
7 8000
8 8000
9 8000
dtype: int64
This is the memory usage after accessing the DataFrame:
Index 48960
0 8000
1 8000
2 8000
3 8000
4 8000
5 8000
6 8000
7 8000
8 8000
9 8000
dtype: int64
```
#### Problem description
The memory usage increases after accessing the dataframe, although the access should not modify the index at all. I expected the memory usage not to change.
#### Expected Output
```
This is the memory usage before accessing the DataFrame:
Index 8000
0 8000
1 8000
2 8000
3 8000
4 8000
5 8000
6 8000
7 8000
8 8000
9 8000
dtype: int64
This is the memory usage after accessing the DataFrame:
Index 8000
0 8000
1 8000
2 8000
3 8000
4 8000
5 8000
6 8000
7 8000
8 8000
9 8000
dtype: int64
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.7.3.final.0
python-bits: 64
OS: Linux
OS-release: 4.9.125-linuxkit
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.24.2
pytest: 5.0.1
pip: 19.1.1
setuptools: 41.0.1
Cython: 0.29.11
numpy: 1.16.4
scipy: 1.2.1
pyarrow: None
xarray: 0.12.1
IPython: 7.6.1
sphinx: None
patsy: 0.5.1
dateutil: 2.8.0
pytz: 2019.1
blosc: None
bottleneck: None
tables: 3.5.2
numexpr: 2.6.9
feather: None
matplotlib: 3.1.0
openpyxl: None
xlrd: 1.2.0
xlwt: None
xlsxwriter: 1.1.8
lxml.etree: 4.3.4
bs4: 4.7.1
html5lib: None
sqlalchemy: 1.3.5
pymysql: None
psycopg2: 2.7.6.1 (dt dec pq3 ext lo64)
jinja2: 2.10.1
s3fs: None
fastparquet: 0.3.0
pandas_gbq: None
pandas_datareader: None
gcsfs: 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/27540/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27540/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27541 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27541/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27541/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27541/events | https://github.com/pandas-dev/pandas/issues/27541 | 471,671,681 | MDU6SXNzdWU0NzE2NzE2ODE= | 27,541 | CI: failing | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 4 | 2019-07-23T12:36:26Z | 2019-07-23T19:01:01Z | 2019-07-23T19:01:01Z | CONTRIBUTOR | null | https://travis-ci.org/pandas-dev/pandas/builds/562549143
```
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/_pytest/main.py", line 213, in wrap_session
INTERNALERROR> session.exitstatus = doit(config, session) or 0
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/_pytest/main.py", line 257, in _main
INTERNALERROR> config.hook.pytest_runtestloop(session=session)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/hooks.py", line 289, in __call__
INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/manager.py", line 87, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/manager.py", line 81, in <lambda>
INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall
INTERNALERROR> return outcome.get_result()
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result
INTERNALERROR> raise ex[1].with_traceback(ex[2])
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "<remote exec>", line 67, in pytest_runtestloop
INTERNALERROR> File "<remote exec>", line 79, in run_one_test
INTERNALERROR> IndexError: list index out of range
[gw2] node down: Traceback (most recent call last):
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_base.py", line 1374, in _save
dispatch = self._dispatch[tp]
KeyError: <enum 'ExitCode'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_base.py", line 1063, in executetask
do_exec(co, loc) # noqa
File "<string>", line 1, in do_exec
File "<remote exec>", line 249, in <module>
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/hooks.py", line 289, in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/manager.py", line 87, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/manager.py", line 81, in <lambda>
firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall
return outcome.get_result()
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result
raise ex[1].with_traceback(ex[2])
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall
res = hook_impl.function(*args)
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/_pytest/main.py", line 250, in pytest_cmdline_main
return wrap_session(config, _main)
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/_pytest/main.py", line 243, in wrap_session
session=session, exitstatus=session.exitstatus
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/hooks.py", line 289, in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/manager.py", line 87, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/manager.py", line 81, in <lambda>
firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/callers.py", line 203, in _multicall
gen.send(outcome)
File "<remote exec>", line 46, in pytest_sessionfinish
File "<remote exec>", line 31, in sendevent
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_base.py", line 708, in send
self.gateway._send(Message.CHANNEL_DATA, self.id, dumps_internal(item))
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_base.py", line 1345, in dumps_internal
return _Serializer().save(obj)
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_base.py", line 1363, in save
self._save(obj)
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_base.py", line 1381, in _save
dispatch(self, obj)
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_base.py", line 1466, in save_tuple
self._save(item)
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_base.py", line 1381, in _save
dispatch(self, obj)
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_base.py", line 1462, in save_dict
self._write_setitem(key, value)
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_base.py", line 1456, in _write_setitem
self._save(value)
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_base.py", line 1381, in _save
dispatch(self, obj)
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_base.py", line 1462, in save_dict
self._write_setitem(key, value)
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_base.py", line 1456, in _write_setitem
self._save(value)
File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_base.py", line 1379, in _save
raise DumpError("can't serialize {}".format(tp))
execnet.gateway_base.DumpError: can't serialize <enum 'ExitCode'>
fReplacing crashed worker gw2
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/_pytest/main.py", line 213, in wrap_session
INTERNALERROR> session.exitstatus = doit(config, session) or 0
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/_pytest/main.py", line 257, in _main
INTERNALERROR> config.hook.pytest_runtestloop(session=session)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/hooks.py", line 289, in __call__
INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/manager.py", line 87, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/manager.py", line 81, in <lambda>
INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/callers.py", line 203, in _multicall
INTERNALERROR> gen.send(outcome)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result
INTERNALERROR> raise ex[1].with_traceback(ex[2])
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/xdist/dsession.py", line 115, in pytest_runtestloop
INTERNALERROR> self.loop_once()
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/xdist/dsession.py", line 138, in loop_once
INTERNALERROR> call(**kwargs)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/xdist/dsession.py", line 207, in worker_errordown
INTERNALERROR> self._clone_node(node)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/xdist/dsession.py", line 290, in _clone_node
INTERNALERROR> node = self.nodemanager.setup_node(spec, self.queue.put)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/xdist/workermanage.py", line 68, in setup_node
INTERNALERROR> gw = self.group.makegateway(spec)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/multi.py", line 127, in makegateway
INTERNALERROR> io = gateway_io.create_io(spec, execmodel=self.execmodel)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_io.py", line 117, in create_io
INTERNALERROR> return Popen2IOMaster(args, execmodel)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_io.py", line 20, in __init__
INTERNALERROR> self.popen = p = execmodel.PopenPiped(args)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/site-packages/execnet/gateway_base.py", line 169, in PopenPiped
INTERNALERROR> return self.subprocess.Popen(args, stdout=PIPE, stdin=PIPE)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/subprocess.py", line 729, in __init__
INTERNALERROR> restore_signals, start_new_session)
INTERNALERROR> File "/home/travis/miniconda3/envs/pandas-dev/lib/python3.6/subprocess.py", line 1295, in _execute_child
INTERNALERROR> restore_signals, start_new_session, preexec_fn)
INTERNALERROR> OSError: [Errno 12] Cannot allocate memory
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27541/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27541/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27542 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27542/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27542/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27542/events | https://github.com/pandas-dev/pandas/pull/27542 | 471,711,411 | MDExOlB1bGxSZXF1ZXN0MzAwMzA4MTcx | 27,542 | CI debug | {
"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": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 17 | 2019-07-23T13:53:36Z | 2019-07-23T22:02:44Z | 2019-07-23T19:01:01Z | CONTRIBUTOR | null | Closes https://github.com/pandas-dev/pandas/issues/27541 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27542/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27542/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27542.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27542",
"merged_at": "2019-07-23T19:01:00Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27542.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27542"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27543 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27543/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27543/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27543/events | https://github.com/pandas-dev/pandas/issues/27543 | 471,813,958 | MDU6SXNzdWU0NzE4MTM5NTg= | 27,543 | panda 0.25.0 no module named _lzma | {
"avatar_url": "https://avatars.githubusercontent.com/u/19655677?v=4",
"events_url": "https://api.github.com/users/selvathiruarul/events{/privacy}",
"followers_url": "https://api.github.com/users/selvathiruarul/followers",
"following_url": "https://api.github.com/users/selvathiruarul/following{/other_user}",
"gists_url": "https://api.github.com/users/selvathiruarul/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/selvathiruarul",
"id": 19655677,
"login": "selvathiruarul",
"node_id": "MDQ6VXNlcjE5NjU1Njc3",
"organizations_url": "https://api.github.com/users/selvathiruarul/orgs",
"received_events_url": "https://api.github.com/users/selvathiruarul/received_events",
"repos_url": "https://api.github.com/users/selvathiruarul/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/selvathiruarul/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/selvathiruarul/subscriptions",
"type": "User",
"url": "https://api.github.com/users/selvathiruarul"
} | [] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 8 | 2019-07-23T16:56:57Z | 2019-09-02T10:14:02Z | 2019-07-23T17:56:31Z | NONE | null | ```
import pandas as pd
File "/usr/local/lib/python3.6/site-packages/pandas/__init__.py", line 55, in <module>
from pandas.core.api import (
File "/usr/local/lib/python3.6/site-packages/pandas/core/api.py", line 24, in <module>
from pandas.core.groupby import Grouper, NamedAgg
File "/usr/local/lib/python3.6/site-packages/pandas/core/groupby/__init__.py", line 1, in <module>
from pandas.core.groupby.generic import ( # noqa: F401
File "/usr/local/lib/python3.6/site-packages/pandas/core/groupby/generic.py", line 44, in <module>
from pandas.core.frame import DataFrame
File "/usr/local/lib/python3.6/site-packages/pandas/core/frame.py", line 88, in <module>
from pandas.core.generic import NDFrame, _shared_docs
File "/usr/local/lib/python3.6/site-packages/pandas/core/generic.py", line 71, in <module>
from pandas.io.formats.format import DataFrameFormatter, format_percentiles
File "/usr/local/lib/python3.6/site-packages/pandas/io/formats/format.py", line 47, in <module>
from pandas.io.common import _expand_user, _stringify_path
File "/usr/local/lib/python3.6/site-packages/pandas/io/common.py", line 9, in <module>
import lzma
File "/usr/local/lib/python3.6/lzma.py", line 27, in <module>
from _lzma import *
ModuleNotFoundError: No module named '_lzma'
```
#### Problem description
After upgrading to pandas 0.25.0, started getting this error
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27543/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27543/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27544 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27544/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27544/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27544/events | https://github.com/pandas-dev/pandas/issues/27544 | 471,816,172 | MDU6SXNzdWU0NzE4MTYxNzI= | 27,544 | use keyword only args where appropriate | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"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": "FCE94F",
"default": false,
"description": "Internal... | 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"
} | 8 | 2019-07-23T17:00:13Z | 2021-07-10T18:45:42Z | null | CONTRIBUTOR | null | we should use keyword only arguments for some of our functions that have large numbers of kwargs to make it harder to make mistakes in the calling conventions, a prime example is [read_csv](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_csv.html?highlight=read_csv#pandas.read_csv].
likely we want a signature
```def read_csv(self, filepath_or_buffer, *, .......```
IOW *all* args, except for the first should be kwargs.
We could further modify a fair number of functions, so will treat this as a tracking issue. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27544/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27544/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27545 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27545/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27545/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27545/events | https://github.com/pandas-dev/pandas/pull/27545 | 471,829,567 | MDExOlB1bGxSZXF1ZXN0MzAwMzk3OTU5 | 27,545 | CI: troubleshoot failures that necessited #27536 | {
"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"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2019-07-23T17:28:29Z | 2019-07-23T22:59:06Z | 2019-07-23T22:33:09Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27545/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27545/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27545.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27545",
"merged_at": "2019-07-23T22:33:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27545.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27545"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/27546 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27546/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27546/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27546/events | https://github.com/pandas-dev/pandas/issues/27546 | 471,877,445 | MDU6SXNzdWU0NzE4Nzc0NDU= | 27,546 | Cleanup CI environment files after #27542 | {
"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": "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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 2 | 2019-07-23T19:02:31Z | 2019-07-24T11:14:58Z | 2019-07-24T11:14:58Z | CONTRIBUTOR | null | https://github.com/pandas-dev/pandas/pull/27542 got CI passing again by removing matplotlib from a couple of the slow travis jobs.
We should verify that
1. We still have adequate matplotlib coverage (I think we do)
2. We can remove the pytest and pytest-xdist pins
Also monitor https://travis-ci.community/t/builds-often-fail-because-of-lack-of-resources-memory-cpu/4331 to see if travis brings back higher memory workers. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27546/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27546/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27547 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27547/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27547/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27547/events | https://github.com/pandas-dev/pandas/issues/27547 | 471,936,550 | MDU6SXNzdWU0NzE5MzY1NTA= | 27,547 | read.sql fails with adodbapi connection | {
"avatar_url": "https://avatars.githubusercontent.com/u/13602663?v=4",
"events_url": "https://api.github.com/users/ParfaitG/events{/privacy}",
"followers_url": "https://api.github.com/users/ParfaitG/followers",
"following_url": "https://api.github.com/users/ParfaitG/following{/other_user}",
"gists_url": "https://api.github.com/users/ParfaitG/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ParfaitG",
"id": 13602663,
"login": "ParfaitG",
"node_id": "MDQ6VXNlcjEzNjAyNjYz",
"organizations_url": "https://api.github.com/users/ParfaitG/orgs",
"received_events_url": "https://api.github.com/users/ParfaitG/received_events",
"repos_url": "https://api.github.com/users/ParfaitG/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ParfaitG/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ParfaitG/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ParfaitG"
} | [
{
"color": "5319e7",
"default": false,
"description": "to_sql, read_sql, read_sql_query",
"id": 47232590,
"name": "IO SQL",
"node_id": "MDU6TGFiZWw0NzIzMjU5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20SQL"
}
] | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 14 | 2019-07-23T20:47:40Z | 2019-10-02T22:03:34Z | 2019-09-18T07:17:20Z | CONTRIBUTOR | null | #### Code Sample
```python
import pandas as pd
import adodbapi
conn = adodbapi.connect(r'Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Path\To\MS\Access\DB.accdb;')
df = pd.read_sql("SELECT TOP 10 * FROM myTable", conn)
print(df)
conn.close()
```
#### Problem description
Similar to this recent [python-forum.io](https://python-forum.io/Thread-Key-error-when-using-adodbapi-azure-and-pandas) post, `pandas.read_sql` does not work with the older module, [adodbapi](https://pypi.org/project/adodbapi/), which adheres to Python's DB-API 2.0 (PEP-249) standard and allows interfacing with OLEDB providers, a recognized, industry API for data sources. Above makes a successful connection to an MS Access database in Windows environment. However, the `pandas.read_sql` results in following error:
```
Traceback (most recent call last):
File "OleDBConnection.py", line 14, in <module>
df = pd.read_sql("SELECT TOP 10 * FROM Random_Data", conn)
File "C:\Users\ParfaitG\AppData\Roaming\Python\Python37\site-packages\pandas\io\sql.py", line 380, in read_sql
chunksize=chunksize)
File "C:\Users\ParfaitG\AppData\Roaming\Python\Python37\site-packages\pandas\io\sql.py", line 1482, in read_query
parse_dates=parse_dates)
File "C:\Users\ParfaitG\AppData\Roaming\Python\Python37\site-packages\pandas\io\sql.py", line 141, in _wrap_result
coerce_float=coerce_float)
File "C:\Users\ParfaitG\AppData\Roaming\Python\Python37\site-packages\pandas\core\frame.py", line 1512, in from_records
coerce_float=coerce_float)
File "C:\Users\ParfaitG\AppData\Roaming\Python\Python37\site-packages\pandas\core\internals\construction.py", line 408, in to_arrays
elif isinstance(data[0], ABCSeries):
File "C:\Users\ParfaitG\AppData\Roaming\Python\Python37\site-packages\pandas\core\dtypes\generic.py", line 9, in _check
return getattr(inst, attr, '_typ') in comp
File "C:\Users\ParfaitG\AppData\Roaming\Python\Python37\site-packages\adodbapi\apibase.py", line 474, in __getattr__
return self._getValue(self.rows.columnNames[name.lower()])
KeyError: '_typ'
```
Do note: a regular `cursor.execute` and `cursor.fetchall` works successfully without issue using `adodbapi` with or without parameters:
```python
conn = adodbapi.connect(r'Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Path\To\MS\Access\DB.accdb;')
cur = conn.cursor()
cur.execute("SELECT TOP 10 * FROM myTable WHERE [value] >= ? AND [value] <= ?", (10, 50))
for row in cur.fetchall():
print(row)
```
#### Expected Output
Desired result would be exact data frame construction from `read_sql` as rendered successfully with `pyodbc` which makes an ODBC connection (another industry recognized API to data sources) to the same database:
```python
import pandas as pd
import pyodbc
conn = pyodbc.connect(r'DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=C:\Path\To\MS\Access\DB.accdb;')
df = pd.read_sql("SELECT TOP 10 * FROM myTable", conn)
print(df)
conn.close()
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.7.2.final.0
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 63 Stepping 2, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.24.1
pytest: None
pip: 19.1.1
setuptools: 40.6.2
Cython: None
numpy: 1.15.4
scipy: 1.2.1
pyarrow: None
xarray: None
IPython: None
sphinx: None
patsy: 0.5.1
dateutil: 2.8.0
pytz: 2018.9
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: 3.0.2
openpyxl: 2.6.2
xlrd: None
xlwt: None
xlsxwriter: None
lxml.etree: 4.3.3
bs4: None
html5lib: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.10.1
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
gcsfs: None
None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27547/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27547/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27548 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27548/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27548/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27548/events | https://github.com/pandas-dev/pandas/issues/27548 | 471,948,035 | MDU6SXNzdWU0NzE5NDgwMzU= | 27,548 | pd.Series.interpolate() ValueError for some methods with TZ localized index | {
"avatar_url": "https://avatars.githubusercontent.com/u/4625457?v=4",
"events_url": "https://api.github.com/users/alorenzo175/events{/privacy}",
"followers_url": "https://api.github.com/users/alorenzo175/followers",
"following_url": "https://api.github.com/users/alorenzo175/following{/other_user}",
"gists_url": "https://api.github.com/users/alorenzo175/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alorenzo175",
"id": 4625457,
"login": "alorenzo175",
"node_id": "MDQ6VXNlcjQ2MjU0NTc=",
"organizations_url": "https://api.github.com/users/alorenzo175/orgs",
"received_events_url": "https://api.github.com/users/alorenzo175/received_events",
"repos_url": "https://api.github.com/users/alorenzo175/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alorenzo175/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alorenzo175/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alorenzo175"
} | [
{
"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": "006b... | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-07-23T21:05:57Z | 2019-07-24T11:42:10Z | 2019-07-24T11:42:10Z | CONTRIBUTOR | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
ser = pd.Series([1.0, pd.np.nan, 2.0], index=pd.date_range(
start='20190101T0000', freq='1h', periods=3))
print(ser.interpolate(method='pad'))
print(ser.tz_localize('UTC').interpolate(method='pad')) # raises ValueError
```
#### Problem description
Interpolation of a Series with a TZ localized DatetimeIndex raises a ValueError when method is not one of (linear, index, values, nearest, time). This does not occur with version 0.24.2, and I think the bug was introduced in https://github.com/pandas-dev/pandas/pull/25394.
#### Expected Output
2019-01-01 00:00:00 1.0
2019-01-01 01:00:00 1.0
2019-01-01 02:00:00 2.0
Freq: H, dtype: float64
2019-01-01 00:00:00+00:00 1.0
2019-01-01 01:00:00+00:00 1.0
2019-01-01 02:00:00+00:00 2.0
Freq: H, dtype: float64
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
INSTALLED VERSIONS
------------------
commit : d749aae9549329912edabc646fcda4083af18e22
python : 3.7.2.final.0
python-bits : 64
OS : Linux
OS-release : 5.1.12-300.fc30.x86_64
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0+19.gd749aae954
numpy : 1.16.4
pytz : 2019.1
dateutil : 2.8.0
pip : 18.1
setuptools : 40.6.2
Cython : 0.29.12
pytest : 5.0.1
hypothesis : 4.28.2
sphinx : 1.8.5
blosc : 1.8.0
feather : None
xlsxwriter : 1.1.8
lxml.etree : 4.3.4
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.6.1
pandas_datareader: None
bs4 : 4.8.0
bottleneck : 1.2.1
fastparquet : 0.3.1
gcsfs : None
lxml.etree : 4.3.4
matplotlib : 3.1.1
numexpr : 2.6.9
odfpy : None
openpyxl : 2.6.2
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : 0.3.0
scipy : 1.3.0
sqlalchemy : 1.3.6
tables : 3.5.2
xarray : 0.12.3
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.1.8
</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/27548/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27548/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27549 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27549/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27549/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27549/events | https://github.com/pandas-dev/pandas/pull/27549 | 471,964,530 | MDExOlB1bGxSZXF1ZXN0MzAwNDc5OTU3 | 27,549 | BUG: Fix interpolate ValueError for datetime64_tz index | {
"avatar_url": "https://avatars.githubusercontent.com/u/4625457?v=4",
"events_url": "https://api.github.com/users/alorenzo175/events{/privacy}",
"followers_url": "https://api.github.com/users/alorenzo175/followers",
"following_url": "https://api.github.com/users/alorenzo175/following{/other_user}",
"gists_url": "https://api.github.com/users/alorenzo175/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alorenzo175",
"id": 4625457,
"login": "alorenzo175",
"node_id": "MDQ6VXNlcjQ2MjU0NTc=",
"organizations_url": "https://api.github.com/users/alorenzo175/orgs",
"received_events_url": "https://api.github.com/users/alorenzo175/received_events",
"repos_url": "https://api.github.com/users/alorenzo175/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alorenzo175/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alorenzo175/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alorenzo175"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, ... | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 3 | 2019-07-23T21:33:15Z | 2019-07-24T11:42:16Z | 2019-07-24T11:42:11Z | CONTRIBUTOR | null |
- [ x ] closes #27548
- [ 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/27549/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27549/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27549.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27549",
"merged_at": "2019-07-24T11:42:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27549.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27549"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27550 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27550/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27550/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27550/events | https://github.com/pandas-dev/pandas/pull/27550 | 472,004,763 | MDExOlB1bGxSZXF1ZXN0MzAwNTAyMDg2 | 27,550 | Revert CI changes from 27542 | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-07-23T23:03:08Z | 2020-01-16T00:35:06Z | 2019-07-24T11:14:58Z | MEMBER | null | - [X] closes #27546
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Think this was all a perfect storm of temporary issues, so let's see what reverting yields.
Note: didn't revert the sudo tag removal on purpose | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27550/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27550/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27550.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27550",
"merged_at": "2019-07-24T11:14:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27550.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27550"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27551 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27551/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27551/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27551/events | https://github.com/pandas-dev/pandas/pull/27551 | 472,038,474 | MDExOlB1bGxSZXF1ZXN0MzAwNTI4NjU4 | 27,551 | REF: implement module for shared constructor functions | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 3 | 2019-07-24T01:39:36Z | 2019-07-25T17:33:28Z | 2019-07-25T17:14:33Z | MEMBER | null | `core.construction` intended for code to be shared between `pd.array`, `Series.__init__`, and `Index.__new__`. The module should not need to be internals-aware.
This only moves array and extract_array to keep the diff contained. The next step would be to move internals.construction.sanitize_array, which is used in a number of non-internals places and satisfies the not-internals-aware condition.
Several functions from core.dtypes.cast would also make more sense here than in their current locations.
<b>update</b> moved sanitize_array too, and updated imports | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27551/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27551/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27551.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27551",
"merged_at": "2019-07-25T17:14:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27551.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27551"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27552 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27552/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27552/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27552/events | https://github.com/pandas-dev/pandas/pull/27552 | 472,039,159 | MDExOlB1bGxSZXF1ZXN0MzAwNTI5MTI3 | 27,552 | STY: add pandas._typing to the known_pre_core block for isort | {
"avatar_url": "https://avatars.githubusercontent.com/u/43701530?v=4",
"events_url": "https://api.github.com/users/sameshl/events{/privacy}",
"followers_url": "https://api.github.com/users/sameshl/followers",
"following_url": "https://api.github.com/users/sameshl/following{/other_user}",
"gists_url": "https://api.github.com/users/sameshl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sameshl",
"id": 43701530,
"login": "sameshl",
"node_id": "MDQ6VXNlcjQzNzAxNTMw",
"organizations_url": "https://api.github.com/users/sameshl/orgs",
"received_events_url": "https://api.github.com/users/sameshl/received_events",
"repos_url": "https://api.github.com/users/sameshl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sameshl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sameshl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sameshl"
} | [
{
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 12 | 2019-07-24T01:43:04Z | 2019-10-06T22:48:23Z | 2019-10-06T22:48:23Z | CONTRIBUTOR | null | closes #27534
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27552/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27552/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27552.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27552",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/27552.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27552"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27553 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27553/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27553/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27553/events | https://github.com/pandas-dev/pandas/issues/27553 | 472,059,890 | MDU6SXNzdWU0NzIwNTk4OTA= | 27,553 | `OptionError` raised by top-level function `pandas.set_option` is private | {
"avatar_url": "https://avatars.githubusercontent.com/u/1454871?v=4",
"events_url": "https://api.github.com/users/huandzh/events{/privacy}",
"followers_url": "https://api.github.com/users/huandzh/followers",
"following_url": "https://api.github.com/users/huandzh/following{/other_user}",
"gists_url": "https://api.github.com/users/huandzh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/huandzh",
"id": 1454871,
"login": "huandzh",
"node_id": "MDQ6VXNlcjE0NTQ4NzE=",
"organizations_url": "https://api.github.com/users/huandzh/orgs",
"received_events_url": "https://api.github.com/users/huandzh/received_events",
"repos_url": "https://api.github.com/users/huandzh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/huandzh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/huandzh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/huandzh"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "ffa0ff",
"default": false,
"description": "I... | 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 | 2019-07-24T03:22:57Z | 2020-02-24T16:32:46Z | 2020-02-24T16:32:46Z | NONE | null | #### Code Sample
```python
import pandas as pd
from pandas.errors import OptionError
# or from pandas import OptionError
option = ('noexist', 1)
try:
pd.set_option(*option)
except OptionError as e:
print('Ignore invaild option: {}'.format(option))
```
#### Problem description
`OptionError` is raised by top-level function `pandas.set_option`, but can only be imported from private module `pandas._config.config`.
Sample code will failed when importing it from `pandas.errors` :
```
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-62b92256ce5f> in <module>
1 import pandas as pd
----> 2 from pandas.errors import OptionError # or from pandas import OptionError
3 option = ('noexist', 1)
4 try:
5 pd.set_option(*option)
ImportError: cannot import name 'OptionError' from 'pandas.errors' (/home/abc/.local/share/virtualenvs/abc-jIQt2SYy/lib/python3.7/site-packages/pandas/errors/__init__.py)
```
#### Expected Output
```
Ignored invaild option: ('noexist', 1)
```
Expected behavior : `OptionError` can be imported from `pandas.errors` or `pandas`. And other custom exceptions raised by top-level functions are also available in the same public namespace.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.3.final.0
python-bits : 64
OS : Linux
OS-release : 4.4.0-17763-Microsoft
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.16.4
pytz : 2019.1
dateutil : 2.8.0
pip : 19.1.1
setuptools : 41.0.1
Cython : 0.29.12
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10.1
IPython : 7.6.1
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.1
numexpr : None
odfpy : None
openpyxl : 2.6.2
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
xarray : None
xlrd : 1.2.0
xlwt : None
xlsxwriter : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27553/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27553/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27554 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27554/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27554/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27554/events | https://github.com/pandas-dev/pandas/issues/27554 | 472,062,132 | MDU6SXNzdWU0NzIwNjIxMzI= | 27,554 | ENH: to_xml, read_xml | {
"avatar_url": "https://avatars.githubusercontent.com/u/16909824?v=4",
"events_url": "https://api.github.com/users/codeman101/events{/privacy}",
"followers_url": "https://api.github.com/users/codeman101/followers",
"following_url": "https://api.github.com/users/codeman101/following{/other_user}",
"gists_url": "https://api.github.com/users/codeman101/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/codeman101",
"id": 16909824,
"login": "codeman101",
"node_id": "MDQ6VXNlcjE2OTA5ODI0",
"organizations_url": "https://api.github.com/users/codeman101/orgs",
"received_events_url": "https://api.github.com/users/codeman101/received_events",
"repos_url": "https://api.github.com/users/codeman101/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/codeman101/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/codeman101/subscriptions",
"type": "User",
"url": "https://api.github.com/users/codeman101"
} | [
{
"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": "1d76db",
"default": false,
"description": "read_xml... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/13602663?v=4",
"events_url": "https://api.github.com/users/ParfaitG/events{/privacy}",
"followers_url": "https://api.github.com/users/ParfaitG/followers",
"following_url": "https://api.github.com/users/ParfaitG/following{/other_user}",
"gists_url": "https://api.github.com/users/ParfaitG/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ParfaitG",
"id": 13602663,
"login": "ParfaitG",
"node_id": "MDQ6VXNlcjEzNjAyNjYz",
"organizations_url": "https://api.github.com/users/ParfaitG/orgs",
"received_events_url": "https://api.github.com/users/ParfaitG/received_events",
"repos_url": "https://api.github.com/users/ParfaitG/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ParfaitG/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ParfaitG/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ParfaitG"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/13602663?v=4",
"events_url": "https://api.github.com/users/ParfaitG/events{/privacy}",
"followers_url": "https://api.github.com/users/ParfaitG/followers",
"following_url": "https://api.github.com/users/ParfaitG/following{/other_user}",
"gi... | {
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
} | 14 | 2019-07-24T03:32:58Z | 2021-02-27T18:15:01Z | 2021-02-27T18:15:01Z | NONE | null | I'm sure this has been asked before but I can't find it. Why doesn't pandas have a method called read_xml? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 1,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27554/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27554/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27555 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27555/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27555/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27555/events | https://github.com/pandas-dev/pandas/pull/27555 | 472,063,698 | MDExOlB1bGxSZXF1ZXN0MzAwNTQ3NzY1 | 27,555 | CLN: more assorted cleanups | {
"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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2019-07-24T03:40:53Z | 2019-07-25T17:32:09Z | 2019-07-25T17:12:05Z | MEMBER | null | Continuing with the theme of avoiding runtime imports | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27555/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27555/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27555.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27555",
"merged_at": "2019-07-25T17:12:05Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27555.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27555"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27556 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27556/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27556/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27556/events | https://github.com/pandas-dev/pandas/pull/27556 | 472,106,429 | MDExOlB1bGxSZXF1ZXN0MzAwNTgxNTky | 27,556 | BUG: Allow ensure_index to coerce nan to NaT with numpy object array and tz Timestamp | {
"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": "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"
},
{
"color": "e99695",
"default": false,
"des... | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 1 | 2019-07-24T06:40:29Z | 2019-07-24T16:04:24Z | 2019-07-24T11:42:49Z | MEMBER | null | - [x] closes #27011
- [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/27556/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27556/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27556.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27556",
"merged_at": "2019-07-24T11:42:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27556.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27556"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27557 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27557/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27557/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27557/events | https://github.com/pandas-dev/pandas/issues/27557 | 472,170,125 | MDU6SXNzdWU0NzIxNzAxMjU= | 27,557 | Adhere to the standard for dropping Python versions | {
"avatar_url": "https://avatars.githubusercontent.com/u/10058240?v=4",
"events_url": "https://api.github.com/users/datapythonista/events{/privacy}",
"followers_url": "https://api.github.com/users/datapythonista/followers",
"following_url": "https://api.github.com/users/datapythonista/following{/other_user}",
"gists_url": "https://api.github.com/users/datapythonista/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/datapythonista",
"id": 10058240,
"login": "datapythonista",
"node_id": "MDQ6VXNlcjEwMDU4MjQw",
"organizations_url": "https://api.github.com/users/datapythonista/orgs",
"received_events_url": "https://api.github.com/users/datapythonista/received_events",
"repos_url": "https://api.github.com/users/datapythonista/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/datapythonista/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/datapythonista/subscriptions",
"type": "User",
"url": "https://api.github.com/users/datapythonista"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "d93f0b",
"default": false,
"description": "Required and optional... | open | false | null | [] | null | 7 | 2019-07-24T09:16:20Z | 2021-11-10T17:59:44Z | null | MEMBER | null | Maintainers from several scientific Python projects are defining a standard to for all projects to drop support of old Python versions in a synchronized way. The standard is defined in this PR: https://github.com/numpy/numpy/pull/14086
I think pandas is already quite synchronized with the rest of the ecosystem, and I think the timeline of the standard matches what we have in mind in the short term (stopping support of Python 3.5 in the next release).
I create this issue to have a discussion in case anyone has comments. And I propose that if there is agreement, we adhere to the standard formally. | {
"+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/27557/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27557/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27558 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27558/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27558/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27558/events | https://github.com/pandas-dev/pandas/issues/27558 | 472,196,636 | MDU6SXNzdWU0NzIxOTY2MzY= | 27,558 | DOC: Unable to import pandas on python 3.5.2 | {
"avatar_url": "https://avatars.githubusercontent.com/u/961747?v=4",
"events_url": "https://api.github.com/users/kszucs/events{/privacy}",
"followers_url": "https://api.github.com/users/kszucs/followers",
"following_url": "https://api.github.com/users/kszucs/following{/other_user}",
"gists_url": "https://api.github.com/users/kszucs/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kszucs",
"id": 961747,
"login": "kszucs",
"node_id": "MDQ6VXNlcjk2MTc0Nw==",
"organizations_url": "https://api.github.com/users/kszucs/orgs",
"received_events_url": "https://api.github.com/users/kszucs/received_events",
"repos_url": "https://api.github.com/users/kszucs/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kszucs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kszucs/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kszucs"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 7171206... | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 21 | 2019-07-24T10:10:47Z | 2020-04-24T15:56:14Z | 2019-08-01T12:13:48Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas
```
#### Problem description
Although it seems like a typing issue pandas is still affected, error:
```
root@ae9a5374fe6d:/buildbot# python -c "import pandas"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.5/dist-packages/pandas/__init__.py", line 55, in <module>
from pandas.core.api import (
File "/usr/local/lib/python3.5/dist-packages/pandas/core/api.py", line 5, in <module>
from pandas.core.arrays.integer import (
File "/usr/local/lib/python3.5/dist-packages/pandas/core/arrays/__init__.py", line 1, in <module>
from .array_ import array # noqa: F401
File "/usr/local/lib/python3.5/dist-packages/pandas/core/arrays/array_.py", line 7, in <module>
from pandas.core.dtypes.common import (
File "/usr/local/lib/python3.5/dist-packages/pandas/core/dtypes/common.py", line 11, in <module>
from pandas.core.dtypes.dtypes import (
File "/usr/local/lib/python3.5/dist-packages/pandas/core/dtypes/dtypes.py", line 53, in <module>
class Registry:
File "/usr/local/lib/python3.5/dist-packages/pandas/core/dtypes/dtypes.py", line 84, in Registry
self, dtype: Union[Type[ExtensionDtype], str]
File "/usr/lib/python3.5/typing.py", line 552, in __getitem__
dict(self.__dict__), parameters, _root=True)
File "/usr/lib/python3.5/typing.py", line 512, in __new__
for t2 in all_params - {t1} if not isinstance(t2, TypeVar)):
File "/usr/lib/python3.5/typing.py", line 512, in <genexpr>
for t2 in all_params - {t1} if not isinstance(t2, TypeVar)):
File "/usr/lib/python3.5/typing.py", line 1077, in __subclasscheck__
if super().__subclasscheck__(cls):
File "/usr/lib/python3.5/abc.py", line 225, in __subclasscheck__
for scls in cls.__subclasses__():
TypeError: descriptor '__subclasses__' of 'type' object needs an argument
```
To reproduce:
```
$ docker pull ursalab/amd64-ubuntu-16.04-python-3:worker
$ docker run -it ursalab/amd64-ubuntu-16.04-python-3:worker bash
# python -c "import pandas"
```
#### Output of ``pip freeze | grep pandas``
```
pandas==0.25.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/27558/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27558/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27559 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27559/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27559/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27559/events | https://github.com/pandas-dev/pandas/issues/27559 | 472,234,239 | MDU6SXNzdWU0NzIyMzQyMzk= | 27,559 | CLN: centrailize _check_percentile | {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
} | [
{
"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,
"de... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-07-24T11:38:55Z | 2019-10-03T17:11:46Z | 2019-10-03T17:11:46Z | CONTRIBUTOR | null | we use _check_percentile in a couple of places; its a method on the NDFrame which is not needed, refactor to move it to pandas/core/algorithms.py (near quantile).
```
pandas/core/generic.py: self._check_percentile(percentiles)
pandas/core/generic.py: def _check_percentile(self, q):
pandas/core/series.py: self._check_percentile(q)
pandas/core/frame.py: self._check_percentile(q)
```
there is another reference in groupby added here: https://github.com/pandas-dev/pandas/pull/27473; change the validation logic to call this function as well (likely the call will need to be in the quantile call to groupby (pandas/core/groupby/groupby.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/27559/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27559/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27560 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27560/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27560/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27560/events | https://github.com/pandas-dev/pandas/pull/27560 | 472,235,965 | MDExOlB1bGxSZXF1ZXN0MzAwNjg1Njky | 27,560 | Backport PR #27549 on branch 0.25.x (BUG: Fix interpolate ValueError for datetime64_tz index) | {
"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": "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"
},
{
"c... | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-07-24T11:43:02Z | 2019-07-24T13:00:12Z | 2019-07-24T13:00:12Z | NONE | null | Backport PR #27549: BUG: Fix interpolate ValueError for datetime64_tz index | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27560/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27560/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27560.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27560",
"merged_at": "2019-07-24T13:00:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27560.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27560"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27561 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27561/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27561/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27561/events | https://github.com/pandas-dev/pandas/pull/27561 | 472,236,028 | MDExOlB1bGxSZXF1ZXN0MzAwNjg1NzQy | 27,561 | Backport PR #27556 on branch 0.25.x (BUG: Allow ensure_index to coerce nan to NaT with numpy object array and tz Timestamp) | {
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
} | [
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "5319e7"... | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-07-24T11:43:13Z | 2019-07-24T13:00:02Z | 2019-07-24T13:00:01Z | NONE | null | Backport PR #27556: BUG: Allow ensure_index to coerce nan to NaT with numpy object array and tz Timestamp | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27561/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27561/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27561.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27561",
"merged_at": "2019-07-24T13:00:01Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27561.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27561"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27562 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27562/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27562/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27562/events | https://github.com/pandas-dev/pandas/pull/27562 | 472,253,274 | MDExOlB1bGxSZXF1ZXN0MzAwNjk5NzY1 | 27,562 | DOC: Harmonize column selection to bracket notation | {
"avatar_url": "https://avatars.githubusercontent.com/u/9948149?v=4",
"events_url": "https://api.github.com/users/katrinleinweber/events{/privacy}",
"followers_url": "https://api.github.com/users/katrinleinweber/followers",
"following_url": "https://api.github.com/users/katrinleinweber/following{/other_user}",
"gists_url": "https://api.github.com/users/katrinleinweber/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/katrinleinweber",
"id": 9948149,
"login": "katrinleinweber",
"node_id": "MDQ6VXNlcjk5NDgxNDk=",
"organizations_url": "https://api.github.com/users/katrinleinweber/orgs",
"received_events_url": "https://api.github.com/users/katrinleinweber/received_events",
"repos_url": "https://api.github.com/users/katrinleinweber/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/katrinleinweber/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/katrinleinweber/subscriptions",
"type": "User",
"url": "https://api.github.com/users/katrinleinweber"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 12 | 2019-07-24T12:24:19Z | 2019-08-26T18:29:14Z | 2019-08-26T16:37:15Z | CONTRIBUTOR | null | As [suggested by](https://medium.com/dunder-data/minimally-sufficient-pandas-a8e67f2a2428#46f9) @tdpetrou. If there is agreement about not _presenting_ the dot notation to access columns in the docu, please let me know and I'll then check the rest of the docu.
- [~] closes #xxxx
- [~] tests added / passed
- [~] passes `black pandas`
- [~] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] passes `git diff upstream/master -u -- "*.rst" | flake8-rst --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/27562/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27562/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27562.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27562",
"merged_at": "2019-08-26T16:37:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27562.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27562"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27563 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27563/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27563/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27563/events | https://github.com/pandas-dev/pandas/issues/27563 | 472,316,256 | MDU6SXNzdWU0NzIzMTYyNTY= | 27,563 | Pandas - Repeat headings every n-th row in Jupyter-lab notebook | {
"avatar_url": "https://avatars.githubusercontent.com/u/6196390?v=4",
"events_url": "https://api.github.com/users/Code4SAFrankie/events{/privacy}",
"followers_url": "https://api.github.com/users/Code4SAFrankie/followers",
"following_url": "https://api.github.com/users/Code4SAFrankie/following{/other_user}",
"gists_url": "https://api.github.com/users/Code4SAFrankie/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Code4SAFrankie",
"id": 6196390,
"login": "Code4SAFrankie",
"node_id": "MDQ6VXNlcjYxOTYzOTA=",
"organizations_url": "https://api.github.com/users/Code4SAFrankie/orgs",
"received_events_url": "https://api.github.com/users/Code4SAFrankie/received_events",
"repos_url": "https://api.github.com/users/Code4SAFrankie/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Code4SAFrankie/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Code4SAFrankie/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Code4SAFrankie"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "006b75",
"default": false,
"description": "read_htm... | closed | false | null | [] | null | 2 | 2019-07-24T14:28:36Z | 2019-10-18T15:20:27Z | 2019-10-18T15:20:27Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
pd.set_option('display.max_columns', None)
df.head(30)
```
#### Problem description
Is there a way to repeat the headings (column titles) of a Pandas dataframe every n-th row in a Jupyter-lab notebook.
I normally use pd.set_option('display.max_columns', None) with pandas in a Jupyter-lab notebook, since I want to view all the columns and data. However when showing more than 10 rows the scroll bar at the bottom is hidden when viewing the headings and the headings are hidden when viewing the scroll bar; which makes it very difficult to know what you are seeing or to know where to scroll to.
Is there a way to repeat the headings every n-th row or is it possible to have a vertical scrollbar as well with the headings then always remaining visible.
#### Expected Output
Headings and scrollbar visible at the same time.
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
commit: None
python: 3.7.1.final.0
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.24.2
pytest: 4.0.0
pip: 19.2.1
setuptools: 40.6.2
Cython: 0.29
numpy: 1.16.2
scipy: 1.2.1
pyarrow: 0.11.1
xarray: 0.10.9
IPython: 7.1.1
sphinx: 1.8.1
patsy: 0.5.1
dateutil: 2.7.5
pytz: 2018.6
blosc: 1.6.1
bottleneck: 1.2.1
tables: 3.4.4
numexpr: 2.6.8
feather: 0.4.0
matplotlib: 3.0.2
openpyxl: None
xlrd: 1.1.0
xlwt: None
xlsxwriter: 1.1.2
lxml.etree: 4.2.5
bs4: 4.6.3
html5lib: 1.0.1
sqlalchemy: 1.2.12
pymysql: None
psycopg2: 2.7.7 (dt dec pq3 ext lo64)
jinja2: 2.10
s3fs: None
fastparquet: 0.1.6
pandas_gbq: None
pandas_datareader: 0.7.0
gcsfs: 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/27563/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27563/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27564 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27564/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27564/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27564/events | https://github.com/pandas-dev/pandas/pull/27564 | 472,321,442 | MDExOlB1bGxSZXF1ZXN0MzAwNzU1NjU1 | 27,564 | TYPING: some type hints for core.dtypes.common | {
"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": "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": "ea9... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 0 | 2019-07-24T14:38:07Z | 2019-07-26T03:16:32Z | 2019-07-25T17:01:35Z | 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/27564/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27564/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27564.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27564",
"merged_at": "2019-07-25T17:01:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27564.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27564"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/27565 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27565/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27565/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27565/events | https://github.com/pandas-dev/pandas/pull/27565 | 472,339,208 | MDExOlB1bGxSZXF1ZXN0MzAwNzcwMjM5 | 27,565 | DEPR: remove .ix from tests/indexing/multiindex/test_ix.py | {
"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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "53... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-07-24T15:09:29Z | 2019-07-26T03:08:20Z | 2019-07-25T16:58:58Z | 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/27565/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27565/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27565.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27565",
"merged_at": "2019-07-25T16:58:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27565.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27565"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/27566 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27566/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27566/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27566/events | https://github.com/pandas-dev/pandas/pull/27566 | 472,345,276 | MDExOlB1bGxSZXF1ZXN0MzAwNzc1MjQ1 | 27,566 | DEPR: remove .ix from tests/indexing/test_partial.py | {
"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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "53... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-07-24T15:21:14Z | 2019-07-26T03:07:27Z | 2019-07-25T16:58:08Z | MEMBER | null | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27566/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27566/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27566.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27566",
"merged_at": "2019-07-25T16:58:08Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27566.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27566"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/27567 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27567/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27567/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27567/events | https://github.com/pandas-dev/pandas/pull/27567 | 472,359,649 | MDExOlB1bGxSZXF1ZXN0MzAwNzg3MDky | 27,567 | CLN: remove block._coerce_values | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "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-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2019-07-24T15:48:33Z | 2019-07-26T21:44:14Z | 2019-07-26T20:57:02Z | MEMBER | null | viable now that we stopped coercing timedelta and datetime to i8
I'd like to clean up DatetimeTZBlock._try_coerce_result before getting this in. Part of that means pushing the handling down to the function being wrapped | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27567/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27567/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27567.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27567",
"merged_at": "2019-07-26T20:57:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27567.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27567"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27568 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27568/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27568/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27568/events | https://github.com/pandas-dev/pandas/issues/27568 | 472,369,597 | MDU6SXNzdWU0NzIzNjk1OTc= | 27,568 | Enable --check-untyped-defs for MyPy | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"color": "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": 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"
} | 12 | 2019-07-24T16:05:52Z | 2019-12-19T13:37:07Z | 2019-12-19T13:37:07Z | MEMBER | null | As brought up in a conversation with @simonjayhawkins we might want to consider adding `--check-untyped-defs` to the mypy config file. Right now unannotated functions are skipped so local variable inference and checking is not done until an annotation is added. Working through this flag in advance may lead to less surprises as annotations are added
Note that this can also be enabled globally and per module, so we could prioritize as needed. Docs here:
https://mypy.readthedocs.io/en/latest/config_file.html#untyped-definitions-and-calls
Here are failures currently on master. I haven't looked in detail but assume that the degree of difficulty to resolve will vary. PRs to tackle individual modules may be best
<details>
```sh
pandas/core/ops/docstrings.py:26: error: Unsupported operand types for + ("str" and "None")
pandas/core/ops/docstrings.py:26: note: Right operand is of type "Optional[str]"
pandas/core/ops/docstrings.py:39: error: Unsupported operand types for + ("str" and "None")
pandas/core/ops/docstrings.py:39: note: Right operand is of type "Optional[str]"
pandas/core/dtypes/generic.py:7: error: 'classmethod' used with a non-method
pandas/util/_exceptions.py:14: error: Incompatible types in assignment (expression has type "Tuple[Any, ...]", variable has type "Tuple[Any]")
pandas/util/_decorators.py:181: error: Item "function" of "Union[Dict[Any, Any], Callable[[Any], Any]]" has no attribute "get"
pandas/util/_decorators.py:183: error: "Dict[Any, Any]" not callable
pandas/util/_decorators.py:201: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[str]"; expected "str"
pandas/util/_decorators.py:207: error: Invalid index type "Optional[str]" for "Dict[str, Any]"; expected type "str"
pandas/util/_decorators.py:293: error: Item "Tuple[Any, ...]" of "Union[Tuple[Any, ...], Dict[str, Any]]" has no attribute "update"
pandas/_version.py:37: error: "VersioneerConfig" has no attribute "VCS"
pandas/_version.py:38: error: "VersioneerConfig" has no attribute "style"
pandas/_version.py:39: error: "VersioneerConfig" has no attribute "tag_prefix"
pandas/_version.py:40: error: "VersioneerConfig" has no attribute "parentdir_prefix"
pandas/_version.py:41: error: "VersioneerConfig" has no attribute "versionfile_source"
pandas/_version.py:42: error: "VersioneerConfig" has no attribute "verbose"
pandas/_version.py:79: error: Item "BaseException" of "Optional[BaseException]" has no attribute "errno"
pandas/_version.py:79: error: Item "None" of "Optional[BaseException]" has no attribute "errno"
pandas/io/formats/css.py:92: error: Incompatible types in assignment (expression has type "None", variable has type "float")
pandas/io/formats/css.py:163: error: Item "None" of "Optional[Match[Any]]" has no attribute "groups"
pandas/io/clipboard/exceptions.py:10: error: Module has no attribute "WinError"
pandas/_config/config.py:458: error: Module has no attribute "Name"
pandas/_config/config.py:469: error: Incompatible types in assignment (expression has type "Dict[<nothing>, <nothing>]", target has type "str")
pandas/_config/config.py:470: error: Incompatible types in assignment (expression has type "str", variable has type "Dict[str, str]")
pandas/_config/config.py:557: error: Incompatible types in assignment (expression has type "str", variable has type "Dict[str, str]")
pandas/_config/config.py:682: error: Need type annotation for 'ls'
pandas/util/_print_versions.py:104: error: Incompatible types in assignment (expression has type "None", variable has type "str")
pandas/util/_print_versions.py:111: error: Name 'json' already defined (by an import)
pandas/io/clipboard/windows.py:41: error: Module has no attribute "windll"
pandas/io/clipboard/clipboards.py:31: error: Name 'QApplication' already defined (possibly by an import)
pandas/io/clipboard/clipboards.py:33: error: Name 'QApplication' already defined (possibly by an import)
pandas/_config/localization.py:104: error: Too few arguments for "CalledProcessError"
pandas/_config/localization.py:104: error: Argument 1 to "CalledProcessError" has incompatible type "str"; expected "int"
pandas/core/computation/expressions.py:81: error: Need type annotation for 'dtypes'
pandas/core/computation/expressions.py:220: error: "None" not callable
pandas/core/computation/expressions.py:237: error: "None" not callable
pandas/core/computation/expressions.py:249: error: Need type annotation for '_TEST_RESULT'
pandas/io/formats/printing.py:64: error: "str" has no attribute "decode"; maybe "encode"?
pandas/io/formats/printing.py:197: error: "str" has no attribute "decode"; maybe "encode"?
pandas/io/formats/printing.py:516: error: Argument 1 to "append" of "list" has incompatible type "Tuple[str, int]"; expected "Tuple[str, str]"
pandas/io/formats/console.py:68: error: Name '__IPYTHON__' is not defined
pandas/io/formats/console.py:78: error: Name 'get_ipython' is not defined
pandas/core/config_init.py:311: error: Name 'get_ipython' is not defined
pandas/core/dtypes/common.py:355: error: "None" not callable
pandas/io/common.py:334: error: Incompatible types in assignment (expression has type "Tuple[Type[BytesIO]]", variable has type "Tuple[Type[BytesIO], Any]")
pandas/io/excel/_util.py:109: error: Need type annotation for 'cols'
pandas/core/apply.py:38: error: Incompatible types in assignment (expression has type "Type[FrameColumnApply]", variable has type "Type[FrameRowApply]")
pandas/io/sas/sasreader.py:75: error: Incompatible types in assignment (expression has type "SAS7BDATReader", variable has type "XportReader")
pandas/io/formats/csvs.py:232: error: Need type annotation for 'encoded_labels'
pandas/core/dtypes/cast.py:1203: error: Incompatible types in assignment (expression has type "Categorical", variable has type "DatetimeIndex")
pandas/core/dtypes/cast.py:1219: error: "DatetimeIndex" has no attribute "fill"
pandas/core/nanops.py:556: error: Item "bool" of "Union[bool, Any]" has no attribute "any"
pandas/core/missing.py:239: error: Incompatible types in assignment (expression has type "List[Union[int, Any]]", variable has type "Set[Union[int, Any]]")
pandas/core/missing.py:610: error: Need type annotation for 'f_idx'
pandas/core/missing.py:611: error: Need type annotation for 'b_idx'
pandas/core/missing.py:635: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "Set[Any]")
pandas/core/algorithms.py:1506: error: Name 'func' already defined on line 1485
pandas/core/algorithms.py:1708: error: Incompatible types in assignment (expression has type "Tuple[Any, ...]", variable has type "List[Any]")
pandas/core/algorithms.py:1954: error: Incompatible types in assignment (expression has type "Tuple[slice, ...]", variable has type "List[slice]")
pandas/core/algorithms.py:1958: error: Incompatible types in assignment (expression has type "Tuple[slice, ...]", variable has type "List[slice]")
pandas/plotting/_matplotlib/misc.py:133: error: Need type annotation for 'to_plot'
pandas/plotting/_matplotlib/misc.py:234: error: Need type annotation for 'used_legends'
pandas/plotting/_matplotlib/misc.py:334: error: Need type annotation for 'used_legends'
pandas/core/tools/datetimes.py:328: error: Item "DatetimeIndex" of "Union[DatetimeArray, DatetimeIndex]" has no attribute "tz_convert"
pandas/core/tools/datetimes.py:1055: error: Argument 1 to "append" of "list" has incompatible type "None"; expected "time"
pandas/core/tools/datetimes.py:1082: error: Argument 1 to "append" of "list" has incompatible type "None"; expected "time"
pandas/core/internals/concat.py:47: error: Incompatible types in assignment (expression has type "Tuple[Any, ...]", variable has type "List[Any]")
pandas/core/internals/concat.py:74: error: Incompatible types in assignment (expression has type "Tuple[Any, ...]", variable has type "List[Any]")
pandas/core/internals/concat.py:303: error: Need type annotation for 'upcast_classes'
pandas/core/internals/concat.py:304: error: Need type annotation for 'null_upcast_classes'
pandas/tseries/offsets.py:518: error: Incompatible types in assignment (expression has type "None", variable has type "List[str]")
pandas/tseries/frequencies.py:168: error: Unsupported operand types for * ("object" and "int")
pandas/tseries/frequencies.py:274: error: Incompatible types in assignment (expression has type "_FrequencyInferer", variable has type "_TimedeltaFrequencyInferer")
pandas/plotting/_matplotlib/core.py:161: error: Need type annotation for 'legend_handles'
pandas/plotting/_matplotlib/core.py:162: error: Need type annotation for 'legend_labels'
pandas/plotting/_matplotlib/core.py:554: error: Need type annotation for 'handles'
pandas/plotting/_matplotlib/core.py:555: error: Need type annotation for 'labels'
pandas/plotting/_matplotlib/core.py:651: error: Incompatible types in assignment (expression has type "Tuple[Any, Any]", variable has type "Tuple[Any, Any, Any]")
pandas/plotting/_matplotlib/core.py:1486: error: Incompatible types in assignment (expression has type "None", variable has type "List[Any]")
pandas/core/computation/align.py:24: error: Unsupported operand types for + ("Tuple[partial[Any]]" and "Tuple[None]")
pandas/core/computation/align.py:24: error: Incompatible types in assignment (expression has type "Tuple[partial[Any], ...]", variable has type "Tuple[partial[Any]]")
pandas/core/computation/align.py:26: error: Incompatible types in assignment (expression has type "Tuple[partial[Any], ...]", variable has type "Tuple[partial[Any]]")
pandas/core/computation/align.py:37: error: Module has no attribute "generic"
pandas/core/computation/align.py:120: error: Module has no attribute "generic"
pandas/core/computation/align.py:160: error: Module has no attribute "generic"
pandas/core/strings.py:1059: error: Need type annotation for 'tags'
pandas/core/strings.py:1062: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "Set[Any]")
pandas/core/base.py:386: error: Need type annotation for 'new_arg'
pandas/core/base.py:455: error: Need type annotation for 'result'
pandas/core/base.py:462: error: Need type annotation for 'result'
pandas/core/base.py:470: error: Incompatible types in assignment (expression has type "OrderedDict[<nothing>, <nothing>]", variable has type "List[Any]")
pandas/core/base.py:472: error: "List[Any]" has no attribute "update"
pandas/core/base.py:473: error: "List[Any]" has no attribute "keys"
pandas/core/base.py:478: error: Incompatible types in assignment (expression has type "None", variable has type "List[Any]")
pandas/core/base.py:518: error: "List[Any]" has no attribute "values"
pandas/core/base.py:522: error: "List[Any]" has no attribute "values"
pandas/core/base.py:567: error: Incompatible types in assignment (expression has type "None", variable has type "List[Any]")
pandas/core/indexes/frozen.py:76: error: "__getslice__" undefined in superclass
pandas/core/indexes/base.py:335: error: Incompatible types in assignment (expression has type "TimedeltaIndex", variable has type "DatetimeIndex")
pandas/core/indexes/base.py:338: error: Incompatible types in assignment (expression has type "TimedeltaIndex", variable has type "DatetimeIndex")
pandas/core/indexes/base.py:346: error: Incompatible types in assignment (expression has type "PeriodIndex", variable has type "DatetimeIndex")
pandas/core/indexes/base.py:422: error: Name 'PeriodIndex' already defined on line 70
pandas/core/indexes/base.py:422: error: Module 'pandas.core.indexes.period' has no attribute 'IncompatibleFrequency'
pandas/core/indexes/base.py:433: error: Name 'Float64Index' already defined on line 349
pandas/core/indexes/base.py:456: error: Name 'Float64Index' already defined on line 349
pandas/core/indexes/base.py:460: error: Name 'IntervalIndex' already defined on line 170
pandas/core/indexes/base.py:472: error: Name 'DatetimeIndex' already defined on line 88
pandas/core/indexes/base.py:483: error: Name 'TimedeltaIndex' already defined on line 52
pandas/core/indexes/base.py:809: error: "DatetimeIndex" has no attribute "tz_localize"
pandas/core/indexes/base.py:816: error: Name 'DatetimeIndex' already defined on line 88
pandas/core/indexes/base.py:1100: error: "List[Any]" has no attribute "tolist"
pandas/core/indexes/base.py:1650: error: Unexpected keyword argument "levels" for "MultiIndex"
pandas/core/indexes/base.py:5698: error: Name 'copy' already defined on line 5638
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:1650: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:1650: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:1650: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:3623: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:3623: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:3623: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:3623: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:3788: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:3788: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:3788: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:3788: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/base.py:335: error: Incompatible types in assignment (expression has type "TimedeltaIndex", variable has type "DatetimeIndex")
pandas/core/indexes/base.py:338: error: Incompatible types in assignment (expression has type "TimedeltaIndex", variable has type "DatetimeIndex")
pandas/core/indexes/base.py:346: error: Incompatible types in assignment (expression has type "PeriodIndex", variable has type "DatetimeIndex")
pandas/core/arrays/sparse.py:290: error: Incompatible types in assignment (expression has type "Union[str, bool]", variable has type "bool")
pandas/core/arrays/sparse.py:1151: error: Need type annotation for 'result'
pandas/core/arrays/interval.py:446: error: Need type annotation for 'left'
pandas/core/arrays/interval.py:446: error: Need type annotation for 'right'
pandas/core/arrays/categorical.py:697: error: Incompatible types in assignment (expression has type "None", variable has type "str")
pandas/core/arrays/categorical.py:1136: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "Set[Any]")
pandas/core/arrays/categorical.py:1645: error: "argsort" gets multiple values for keyword argument "ascending"
pandas/core/arrays/categorical.py:1645: error: "argsort" gets multiple values for keyword argument "kind"
pandas/core/arrays/categorical.py:2254: error: Incompatible types in assignment (expression has type "Dict[Any, Any]", variable has type "Generator[Any, None, None]")
pandas/core/internals/blocks.py:1652: error: Too many arguments for "__init__" of "object"
pandas/core/internals/blocks.py:1652: error: Unexpected keyword argument "ndim" for "__init__" of "object"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "__init__" of "object" defined here
pandas/core/internals/blocks.py:2856: error: Need type annotation for 'result_blocks'
pandas/core/internals/blocks.py:3195: error: Incompatible types in assignment (expression has type "Type[DatetimeBlock]", variable has type "Type[ExtensionBlock]")
pandas/core/internals/blocks.py:3203: error: Incompatible types in assignment (expression has type "Type[FloatBlock]", variable has type "Type[ExtensionBlock]")
pandas/core/internals/blocks.py:3206: error: Incompatible types in assignment (expression has type "Type[TimeDeltaBlock]", variable has type "Type[ExtensionBlock]")
pandas/core/internals/blocks.py:3208: error: Incompatible types in assignment (expression has type "Type[ComplexBlock]", variable has type "Type[ExtensionBlock]")
pandas/core/internals/blocks.py:3210: error: Incompatible types in assignment (expression has type "Type[IntBlock]", variable has type "Type[ExtensionBlock]")
pandas/core/internals/blocks.py:3212: error: Incompatible types in assignment (expression has type "Type[BoolBlock]", variable has type "Type[ExtensionBlock]")
pandas/core/internals/blocks.py:3214: error: Incompatible types in assignment (expression has type "Type[ObjectBlock]", variable has type "Type[ExtensionBlock]")
pandas/core/indexes/multi.py:424: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:424: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:424: error: Unexpected keyword argument "sortorder" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:424: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:424: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:478: error: Need type annotation for 'arrays'
pandas/core/indexes/multi.py:540: error: Too many arguments for "MultiIndex"
pandas/core/indexes/multi.py:540: error: Unexpected keyword argument "sortorder" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:540: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:676: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "FrozenList")
pandas/core/indexes/multi.py:796: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "FrozenList")
pandas/core/indexes/multi.py:952: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:952: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:952: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:952: error: Unexpected keyword argument "sortorder" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:952: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:952: error: Unexpected keyword argument "_set_identity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:975: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:975: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:975: error: Too many arguments for "MultiIndex"
pandas/core/indexes/multi.py:1092: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1092: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1092: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1092: error: Unexpected keyword argument "sortorder" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1092: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1724: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1724: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1724: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1846: error: Too many arguments for "MultiIndex"
pandas/core/indexes/multi.py:1846: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1846: error: Unexpected keyword argument "sortorder" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1846: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:1979: error: Item "None" of "Optional[Any]" has no attribute "__iter__" (not iterable)
pandas/core/indexes/multi.py:2012: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2012: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2012: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2012: error: Unexpected keyword argument "sortorder" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2012: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2031: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2031: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2031: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2031: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2101: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2101: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2101: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2101: error: Unexpected keyword argument "sortorder" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2101: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2155: error: Argument 1 to "range" has incompatible type "Optional[int]"; expected "int"
pandas/core/indexes/multi.py:2155: error: Argument 2 to "range" has incompatible type "Optional[int]"; expected "int"
pandas/core/indexes/multi.py:2240: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2240: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2240: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2240: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2265: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2265: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2265: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2265: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2363: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2363: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2363: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2363: error: Unexpected keyword argument "sortorder" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:2363: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3102: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3102: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3102: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3250: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "Set[Any]")
pandas/core/indexes/multi.py:3253: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3253: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3253: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3253: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3293: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3293: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3293: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3293: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3311: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3311: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3311: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3311: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3340: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3340: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3340: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3391: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3391: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3391: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3391: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3404: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3404: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3404: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/multi.py:3404: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/indexes/datetimelike.py:202: error: 'staticmethod' used with a non-method
pandas/core/indexes/datetimelike.py:475: error: "_format_attrs" undefined in superclass
pandas/core/indexes/datetimelike.py:509: error: "_convert_scalar_indexer" undefined in superclass
pandas/core/indexes/category.py:599: error: Need type annotation for 'missing'
pandas/core/computation/scope.py:140: error: Cannot determine type of 'resolvers'
pandas/core/computation/scope.py:142: error: Need type annotation for 'temps'
pandas/core/computation/scope.py:201: error: Module has no attribute "ops"
pandas/core/indexes/datetimes.py:523: error: "None" has no attribute "_dtype"
pandas/core/indexes/datetimes.py:557: error: "None" has no attribute "_dtype"
pandas/core/indexes/datetimes.py:814: error: "DatetimeIndex" has no attribute "tz_convert"
pandas/core/indexes/datetimes.py:1167: error: "bool" has no attribute "nonzero"
pandas/core/computation/ops.py:434: error: Incompatible types in assignment (expression has type "Callable[[Any, Any, Any, Any, Any, Any], Any]", variable has type "partial[Any]")
pandas/core/computation/ops.py:489: error: Too many arguments for "__init__"
pandas/core/indexes/interval.py:532: error: Need type annotation for 'seen_pairs'
pandas/core/computation/expr.py:319: error: Unsupported operand types for + ("Tuple[]" and "Tuple[str]")
pandas/core/computation/expr.py:319: error: Unsupported operand types for + ("Tuple[<nothing>, ...]" and "Tuple[str]")
pandas/core/computation/expr.py:701: error: "expr" has no attribute "id"
pandas/core/computation/expr.py:715: error: Too many arguments for "__call__"
pandas/core/computation/expr.py:725: error: "expr" has no attribute "id"
pandas/core/computation/engines.py:123: error: "KeyError" has no attribute "message"
pandas/core/computation/engines.py:126: error: Too few arguments for "UndefinedVariableError"
pandas/core/indexes/api.py:101: error: Need type annotation for 'ids'
pandas/core/computation/pytables.py:172: error: Incompatible types in assignment (expression has type "Callable[[Any, Any, Any, Any, Any, Any], Any]", variable has type "partial[Any]")
pandas/core/computation/pytables.py:536: error: Unsupported target for indexed assignment
pandas/core/computation/eval.py:326: error: Cannot instantiate abstract class 'AbstractEngine' with abstract attribute '_evaluate'
pandas/plotting/_matplotlib/converter.py:1049: error: Need type annotation for 'locs'
pandas/io/formats/format.py:1165: error: Cannot call function of unknown type
pandas/io/formats/format.py:1234: error: "str" not callable
pandas/io/formats/format.py:1234: error: Unexpected keyword argument "value" for "__call__" of "EngFormatter"
pandas/io/formats/format.py:1234: error: "None" not callable
pandas/io/formats/format.py:1677: error: Item "None" of "Optional[TextAdjustment]" has no attribute "len"
pandas/io/formats/format.py:1769: note: "__call__" of "EngFormatter" defined here
pandas/core/indexing.py:1746: error: List item 0 has incompatible type "slice"; expected "str"
pandas/core/indexing.py:1754: error: No overload variant of "slice" matches argument types "str", "str", "None"
pandas/core/indexing.py:1754: note: Possible overload variant:
pandas/core/indexing.py:1754: note: def __init__(self, start: Optional[int], stop: Optional[int], step: Optional[int] = ...) -> slice
pandas/core/indexing.py:1754: note: <1 more non-matching overload not shown>
pandas/core/indexing.py:1754: note: def __init__(self, start: Optional[int], stop: Optional[int], step: Optional[int] = ...) -> slice
pandas/core/internals/managers.py:243: error: Need type annotation for 'counts'
pandas/core/internals/managers.py:549: error: Argument 1 to "SingleBlockManager" has incompatible type "List[Any]"; expected "Block"
pandas/core/internals/managers.py:622: error: Need type annotation for 'new_rb'
pandas/core/internals/managers.py:747: error: Incompatible types in assignment (expression has type "Tuple[slice, ...]", variable has type "List[slice]")
pandas/core/internals/managers.py:835: error: Item "ExtensionDtype" of "Union[Any, ExtensionDtype, None]" has no attribute "subtype"
pandas/core/internals/managers.py:835: error: Item "None" of "Union[Any, ExtensionDtype, None]" has no attribute "subtype"
pandas/core/internals/managers.py:871: error: Need type annotation for 'bd'
pandas/core/internals/managers.py:914: error: Item "None" of "Union[Any, ExtensionDtype, None]" has no attribute "construct_array_type"
pandas/core/internals/managers.py:982: error: Argument 1 to "SingleBlockManager" has incompatible type "List[Any]"; expected "Block"
pandas/core/internals/managers.py:1121: error: Need type annotation for 'new_blocks'
pandas/core/internals/managers.py:1441: error: Need type annotation for 'new_blocks'
pandas/core/internals/managers.py:1442: error: Need type annotation for 'columns_mask'
pandas/core/internals/managers.py:1727: error: Need type annotation for 'items_dict'
pandas/core/internals/managers.py:1748: error: Need type annotation for 'blocks'
pandas/core/internals/managers.py:1908: error: Need type annotation for 'new_blocks'
pandas/plotting/_matplotlib/timeseries.py:163: error: "type" has no attribute "_plot"
pandas/core/generic.py:470: error: Need type annotation for 'd'
pandas/core/generic.py:2068: error: Need type annotation for '_item_cache'
pandas/core/generic.py:3713: error: Incompatible types in assignment (expression has type "Tuple[slice, ...]", variable has type "List[slice]")
pandas/core/generic.py:5860: error: "append" of "list" does not return a value
pandas/core/generic.py:5865: error: Incompatible types in assignment (expression has type "Generator[Any, None, None]", variable has type "List[Any]")
pandas/core/generic.py:6648: error: 'builtins.object' object is not iterable
pandas/core/generic.py:7225: error: Name 'Series' already defined on line 141
pandas/core/generic.py:10253: error: Need type annotation for 'names'
pandas/core/internals/construction.py:184: error: "_get_axes" gets multiple values for keyword argument "index"
pandas/core/internals/construction.py:184: error: "_get_axes" gets multiple values for keyword argument "columns"
pandas/core/internals/construction.py:248: error: Incompatible types in assignment (expression has type "Generator[Union[List[Any], Any], None, None]", variable has type "Series")
pandas/core/internals/construction.py:251: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "Series")
pandas/core/internals/construction.py:254: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "Series")
pandas/core/internals/construction.py:336: error: Need type annotation for 'raw_lengths'
pandas/core/internals/construction.py:376: error: Argument 1 to "len" has incompatible type "Optional[Index]"; expected "Sized"
pandas/core/internals/construction.py:379: error: Argument 1 to "len" has incompatible type "Optional[Index]"; expected "Sized"
pandas/core/internals/construction.py:414: error: No overload variant of "__setitem__" of "list" matches argument types "int", "str"
pandas/core/internals/construction.py:414: note: Possible overload variants:
pandas/core/internals/construction.py:414: note: def __setitem__(self, int, int) -> None
pandas/core/internals/construction.py:414: note: def __setitem__(self, slice, Iterable[int]) -> None
pandas/core/internals/construction.py:511: error: Need type annotation for 'indexer_cache'
pandas/core/internals/construction.py:562: error: Argument 2 to "isinstance" has incompatible type "object"; expected "Union[type, Tuple[Union[type, Tuple[Any, ...]], ...]]"
pandas/core/series.py:2736: error: Unsupported operand types for + ("List[Any]" and "Tuple[Any, ...]")
pandas/core/series.py:2736: note: Right operand is of type "Union[List[Any], Tuple[Any, ...]]"
pandas/core/series.py:4298: error: Too many arguments for "fillna"
pandas/core/frame.py:966: error: namedtuple() expects a string literal as the first argument
pandas/core/frame.py:2097: error: Name 'statawriter' already defined on line 2062
pandas/core/frame.py:2495: error: Item "None" of "Optional[Any]" has no attribute "iloc"
pandas/core/frame.py:2757: error: Module has no attribute "_unpickle_array"
pandas/core/frame.py:2759: error: Module has no attribute "_unpickle_array"
pandas/core/frame.py:2766: error: Module has no attribute "_unpickle_array"
pandas/core/frame.py:2767: error: Module has no attribute "_unpickle_array"
pandas/core/frame.py:2772: error: Module has no attribute "_unpickle_array"
pandas/core/frame.py:3610: error: Need type annotation for 'results'
pandas/core/frame.py:4190: error: Too many arguments for "fillna"
pandas/core/frame.py:4327: error: Need type annotation for 'missing'
pandas/core/frame.py:4357: error: Need type annotation for 'names'
pandas/core/frame.py:4366: error: Need type annotation for 'to_remove'
pandas/core/frame.py:4600: error: Too many arguments for "DatetimeLikeArrayMixin"
pandas/core/frame.py:4600: error: Unexpected keyword argument "dtype" for "DatetimeLikeArrayMixin"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "DatetimeLikeArrayMixin" defined here
pandas/core/frame.py:4622: error: Incompatible types in assignment (expression has type "Tuple[Tuple[Any, None]]", variable has type "Iterator[Tuple[Any, Any]]")
pandas/core/frame.py:4622: note: 'tuple' is missing following 'Iterator' protocol member:
pandas/core/frame.py:4622: note: __next__
pandas/core/frame.py:7060: error: Unsupported operand types for + ("List[Any]" and "Tuple[Any, ...]")
pandas/core/frame.py:7060: note: Right operand is of type "Union[List[Any], Tuple[Any, ...]]"
pandas/core/frame.py:8429: error: Need type annotation for 'new_data'
pandas/io/parsers.py:929: error: Incompatible types in assignment (expression has type "object", variable has type "Union[bytes, int, str, None]")
pandas/io/parsers.py:1366: error: Need type annotation for 'unnamed_cols'
pandas/io/parsers.py:1430: error: Need type annotation for 'handles'
pandas/io/parsers.py:1529: error: Need type annotation for 'counts'
pandas/io/parsers.py:1576: error: Item "None" of "Optional[Any]" has no attribute "set_names"
pandas/io/parsers.py:2003: error: Incompatible types in assignment (expression has type "None", variable has type "List[Any]")
pandas/io/parsers.py:2223: error: Need type annotation for 'buf'
pandas/io/parsers.py:2269: error: Need type annotation for '_comment_lines'
pandas/io/parsers.py:2559: error: Need type annotation for 'unnamed_cols'
pandas/io/parsers.py:2573: error: Need type annotation for 'columns'
pandas/io/parsers.py:2620: error: Need type annotation for 'counts'
pandas/io/parsers.py:2644: error: List item 0 has incompatible type "None"; expected "str"
pandas/io/parsers.py:2647: error: Argument 1 to "append" of "list" has incompatible type "List[str]"; expected "List[None]"
pandas/io/parsers.py:2694: error: List comprehension has incompatible type List[str]; expected List[None]
pandas/io/parsers.py:2699: error: Argument 1 to "list" has incompatible type "range"; expected "Iterable[None]"
pandas/io/parsers.py:2699: note: Following member(s) of "range" have conflicts:
pandas/io/parsers.py:2699: note: Expected:
pandas/io/parsers.py:2699: note: def __iter__(self) -> Iterator[None]
pandas/io/parsers.py:2699: note: Got:
pandas/io/parsers.py:2699: note: def __iter__(self) -> Iterator[int]
pandas/io/parsers.py:3305: error: Need type annotation for 'date_cols'
pandas/io/parsers.py:3384: error: Need type annotation for 'na_fvalues'
pandas/io/parsers.py:3401: error: Incompatible types in assignment (expression has type "Dict[Any, Any]", variable has type "Set[Any]")
pandas/io/parsers.py:3442: error: No overload variant of "__setitem__" of "list" matches argument types "int", "None"
pandas/io/parsers.py:3442: note: Possible overload variants:
pandas/io/parsers.py:3442: note: def __setitem__(self, int, str) -> None
pandas/io/parsers.py:3442: note: def __setitem__(self, slice, Iterable[str]) -> None
pandas/io/parsers.py:3519: error: Argument 1 to "append" of "list" has incompatible type "float"; expected "str"
pandas/io/parsers.py:3523: error: Argument 1 to "append" of "list" has incompatible type "int"; expected "str"
pandas/core/reshape/reshape.py:293: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:293: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:293: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:293: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:307: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:307: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:307: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:307: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:344: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:344: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:344: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:344: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:384: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:384: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:384: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:384: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:431: error: Incompatible types in assignment (expression has type "_Unstacker", variable has type "partial[_Unstacker]")
pandas/core/reshape/reshape.py:439: error: "partial[_Unstacker]" has no attribute "get_result"
pandas/core/reshape/reshape.py:525: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:525: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:525: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:525: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:531: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:531: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:531: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:531: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:684: error: Unsupported operand types for - ("int" and "None")
pandas/core/reshape/reshape.py:684: error: Unsupported operand types for - ("None" and "int")
pandas/core/reshape/reshape.py:684: error: Unsupported left operand type for - ("None")
pandas/core/reshape/reshape.py:684: note: Both left and right operands are unions
pandas/core/reshape/reshape.py:733: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:733: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:733: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:733: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/reshape.py:898: error: Need type annotation for 'with_dummies'
pandas/core/reshape/reshape.py:1000: error: Incompatible types in assignment (expression has type "float", variable has type "int")
pandas/core/reshape/reshape.py:1004: error: Need type annotation for 'sp_indices'
pandas/core/groupby/ops.py:285: error: Incompatible types in assignment (expression has type "Index", variable has type "Iterator[Any]")
pandas/core/groupby/ops.py:285: note: 'Index' is missing following 'Iterator' protocol member:
pandas/core/groupby/ops.py:285: note: __next__
pandas/core/groupby/ops.py:336: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/ops.py:336: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/ops.py:336: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/ops.py:336: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/ops.py:436: error: "None" not callable
pandas/core/groupby/ops.py:792: error: Need type annotation for 'indices'
pandas/core/groupby/ops.py:947: error: Incompatible types in assignment (expression has type "Type[FrameSplitter]", variable has type "Type[SeriesSplitter]")
pandas/core/groupby/groupby.py:850: error: Need type annotation for 'output'
pandas/core/groupby/groupby.py:2219: error: Need type annotation for 'output'
pandas/core/groupby/groupby.py:2474: error: Incompatible types in assignment (expression has type "Type[DataFrameGroupBy]", variable has type "Type[SeriesGroupBy]")
pandas/io/excel/_base.py:427: error: Need type annotation for 'output'
pandas/io/excel/_base.py:695: error: Need type annotation for 'sheets'
pandas/core/sparse/frame.py:94: error: Item "SparseArray" of "Union[SparseSeries, SparseArray]" has no attribute "index"
pandas/core/sparse/frame.py:98: error: Item "SparseArray" of "Union[SparseSeries, SparseArray]" has no attribute "name"
pandas/core/sparse/frame.py:308: error: Name '_unpickle_array' already defined on line 170
pandas/core/sparse/frame.py:1004: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/sparse/frame.py:1004: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/sparse/frame.py:1004: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/io/excel/_xlwt.py:52: error: Need type annotation for 'style_dict'
pandas/io/excel/_openpyxl.py:398: error: Need type annotation for '_style_cache'
pandas/io/excel/_openpyxl.py:420: error: Need type annotation for 'style_kwargs'
pandas/io/excel/_openpyxl.py:423: error: Incompatible types in assignment (expression has type "Optional[Any]", variable has type "Dict[Any, Any]")
pandas/core/groupby/generic.py:278: error: Need type annotation for 'result'
pandas/core/groupby/generic.py:303: error: Need type annotation for 'result'
pandas/core/groupby/generic.py:471: error: Name 'concat' already defined on line 31
pandas/core/groupby/generic.py:915: error: Need type annotation for 'results'
pandas/core/groupby/generic.py:993: error: Need type annotation for 'result'
pandas/core/groupby/generic.py:1105: error: Too many arguments
pandas/core/groupby/generic.py:1272: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/generic.py:1272: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/generic.py:1272: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/generic.py:1272: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/generic.py:1303: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/generic.py:1303: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/generic.py:1303: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/generic.py:1303: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/groupby/generic.py:303: error: Need type annotation for 'result'
pandas/core/groupby/generic.py:1738: error: Need type annotation for 'aggspec'
pandas/io/sql.py:51: error: Name 'sqlalchemy' already defined (possibly by an import)
pandas/io/sql.py:786: error: "insert" of "list" does not return a value
pandas/io/sql.py:1456: error: "insert" of "list" does not return a value
pandas/io/stata.py:675: error: Need type annotation for 'off'
pandas/io/stata.py:676: error: Need type annotation for 'val'
pandas/io/stata.py:677: error: Need type annotation for 'txt'
pandas/io/stata.py:934: error: Argument 1 to "list" has incompatible type "str"; expected "Iterable[int]"
pandas/io/stata.py:934: note: Following member(s) of "str" have conflicts:
pandas/io/stata.py:934: note: Expected:
pandas/io/stata.py:934: note: def __iter__(self) -> Iterator[int]
pandas/io/stata.py:934: note: Got:
pandas/io/stata.py:934: note: def __iter__(self) -> Iterator[str]
pandas/io/stata.py:1229: error: Name 'f' already defined on line 1219
pandas/io/stata.py:1463: error: Need type annotation for 'value_label_dict'
pandas/io/stata.py:1766: error: Incompatible types in assignment (expression has type "DataFrame", variable has type "Dict[Any, Series]")
pandas/io/stata.py:1767: error: "Dict[Any, Series]" has no attribute "columns"
pandas/io/stata.py:1836: error: Incompatible types in assignment (expression has type "str", variable has type "List[Any]")
pandas/io/stata.py:1851: error: Incompatible types in assignment (expression has type "Series", variable has type "Categorical")
pandas/io/stata.py:2160: error: Need type annotation for '_converted_names'
pandas/io/stata.py:2174: error: Need type annotation for '_value_labels'
pandas/io/stata.py:2309: error: Need type annotation for 'typlist'
pandas/io/stata.py:2310: error: Need type annotation for 'fmtlist'
pandas/io/stata.py:3075: error: Argument 1 to "write" of "BytesIO" has incompatible type "str"; expected "Union[bytes, bytearray]"
pandas/io/pytables.py:1107: error: Need type annotation for 'remain_values'
pandas/io/pytables.py:1181: error: Item "None" of "Optional[Any]" has no attribute "link"
pandas/io/pytables.py:1229: error: Item "None" of "Optional[Any]" has no attribute "group"
pandas/io/pytables.py:1243: error: Item "None" of "Optional[Any]" has no attribute "exceptions"
pandas/io/pytables.py:1302: error: Incompatible types in assignment (expression has type "List[Any]", variable has type "bool")
pandas/io/pytables.py:1399: error: Item "None" of "Optional[Any]" has no attribute "table"
pandas/io/pytables.py:2871: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/io/pytables.py:2871: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/io/pytables.py:2871: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/io/pytables.py:2871: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/io/pytables.py:3275: error: Need type annotation for 'index_axes'
pandas/io/pytables.py:3276: error: Need type annotation for 'non_index_axes'
pandas/io/pytables.py:3277: error: Need type annotation for 'values_axes'
pandas/io/pytables.py:3278: error: Need type annotation for 'data_columns'
pandas/io/pytables.py:3279: error: Need type annotation for 'metadata'
pandas/io/pytables.py:3280: error: Need type annotation for 'info'
pandas/io/pytables.py:3553: error: Need type annotation for '_indexables'
pandas/io/pytables.py:3556: error: "None" has no attribute "extend"
pandas/io/pytables.py:3565: error: Argument 1 to "len" has incompatible type "None"; expected "Sized"
pandas/io/pytables.py:3575: error: "None" has no attribute "extend"
pandas/io/pytables.py:4060: error: Too many arguments for "Selection"
pandas/io/pytables.py:4147: error: Incompatible types in assignment (expression has type "Optional[List[IndexCol]]", base class "Table" defined the type as "List[Any]")
pandas/io/pytables.py:4372: error: Too many arguments for "Selection"
pandas/io/pytables.py:4817: error: Incompatible types in assignment (expression has type "TimedeltaIndex", variable has type "DatetimeIndex")
pandas/io/parquet.py:80: error: Name 'pyarrow' already defined on line 77
pandas/io/parquet.py:98: error: Need type annotation for 'from_pandas_kwargs'
pandas/io/packers.py:229: error: Incompatible types in assignment (expression has type "None", variable has type "BinaryIO")
pandas/io/packers.py:417: error: "DatetimeIndex" has no attribute "tz_convert"
pandas/io/packers.py:651: error: "DatetimeIndex" has no attribute "tz_localize"
pandas/io/packers.py:873: error: Argument 1 to "BytesIO" has incompatible type "str"; expected "bytes"
pandas/io/html.py:99: error: Argument 2 to "range" has incompatible type "Optional[int]"; expected "int"
pandas/io/html.py:126: error: Incompatible types in assignment (expression has type "Union[str, bytes]", variable has type "bytes")
pandas/io/html.py:438: error: Need type annotation for 'remainder'
pandas/io/html.py:545: error: Need type annotation for 'unique_tables'
pandas/io/html.py:736: error: Need type annotation for 'rows'
pandas/io/json/_table_schema.py:267: error: Incompatible types in assignment (expression has type "str", target has type "List[Any]")
pandas/io/json/_normalize.py:290: error: Argument 1 to "zip" has incompatible type "Union[str, List[Any], None]"; expected "Iterable[Any]"
pandas/io/json/_normalize.py:307: error: Argument 1 to "zip" has incompatible type "Union[str, List[Any], None]"; expected "Iterable[Any]"
pandas/io/json/_json.py:64: error: Incompatible types in assignment (expression has type "Type[SeriesWriter]", variable has type "Type[JSONTableWriter]")
pandas/io/json/_json.py:66: error: Incompatible types in assignment (expression has type "Type[FrameWriter]", variable has type "Type[JSONTableWriter]")
pandas/io/json/_json.py:830: error: Incompatible types in assignment (expression has type "str", variable has type "Set[Any]")
pandas/io/json/_json.py:1136: error: Incompatible types in assignment (expression has type "DataFrame", variable has type "Dict[int, Any]")
pandas/io/json/_json.py:1137: error: "Dict[int, Any]" has no attribute "columns"
pandas/core/reshape/tile.py:517: error: Incompatible types in assignment (expression has type "Callable[[Any], Any]", variable has type "partial[Any]")
pandas/core/reshape/pivot.py:214: error: Incompatible types in assignment (expression has type "str", variable has type "Tuple[str, ...]")
pandas/core/reshape/pivot.py:548: error: Need type annotation for 'data'
pandas/core/reshape/pivot.py:605: error: Invalid index type "bool" for "Dict[str, Callable[[Any], Any]]"; expected type "str"
pandas/core/reshape/merge.py:922: error: Need type annotation for 'join_names'
pandas/core/reshape/merge.py:1770: error: Unsupported operand types for - ("_T" and "int")
pandas/core/reshape/merge.py:1772: error: Unsupported operand types for + ("_T" and "int")
pandas/core/reshape/merge.py:1772: error: Incompatible types in assignment (expression has type "int", target has type "_T")
pandas/core/reshape/merge.py:1774: error: Unsupported target for indexed assignment
pandas/core/reshape/merge.py:1774: error: Unsupported operand types for - ("_T" and "int")
pandas/core/reshape/melt.py:472: error: "List[Any]" has no attribute "reset_index"
pandas/core/reshape/concat.py:559: error: No overload variant of "__setitem__" of "list" matches argument types "int", "int"
pandas/core/reshape/concat.py:559: note: Possible overload variants:
pandas/core/reshape/concat.py:559: note: def __setitem__(self, int, None) -> None
pandas/core/reshape/concat.py:559: note: def __setitem__(self, slice, Iterable[None]) -> None
pandas/core/reshape/concat.py:667: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/concat.py:667: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/concat.py:667: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/concat.py:667: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/concat.py:708: error: Unexpected keyword argument "levels" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/concat.py:708: error: Unexpected keyword argument "codes" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/concat.py:708: error: Unexpected keyword argument "names" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/core/reshape/concat.py:708: error: Unexpected keyword argument "verify_integrity" for "MultiIndex"
/Users/williamayd/miniconda3/envs/pandas-dev/lib/python3.7/site-packages/mypy/typeshed/stdlib/2and3/builtins.pyi:44: note: "MultiIndex" defined here
pandas/util/testing.py:85: error: Argument 2 to "simplefilter" has incompatible type "Tuple[Type[DeprecationWarning], Type[ResourceWarning]]"; expected "Type[Warning]"
pandas/util/testing.py:92: error: Argument 2 to "simplefilter" has incompatible type "Tuple[Type[DeprecationWarning], Type[ResourceWarning]]"; expected "Type[Warning]"
pandas/util/testing.py:210: error: Incompatible types in assignment (expression has type "IO[Any]", variable has type "BinaryIO")
pandas/util/testing.py:212: error: Incompatible types in assignment (expression has type "BZ2File", variable has type "BinaryIO")
pandas/util/testing.py:214: error: Incompatible types in assignment (expression has type "LZMAFile", variable has type "BinaryIO")
pandas/util/testing.py:219: error: Incompatible types in assignment (expression has type "IO[bytes]", variable has type "BinaryIO")
pandas/util/testing.py:261: error: Incompatible types in assignment (expression has type "Type[GzipFile]", variable has type "Type[ZipFile]")
pandas/util/testing.py:265: error: Incompatible types in assignment (expression has type "Type[BZ2File]", variable has type "Type[ZipFile]")
pandas/util/testing.py:269: error: Incompatible types in assignment (expression has type "Type[LZMAFile]", variable has type "Type[ZipFile]")
pandas/util/testing.py:280: error: Incompatible types in assignment (expression has type "Tuple[Any]", variable has type "Tuple[Any, Any]")
pandas/util/testing.py:515: error: Argument 1 to "close" has incompatible type "Optional[int]"; expected "int"
pandas/util/testing.py:1050: error: "ExtensionArray" has no attribute "asi8"
pandas/util/testing.py:1815: error: Cannot call function of unknown type
pandas/util/testing.py:1842: error: Cannot call function of unknown type
pandas/util/testing.py:1976: error: Cannot call function of unknown type
pandas/util/testing.py:2004: error: Need type annotation for 'cnt'
pandas/util/testing.py:2206: error: "_create_missing_idx" gets multiple values for keyword argument "density"
pandas/util/testing.py:2206: error: "_create_missing_idx" gets multiple values for keyword argument "random_state"
pandas/util/testing.py:2234: error: Incompatible types in assignment (expression has type "List[<nothing>]", variable has type "Tuple[Any, ...]")
pandas/util/testing.py:2411: error: "Exception" has no attribute "reason"
pandas/util/testing.py:2420: error: Argument 1 to "format_exc" has incompatible type "Exception"; expected "Optional[int]"
pandas/util/testing.py:2673: error: Item "None" of "Optional[List[_Record]]" has no attribute "__iter__" (not iterable)
pandas/io/sas/sas_xport.py:350: error: Need type annotation for 'fields'
pandas/io/sas/sas7bdat.py:90: error: Need type annotation for 'column_names_strings'
pandas/io/sas/sas7bdat.py:91: error: Need type annotation for 'column_names'
pandas/io/sas/sas7bdat.py:92: error: Need type annotation for 'column_formats'
pandas/io/sas/sas7bdat.py:93: error: Need type annotation for 'columns'
pandas/io/sas/sas7bdat.py:95: error: Need type annotation for '_current_page_data_subheader_pointers'
pandas/io/sas/sas7bdat.py:97: error: Need type annotation for '_column_data_lengths'
pandas/io/sas/sas7bdat.py:98: error: Need type annotation for '_column_data_offsets'
pandas/io/sas/sas7bdat.py:99: error: Need type annotation for '_column_types'
pandas/io/sas/sas7bdat.py:386: error: "_subheader_pointer" has no attribute "offset"
pandas/io/sas/sas7bdat.py:387: error: "_subheader_pointer" has no attribute "length"
pandas/io/sas/sas7bdat.py:388: error: "_subheader_pointer" has no attribute "compression"
pandas/io/sas/sas7bdat.py:389: error: "_subheader_pointer" has no attribute "ptype"
pandas/io/sas/sas7bdat.py:488: error: Incompatible types in assignment (expression has type "bytes", variable has type "str")
pandas/io/sas/sas7bdat.py:624: error: "_column" has no attribute "col_id"
pandas/io/sas/sas7bdat.py:625: error: "_column" has no attribute "name"
pandas/io/sas/sas7bdat.py:626: error: "_column" has no attribute "label"
pandas/io/sas/sas7bdat.py:627: error: "_column" has no attribute "format"
pandas/io/sas/sas7bdat.py:628: error: "_column" has no attribute "ctype"
pandas/io/sas/sas7bdat.py:629: error: "_column" has no attribute "length"
pandas/io/formats/style.py:125: error: Need type annotation for 'ctx'
pandas/io/formats/style.py:126: error: Need type annotation for '_todo'
pandas/io/formats/style.py:147: error: Need type annotation for 'hidden_columns'
pandas/io/formats/style.py:158: error: Need type annotation for '_display_funcs'
pandas/io/formats/style.py:247: error: Need type annotation for 'cell_context'
pandas/io/formats/style.py:554: error: Cannot determine type of 'ctx'
pandas/io/formats/style.py:557: error: Cannot determine type of 'ctx'
pandas/io/formats/style.py:1335: error: Invalid type "cls"
pandas/io/formats/style.py:1335: error: Invalid base class
pandas/io/formats/latex.py:127: error: Need type annotation for 'clinebuf'
pandas/io/formats/excel.py:537: error: Incompatible types in assignment (expression has type "Generator[ExcelCell, None, None]", variable has type "Tuple[]")
pandas/io/formats/excel.py:730: error: Cannot instantiate abstract class 'ExcelWriter' with abstract attributes 'engine', 'save', 'supported_extensions' and 'write_cells'
pandas/core/window.py:715: error: Need type annotation for 'exclude'
pandas/core/window.py:840: error: Too many arguments for "__init__" of "object"
pandas/core/window.py:904: error: Need type annotation for 'exclude'
pandas/core/window.py:2114: error: Too many arguments for "count"
pandas/core/window.py:2446: error: Need type annotation for 'exclude'
pandas/core/resample.py:413: error: "PeriodIndex" has no attribute "asfreq"; maybe "freq"?
pandas/core/resample.py:998: error: Too many arguments for "__init__" of "object"
pandas/core/resample.py:1575: error: "PeriodIndex" has no attribute "asfreq"; maybe "freq"?
pandas/core/resample.py:1814: error: "PeriodIndex" has no attribute "asfreq"; maybe "freq"?
pandas/tseries/holiday.py:422: error: Item "None" of "Optional[Any]" has no attribute "sort_index"
```
</details>
@vaibhavhrt something you may have interest in as well | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27568/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27568/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27569 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27569/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27569/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27569/events | https://github.com/pandas-dev/pandas/pull/27569 | 472,382,605 | MDExOlB1bGxSZXF1ZXN0MzAwODAzNjU5 | 27,569 | CLN: update comment | {
"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"
} | [] | closed | false | null | [] | null | 3 | 2019-07-24T16:32:23Z | 2019-07-31T19:53:29Z | 2019-07-31T14:06:55Z | NONE | null | Fixes a small nit. `Index`es are technically instances of `PandasObject`. Make the comment clearer.
CI failure is unrelated network glitch. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27569/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27569/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27569.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27569",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/27569.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27569"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27570 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27570/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27570/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27570/events | https://github.com/pandas-dev/pandas/issues/27570 | 472,389,707 | MDU6SXNzdWU0NzIzODk3MDc= | 27,570 | BUG: Grouper.cov emits warning unlike DataFrame.cov | {
"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": "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"
},
{
"c... | closed | false | null | [] | null | 2 | 2019-07-24T16:49:18Z | 2021-07-10T18:52:29Z | 2021-07-10T18:52:15Z | NONE | null | Like https://github.com/pandas-dev/pandas/issues/27470, another case where Grouper and DataFrame provide essentially the same method but diverge in behavior.
```python
import pandas as pd
df=pd.DataFrame(dict(a=[0,4,8],b=[2,7,12],c=[3,9,11]))
g=df.groupby([0,1,1])
# single row frame silently emits NaNs
df.iloc[[0]].cov()
# single row group emits multiple warnings
g.cov()
RuntimeWarning: Degrees of freedom <= 0 for slice
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27570/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27570/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27571 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27571/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27571/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27571/events | https://github.com/pandas-dev/pandas/issues/27571 | 472,390,515 | MDU6SXNzdWU0NzIzOTA1MTU= | 27,571 | BUG: dir(IntervalIndex()) raises | {
"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": "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 ... | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 4 | 2019-07-24T16:51:19Z | 2019-08-01T12:56:49Z | 2019-08-01T12:56:49Z | NONE | null | ```python
In [8]: ix=pd.IntervalIndex.from_breaks([0,1,2])
...: dir(ix)
...
ValueError: cannot infer type for <class 'NoneType'>
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27571/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27571/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27572 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27572/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27572/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27572/events | https://github.com/pandas-dev/pandas/pull/27572 | 472,395,173 | MDExOlB1bGxSZXF1ZXN0MzAwODEzNjMy | 27,572 | TST: add regression test for MultiIndex with IntervalIndex level | {
"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": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"d... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2019-07-24T17:00:55Z | 2019-07-25T18:15:07Z | 2019-07-25T16:57:33Z | NONE | null | #27456 makes for a good regression test for the non-overlapping case, where there's no coverage currently. Add it to the tests.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27572/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27572/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27572.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27572",
"merged_at": "2019-07-25T16:57:33Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27572.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27572"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27573 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27573/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27573/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27573/events | https://github.com/pandas-dev/pandas/pull/27573 | 472,417,593 | MDExOlB1bGxSZXF1ZXN0MzAwODMxNTU3 | 27,573 | API: Make most arguments for read_html and read_json keyword-ony | {
"avatar_url": "https://avatars.githubusercontent.com/u/38556752?v=4",
"events_url": "https://api.github.com/users/alexitkes/events{/privacy}",
"followers_url": "https://api.github.com/users/alexitkes/followers",
"following_url": "https://api.github.com/users/alexitkes/following{/other_user}",
"gists_url": "https://api.github.com/users/alexitkes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alexitkes",
"id": 38556752,
"login": "alexitkes",
"node_id": "MDQ6VXNlcjM4NTU2NzUy",
"organizations_url": "https://api.github.com/users/alexitkes/orgs",
"received_events_url": "https://api.github.com/users/alexitkes/received_events",
"repos_url": "https://api.github.com/users/alexitkes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alexitkes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alexitkes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alexitkes"
} | [
{
"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": "006b75",
"default": fa... | 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"
} | 50 | 2019-07-24T17:56:02Z | 2020-04-07T08:08:42Z | 2020-04-07T00:55:26Z | CONTRIBUTOR | null | As mentioned in #27544 it is better to use keyword-only arguments for functions with too many arguments. A deprecation warning will be displayed if `read_html` get more than 2 positional arguments (`io` and `match`) or `read_json` get more than 1 positional argument (`path_or_buf`).
- [x] tests added / passed
Three groups of tests are actually needed
- [x] Tests dof the `deprecate_nonkeyword_arguments` decoratorr
- [x] Check whether the `read_json` function emits a `FutureWarning` whenever necessary and does not emit it whenever not.
- [x] Check whether the `read_html` function emits a `FutureWarning` whenever necessary and does not emit it whenever not.
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
| {
"+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/27573/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27573/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27573.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27573",
"merged_at": "2020-04-07T00:55:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27573.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27573"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27574 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27574/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27574/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27574/events | https://github.com/pandas-dev/pandas/pull/27574 | 472,449,988 | MDExOlB1bGxSZXF1ZXN0MzAwODUzNjMy | 27,574 | DEPR: remove .ix from tests/indexing/multiindex/test_setitem.py | {
"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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "53... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2019-07-24T18:59:43Z | 2019-07-26T03:06:20Z | 2019-07-25T16:56:28Z | 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/27574/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27574/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27574.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27574",
"merged_at": "2019-07-25T16:56:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27574.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27574"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/27575 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27575/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27575/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27575/events | https://github.com/pandas-dev/pandas/issues/27575 | 472,475,612 | MDU6SXNzdWU0NzI0NzU2MTI= | 27,575 | import pandas error for missing compression libraries | {
"avatar_url": "https://avatars.githubusercontent.com/u/7635289?v=4",
"events_url": "https://api.github.com/users/raybuhr/events{/privacy}",
"followers_url": "https://api.github.com/users/raybuhr/followers",
"following_url": "https://api.github.com/users/raybuhr/following{/other_user}",
"gists_url": "https://api.github.com/users/raybuhr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/raybuhr",
"id": 7635289,
"login": "raybuhr",
"node_id": "MDQ6VXNlcjc2MzUyODk=",
"organizations_url": "https://api.github.com/users/raybuhr/orgs",
"received_events_url": "https://api.github.com/users/raybuhr/received_events",
"repos_url": "https://api.github.com/users/raybuhr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/raybuhr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/raybuhr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/raybuhr"
} | [
{
"color": "06909A",
"default": false,
"description": "IO issues that don't fit into a more specific label",
"id": 2301354,
"name": "IO Data",
"node_id": "MDU6TGFiZWwyMzAxMzU0",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Data"
}
] | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 25 | 2019-07-24T19:41:19Z | 2021-06-10T18:12:24Z | 2019-08-19T13:06:15Z | NONE | null | #### Code Sample
```shell
[dev]rbuhr:~% python
Python 3.7.2 (default, Jul 24 2019, 19:27:42)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
```
```python
>>> import pandas
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/admin/.pyenv/versions/3.7.2/lib/python3.7/site-packages/pandas/__init__.py", line 55, in <module>
from pandas.core.api import (
File "/home/admin/.pyenv/versions/3.7.2/lib/python3.7/site-packages/pandas/core/api.py", line 24, in <module>
from pandas.core.groupby import Grouper, NamedAgg
File "/home/admin/.pyenv/versions/3.7.2/lib/python3.7/site-packages/pandas/core/groupby/__init__.py", line 1, in <module>
from pandas.core.groupby.generic import ( # noqa: F401
File "/home/admin/.pyenv/versions/3.7.2/lib/python3.7/site-packages/pandas/core/groupby/generic.py", line 44, in <module>
from pandas.core.frame import DataFrame
File "/home/admin/.pyenv/versions/3.7.2/lib/python3.7/site-packages/pandas/core/frame.py", line 88, in <module>
from pandas.core.generic import NDFrame, _shared_docs
File "/home/admin/.pyenv/versions/3.7.2/lib/python3.7/site-packages/pandas/core/generic.py", line 71, in <module>
from pandas.io.formats.format import DataFrameFormatter, format_percentiles
File "/home/admin/.pyenv/versions/3.7.2/lib/python3.7/site-packages/pandas/io/formats/format.py", line 47, in <module>
from pandas.io.common import _expand_user, _stringify_path
File "/home/admin/.pyenv/versions/3.7.2/lib/python3.7/site-packages/pandas/io/common.py", line 9, in <module>
import lzma
File "/home/admin/.pyenv/versions/3.7.2/lib/python3.7/lzma.py", line 27, in <module>
from _lzma import *
ModuleNotFoundError: No module named '_lzma'
>>>
```
#### Problem description
After installing pandas 0.25.0, I can't import the library because of missing compression libraries. First it returned the error message `ModuleNotFoundError: No module named '_bz2'`. I installed with `sudo apt-get install libbz2-dev` and tried again to get the error message from the code sample above, `ModuleNotFoundError: No module named '_lzma'`.
This was not an issue with the previous version of pandas and I tested by downgrading to pandas 0.24.0 and was able to import without the error messages. I feel like pandas should not prevent usage just because some _optional_ compression programs are not installed, like the default behavior of the last version.
#### Expected Output
```python
>>> import pandas
>>>
```
#### Output of ``pd.show_versions()``
Unable to run because can't import pandas. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27575/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27575/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27576 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27576/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27576/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27576/events | https://github.com/pandas-dev/pandas/pull/27576 | 472,555,586 | MDExOlB1bGxSZXF1ZXN0MzAwOTA4OTQz | 27,576 | CLN: Prune unnecessary indexing code | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "20... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-07-24T21:52:24Z | 2019-08-02T19:04:37Z | 2019-07-25T22:12:49Z | 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/27576/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27576/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27576.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27576",
"merged_at": "2019-07-25T22:12:49Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27576.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27576"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/27577 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27577/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27577/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27577/events | https://github.com/pandas-dev/pandas/pull/27577 | 472,583,995 | MDExOlB1bGxSZXF1ZXN0MzAwOTIxNjQw | 27,577 | CLN: pandas\io\formats\format.py | {
"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": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "207de... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-07-24T22:46:22Z | 2019-07-26T03:15:13Z | 2019-07-25T17:10:23Z | MEMBER | null | xref https://github.com/pandas-dev/pandas/pull/27512#discussion_r306561575 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27577/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27577/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27577.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27577",
"merged_at": "2019-07-25T17:10:23Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27577.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27577"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27578 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27578/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27578/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27578/events | https://github.com/pandas-dev/pandas/issues/27578 | 472,607,574 | MDU6SXNzdWU0NzI2MDc1NzQ= | 27,578 | `groupby().first()` docs should explain distinction between nth and first | {
"avatar_url": "https://avatars.githubusercontent.com/u/1900459?v=4",
"events_url": "https://api.github.com/users/kyleabeauchamp/events{/privacy}",
"followers_url": "https://api.github.com/users/kyleabeauchamp/followers",
"following_url": "https://api.github.com/users/kyleabeauchamp/following{/other_user}",
"gists_url": "https://api.github.com/users/kyleabeauchamp/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/kyleabeauchamp",
"id": 1900459,
"login": "kyleabeauchamp",
"node_id": "MDQ6VXNlcjE5MDA0NTk=",
"organizations_url": "https://api.github.com/users/kyleabeauchamp/orgs",
"received_events_url": "https://api.github.com/users/kyleabeauchamp/received_events",
"repos_url": "https://api.github.com/users/kyleabeauchamp/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/kyleabeauchamp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kyleabeauchamp/subscriptions",
"type": "User",
"url": "https://api.github.com/users/kyleabeauchamp"
} | [
{
"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": "729FCF",
"default": false,
"description": null,
"id": 233160... | open | false | null | [] | null | 3 | 2019-07-25T00:18:21Z | 2021-07-10T18:53:02Z | null | NONE | null | ### Problem description
The existing doc for `groupby().first()` (https://pandas-docs.github.io/pandas-docs-travis/reference/api/pandas.core.groupby.GroupBy.first.html?highlight=first#pandas.core.groupby.GroupBy.first) does not describe the behavior with respect to missing data. In particular, it does not mention the fact that the behavior is broadcasting columnwise.
The docs read: "Compute first of group values...Computed first of values within each group." I think the correct description is "For each column, compute the first non-null entry, possibly aggregating values from across multiple rows." We might also want a simple example to explain the behavior.
#### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
x = pd.DataFrame(dict(A=[1, 1, 3], B=[None, 5, 6], C=[1, 2, 3]))
print(x.groupby("A", as_index=False).first())
print(x.groupby("A", as_index=False).nth(0))
print(x.groupby("A", as_index=False).head(1))
[...]
A B C
0 1 5.0 1
1 3 6.0 3
A B C
0 1 NaN 1
2 3 6.0 3
A B C
0 1 NaN 1
2 3 6.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/27578/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27578/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27579 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27579/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27579/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27579/events | https://github.com/pandas-dev/pandas/pull/27579 | 472,643,534 | MDExOlB1bGxSZXF1ZXN0MzAwOTY1NDk0 | 27,579 | TYPING: add type hints to pandas\io\formats\printing.py | {
"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": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "ea91a... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2019-07-25T03:15:04Z | 2019-07-26T03:18:57Z | 2019-07-25T17:38:53Z | 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/27579/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27579/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27579.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27579",
"merged_at": "2019-07-25T17:38:53Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27579.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27579"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/27580 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27580/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27580/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27580/events | https://github.com/pandas-dev/pandas/pull/27580 | 472,681,482 | MDExOlB1bGxSZXF1ZXN0MzAwOTk1MjIx | 27,580 | DOC:Update python version support info | {
"avatar_url": "https://avatars.githubusercontent.com/u/43701530?v=4",
"events_url": "https://api.github.com/users/sameshl/events{/privacy}",
"followers_url": "https://api.github.com/users/sameshl/followers",
"following_url": "https://api.github.com/users/sameshl/following{/other_user}",
"gists_url": "https://api.github.com/users/sameshl/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sameshl",
"id": 43701530,
"login": "sameshl",
"node_id": "MDQ6VXNlcjQzNzAxNTMw",
"organizations_url": "https://api.github.com/users/sameshl/orgs",
"received_events_url": "https://api.github.com/users/sameshl/received_events",
"repos_url": "https://api.github.com/users/sameshl/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sameshl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sameshl/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sameshl"
} | [
{
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 14 | 2019-07-25T06:05:45Z | 2019-08-21T21:09:14Z | 2019-08-01T12:13:48Z | CONTRIBUTOR | null | Updated the python version support info.
Added minimum version for Python 3.5 is 3.5.3 and removed python 2.7 support info.
closes #27558
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27580/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27580/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27580.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27580",
"merged_at": "2019-08-01T12:13:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27580.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27580"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27581 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27581/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27581/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27581/events | https://github.com/pandas-dev/pandas/issues/27581 | 472,706,048 | MDU6SXNzdWU0NzI3MDYwNDg= | 27,581 | Add a new DataFrame.dti accessor | {
"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": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "207de5",
"default": false,
"description": "R... | closed | false | null | [] | null | 6 | 2019-07-25T07:21:57Z | 2021-07-10T18:58:20Z | 2021-07-10T18:58:20Z | NONE | null | There's the `dt` accessor on Series which operates on the Series values:
```
pd.Series([1,2,3]).dt.day
#exists. But checks that series *values* datetime64[ns]
pd.Series([1,2,3]).day
# doesn't exist
```
There's a top-level method `df.first`:
```
Convenience method for subsetting initial periods of time series data
based on a date offset.
```
which looks like it should live behind `dti` accessor on DataFrame.
```
pd.DataFrame().first(0)
# method is applicable only for datetime, but is in the top DataFrame namespace
```
There's currently no datetime accessor on dataframe. Would it make sense to move it below a `dti` accessor on DataFrame?
There's also an unfortunate unfortunate name collision between`Groupby().first`
```
Compute first of group values.
```
and `DataFrame.first`:
```
Convenience method for subsetting initial periods of time series data
based on a date offset.
```
Adding a `dti` accessor to DataFrame would clean that up as well.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27581/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27581/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27582 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27582/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27582/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27582/events | https://github.com/pandas-dev/pandas/issues/27582 | 472,756,504 | MDU6SXNzdWU0NzI3NTY1MDQ= | 27,582 | merge_asof parameters "index", "prefix" | {
"avatar_url": "https://avatars.githubusercontent.com/u/177976?v=4",
"events_url": "https://api.github.com/users/darkdragon-001/events{/privacy}",
"followers_url": "https://api.github.com/users/darkdragon-001/followers",
"following_url": "https://api.github.com/users/darkdragon-001/following{/other_user}",
"gists_url": "https://api.github.com/users/darkdragon-001/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/darkdragon-001",
"id": 177976,
"login": "darkdragon-001",
"node_id": "MDQ6VXNlcjE3Nzk3Ng==",
"organizations_url": "https://api.github.com/users/darkdragon-001/orgs",
"received_events_url": "https://api.github.com/users/darkdragon-001/received_events",
"repos_url": "https://api.github.com/users/darkdragon-001/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/darkdragon-001/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/darkdragon-001/subscriptions",
"type": "User",
"url": "https://api.github.com/users/darkdragon-001"
} | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, ... | closed | false | null | [] | null | 3 | 2019-07-25T09:19:37Z | 2021-07-10T19:02:50Z | 2021-07-10T19:02:49Z | NONE | null | Add convenience parameter `index` which sets both `left_index` and `right_index`. This should default to `True` when no `on` parameter is set.
Further, add parameter `prefix` with the same behavior as `suffix` but instead add this before the original label. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27582/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27582/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27583 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27583/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27583/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27583/events | https://github.com/pandas-dev/pandas/issues/27583 | 472,781,159 | MDU6SXNzdWU0NzI3ODExNTk= | 27,583 | Inconsistent dtype changes between multi-column assignment and single-column assignment | {
"avatar_url": "https://avatars.githubusercontent.com/u/3800802?v=4",
"events_url": "https://api.github.com/users/howsiwei/events{/privacy}",
"followers_url": "https://api.github.com/users/howsiwei/followers",
"following_url": "https://api.github.com/users/howsiwei/following{/other_user}",
"gists_url": "https://api.github.com/users/howsiwei/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/howsiwei",
"id": 3800802,
"login": "howsiwei",
"node_id": "MDQ6VXNlcjM4MDA4MDI=",
"organizations_url": "https://api.github.com/users/howsiwei/orgs",
"received_events_url": "https://api.github.com/users/howsiwei/received_events",
"repos_url": "https://api.github.com/users/howsiwei/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/howsiwei/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/howsiwei/subscriptions",
"type": "User",
"url": "https://api.github.com/users/howsiwei"
} | [
{
"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": "e1... | open | false | null | [] | null | 2 | 2019-07-25T10:12:40Z | 2021-07-10T19:04:10Z | null | CONTRIBUTOR | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
df = pd.DataFrame({'a': [0.0], 'b': 0.0})
df[['a', 'b']] = 0
print(df)
print()
df['b'] = 0
print(df)
```
Output:
```
a b
0 0.0 0.0
a b
0 0.0 0
```
#### Problem description
As you can see above, the column type doesn't change in multi-column assignment but changes from `float64` to `int64` in single-column assignment. This behavior seems quite inconsistent.
#### Expected Output
```
a b
0 0 0
a b
0 0 0
```
Both multi-column assignment and single-column assignment should result in the correct dtype.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 3b96ada3a17f5fcc8c32a238457075ec4dd8433a
python : 3.6.8.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-52-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.utf8
LOCALE : en_US.UTF-8
pandas : 0.25.0rc0+131.g3b96ada3a
numpy : 1.16.3
pytz : 2019.1
dateutil : 2.8.0
pip : 19.1.1
setuptools : 41.0.1
Cython : 0.29.7
pytest : 4.4.2
hypothesis : 4.17.2
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27583/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27583/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27584 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27584/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27584/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27584/events | https://github.com/pandas-dev/pandas/pull/27584 | 472,785,714 | MDExOlB1bGxSZXF1ZXN0MzAxMDc4NTg2 | 27,584 | CLN: Centralised _check_percentile | {
"avatar_url": "https://avatars.githubusercontent.com/u/23262887?v=4",
"events_url": "https://api.github.com/users/hedonhermdev/events{/privacy}",
"followers_url": "https://api.github.com/users/hedonhermdev/followers",
"following_url": "https://api.github.com/users/hedonhermdev/following{/other_user}",
"gists_url": "https://api.github.com/users/hedonhermdev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hedonhermdev",
"id": 23262887,
"login": "hedonhermdev",
"node_id": "MDQ6VXNlcjIzMjYyODg3",
"organizations_url": "https://api.github.com/users/hedonhermdev/orgs",
"received_events_url": "https://api.github.com/users/hedonhermdev/received_events",
"repos_url": "https://api.github.com/users/hedonhermdev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hedonhermdev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hedonhermdev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hedonhermdev"
} | [
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 19 | 2019-07-25T10:23:11Z | 2020-09-07T11:32:12Z | 2019-10-03T17:11:46Z | CONTRIBUTOR | null | - Fixes #27559
- Moved the _check_percentile method on NDFrame to algorithms as
check_percentile.
- Changed the references to _check_percentile in pandas/core/series.py
and pandas/core/frame.py
- [x] closes #27559
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27584/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27584/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27584.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27584",
"merged_at": "2019-10-03T17:11:45Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27584.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27584"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27585 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27585/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27585/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27585/events | https://github.com/pandas-dev/pandas/issues/27585 | 472,833,043 | MDU6SXNzdWU0NzI4MzMwNDM= | 27,585 | Index._engine creates cyclic reference | {
"avatar_url": "https://avatars.githubusercontent.com/u/1529400?v=4",
"events_url": "https://api.github.com/users/crepererum/events{/privacy}",
"followers_url": "https://api.github.com/users/crepererum/followers",
"following_url": "https://api.github.com/users/crepererum/following{/other_user}",
"gists_url": "https://api.github.com/users/crepererum/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/crepererum",
"id": 1529400,
"login": "crepererum",
"node_id": "MDQ6VXNlcjE1Mjk0MDA=",
"organizations_url": "https://api.github.com/users/crepererum/orgs",
"received_events_url": "https://api.github.com/users/crepererum/received_events",
"repos_url": "https://api.github.com/users/crepererum/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/crepererum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/crepererum/subscriptions",
"type": "User",
"url": "https://api.github.com/users/crepererum"
} | [
{
"color": "e99695",
"default": false,
"description": "Related to the Index class or subclasses",
"id": 1218227310,
"name": "Index",
"node_id": "MDU6TGFiZWwxMjE4MjI3MzEw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Index"
}
] | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 1 | 2019-07-25T12:18:46Z | 2019-08-08T20:43:26Z | 2019-08-08T20:43:26Z | CONTRIBUTOR | null | #### Code Sample, a copy-pastable example if possible
```python
import gc
import pandas as pd
gc.disable()
idx = pd.Int64Index(data=[0])
# trigger a call to idx._engine using public API, but a unit test might also be
# able to use the private API here
idx.is_monotonic_increasing
del idx
remaining_indices = [o for o in gc.get_objects() if isinstance(o, pd.Int64Index)]
assert remaining_indices == []
```
#### Problem description
The (indirect) call to `idx._engine` creates a cyclic reference, therefore indices are not removed without calling the GC:
```python
import objgraph
objgraph.show_backrefs(
remaining_indices,
filename='obj.png',
shortnames=False,
max_depth=10,
)
```

On certain payloads (e.g. on `dask.distributed` clusters), this might increase memory consumptions significantly.
#### Expected Output
Index is cleared on `del idx` call.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.6.final.0
python-bits : 64
OS : Linux
OS-release : 4.9.125-linuxkit
machine : x86_64
processor :
byteorder : little
LC_ALL : en_US.UTF-8
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.0
numpy : 1.16.4
pytz : 2019.1
dateutil : 2.8.0
pip : 10.0.1
setuptools : 39.1.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
</details>
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27585/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27585/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27586 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27586/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27586/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27586/events | https://github.com/pandas-dev/pandas/issues/27586 | 472,939,240 | MDU6SXNzdWU0NzI5MzkyNDA= | 27,586 | Move json_normalize to pd namespace | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "207de5",
"default": false,
"description": "r... | 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 | 2019-07-25T15:43:33Z | 2019-12-18T19:53:17Z | 2019-12-18T19:53:17Z | MEMBER | null | This function I think gets a good amount of usage but people tend to import from `pandas.io.json`. ref #27522 I think we should move this to the top level
cc @bhavaniravi | {
"+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/27586/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27586/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27587 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27587/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27587/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27587/events | https://github.com/pandas-dev/pandas/pull/27587 | 472,946,778 | MDExOlB1bGxSZXF1ZXN0MzAxMjEwMTI1 | 27,587 | Backport PR #27511 on branch 0.25.x (BUG: display.precision of negative complex numbers) | {
"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": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "00980... | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-07-25T15:58:49Z | 2019-07-25T16:55:03Z | 2019-07-25T16:55:03Z | NONE | null | Backport PR #27511: BUG: display.precision of negative complex numbers | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27587/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27587/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27587.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27587",
"merged_at": "2019-07-25T16:55:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27587.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27587"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27588 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27588/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27588/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27588/events | https://github.com/pandas-dev/pandas/pull/27588 | 472,957,296 | MDExOlB1bGxSZXF1ZXN0MzAxMjE4NjA3 | 27,588 | REF: collect indexing methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-07-25T16:21:27Z | 2019-07-25T17:31:47Z | 2019-07-25T17:19:30Z | MEMBER | null | No real changes, just putting indexing methods in one place to make subsequent passes a little easier | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27588/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27588/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27588.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27588",
"merged_at": "2019-07-25T17:19:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27588.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27588"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27589 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27589/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27589/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27589/events | https://github.com/pandas-dev/pandas/issues/27589 | 472,963,962 | MDU6SXNzdWU0NzI5NjM5NjI= | 27,589 | Add NumPy Stubs | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"color": "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"
},
{... | closed | false | null | [] | null | 3 | 2019-07-25T16:37:11Z | 2021-01-12T17:54:36Z | 2021-01-12T17:54:36Z | MEMBER | null | We use ndarray often in our annotations, but it always just resolves to `Any` since it doesn't have any annotations natively. It looks like numpy has a separate Numpy-stubs repo under development:
https://github.com/numpy/numpy-stubs
Might be worth considering that as a development dependency. Certainly would like to find issues with ndarray usage sooner than later
@shoyer | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27589/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27589/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27590 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27590/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27590/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27590/events | https://github.com/pandas-dev/pandas/pull/27590 | 472,980,063 | MDExOlB1bGxSZXF1ZXN0MzAxMjM2ODQw | 27,590 | Backport PR #27488 on branch 0.25.x (API: Add entrypoint for plotting) | {
"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": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "0052cc",
"default": false,
"description": "pa... | closed | false | null | [] | {
"closed_at": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 0 | 2019-07-25T17:18:22Z | 2019-07-25T18:14:41Z | 2019-07-25T18:14:41Z | NONE | null | Backport PR #27488: API: Add entrypoint for plotting | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27590/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27590/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27590.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27590",
"merged_at": "2019-07-25T18:14:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27590.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27590"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27591 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27591/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27591/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27591/events | https://github.com/pandas-dev/pandas/issues/27591 | 472,994,130 | MDU6SXNzdWU0NzI5OTQxMzA= | 27,591 | BUG: MultiIndex Slice returns incorrect slice (compared to .xs()) | {
"avatar_url": "https://avatars.githubusercontent.com/u/10678620?v=4",
"events_url": "https://api.github.com/users/groutr/events{/privacy}",
"followers_url": "https://api.github.com/users/groutr/followers",
"following_url": "https://api.github.com/users/groutr/following{/other_user}",
"gists_url": "https://api.github.com/users/groutr/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/groutr",
"id": 10678620,
"login": "groutr",
"node_id": "MDQ6VXNlcjEwNjc4NjIw",
"organizations_url": "https://api.github.com/users/groutr/orgs",
"received_events_url": "https://api.github.com/users/groutr/received_events",
"repos_url": "https://api.github.com/users/groutr/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/groutr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/groutr/subscriptions",
"type": "User",
"url": "https://api.github.com/users/groutr"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on s... | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 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 | 2019-07-25T17:53:09Z | 2021-08-08T23:30:35Z | 2021-08-08T23:30:35Z | CONTRIBUTOR | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
l1 = list('abc')
l2 = [(0, 1), (1, 0)]
l3 = [0, 1]
cols = pd.MultiIndex.from_product([l1, l2, l3], names=['x', 'y', 'z'])
df = pd.DataFrame(index=range(5), columns=cols)
# This returns the expected slice
expected = df.xs((l1[0], l2[0], l3[0]), level=[0, 1, 2], axis=1)
print(expected)
# This returns an empty Series (?!)
empty1 = df.loc[:, (l1[0], l2[0], l3[0])]
# This returns an empty Series also
empty2 = df.loc[:, pd.IndexSlice[l1[0], l2[0], l3[0]]]
print(empty1)
print(empty2)
# if we omit the l2 dim on slice, we get something back
try3 = df.loc[:, pd.IndexSlice[l1[0], :, l3[0]]]
print(try3)
# Oddly enough, we can still set values on the dataframe and it works as expected.
df.loc[:, (l1[0], l2[0], l3[0])] = list(range(10, 15))
print(df)
```
#### Problem description
As far as I can understand the, all three indexing operations should provide the same result. Slicing seems to be the favored approach in the documentation, yet it doesn't return the expected result in this case.
Wrapping the tuple in a python object doesn't seem to work either, returning a KeyError.
```python
class MyTuple(object):
def __init__(self, data):
self.data = data
def __eq__(self, other):
return self.data == other.data
def __hash__(self):
return hash(self.data)
def __repr__(self):
return repr(self.data)
def __str__(self):
return repr(self)
l22 = [MyTuple((0,1)), MyTuple((1, 0))]
df2 = pd.DataFrame(index=range(5), columns=pd.MultiIndex.from_product([l1, l22, l3]))
df.loc[:, pd.IndexSlice[l1[0], l22[0], l3[0]]]
```
#### Expected Output
The expected result is a single series with 5 NaN values:
```python
a
(0, 1)
0
0 NaN
1 NaN
2 NaN
3 NaN
4 NaN
```
This is the value of `expected` in the example above.
#### Output of ``pd.show_versions()``
<details>
Note that pandas 0.24.2 is being used because compatibility with Python 2 is needed.
#### INSTALLED VERSIONS
commit: None
python: 3.7.3.final.0
python-bits: 64
OS: Linux
OS-release: 2.6.32-696.10.2.el6.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.24.2
pytest: 4.3.1
pip: 19.0.3
setuptools: 40.8.0
Cython: None
numpy: 1.16.2
scipy: 1.2.1
pyarrow: None
xarray: None
IPython: 7.5.0
sphinx: None
patsy: None
dateutil: 2.8.0
pytz: 2018.9
blosc: 1.7.0
bottleneck: 1.2.1
tables: None
numexpr: None
feather: None
matplotlib: 3.0.3
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml.etree: None
bs4: None
html5lib: None
sqlalchemy: 1.3.1
pymysql: 0.9.3
psycopg2: None
jinja2: 2.10
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
gcsfs: 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/27591/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27591/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27592 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27592/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27592/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27592/events | https://github.com/pandas-dev/pandas/issues/27592 | 472,998,694 | MDU6SXNzdWU0NzI5OTg2OTQ= | 27,592 | Bug in regex engine | {
"avatar_url": "https://avatars.githubusercontent.com/u/11966765?v=4",
"events_url": "https://api.github.com/users/ianhbell/events{/privacy}",
"followers_url": "https://api.github.com/users/ianhbell/followers",
"following_url": "https://api.github.com/users/ianhbell/following{/other_user}",
"gists_url": "https://api.github.com/users/ianhbell/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ianhbell",
"id": 11966765,
"login": "ianhbell",
"node_id": "MDQ6VXNlcjExOTY2NzY1",
"organizations_url": "https://api.github.com/users/ianhbell/orgs",
"received_events_url": "https://api.github.com/users/ianhbell/received_events",
"repos_url": "https://api.github.com/users/ianhbell/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ianhbell/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ianhbell/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ianhbell"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | null | 14 | 2019-07-25T18:04:05Z | 2019-07-25T20:05:31Z | 2019-07-25T18:18:15Z | NONE | null | #### Code Sample
```python
# This one fails
import pandas as pd
import numpy as np
import io
data = io.StringIO(r"""401.000000 383.1216 0.0000 0.0000 0.5140 0.4860 MASLENN 116616 NH3N2 1
401.000000 383.1216 0.0000 0.0000 0.5140 0.4860 MASLENN 116616 NH3N2 1""")
df = pd.read_csv(data, sep=r'\w+', engine='python', names=['T/K','p/MPa','x0','x1','y0','y1','ref','refnum','pair','index'])
print(np.log10(df['p/MPa']))
```
with error:
```
Traceback (most recent call last):
File "D:\Code\bug.py", line 7, in <module>
print(np.log10(df['p/MPa']))
AttributeError: 'str' object has no attribute 'log10'
```
```python
# This one succeeds
import pandas as pd
import numpy as np
import io
data = io.StringIO(r"""401.000000,383.1216,0.0000,0.0000,0.5140,0.4860,MASLENN,116616,NH3N2,1
401.000000,383.1216,0.0000,0.0000,0.5140,0.4860,MASLENN,116616,NH3N2,1""")
df = pd.read_csv(data, sep=',', names=['T/K','p/MPa','x0','x1','y0','y1','ref','refnum','pair','index'])
print(np.log10(df['p/MPa']))
```
#### Problem description
There is a very odd bug in pandas regarding the use of the python engine in concert with a regex. Somehow this combination corrupts numpy <-> pandas interaction; note how python thinks that numpy is a string above. I finally was able to put together a runnable example showing the problem as detailed above. When I modify my example to use comma delimiters instead, there is no corruption of numpy
#### Output of pd.show_versions()
``` python
Python 3.6.0 |Continuum Analytics, Inc.| (default, Dec 23 2016, 11:57:41) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas as pd
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 3.6.0.final.0
python-bits: 64
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.23.4
pytest: None
pip: 19.0.3
setuptools: 27.2.0
Cython: 0.29.10
numpy: 1.15.4
scipy: 1.1.0
pyarrow: None
xarray: None
IPython: 6.1.0
sphinx: 1.7.2
patsy: None
dateutil: 2.6.0
pytz: 2017.2
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: 3.0.0
openpyxl: 2.4.8
xlrd: 1.0.0
xlwt: None
xlsxwriter: None
lxml: 4.1.1
bs4: 4.7.1
html5lib: 0.999
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.10.1
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
``` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27592/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27592/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27593 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27593/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27593/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27593/events | https://github.com/pandas-dev/pandas/issues/27593 | 473,041,659 | MDU6SXNzdWU0NzMwNDE2NTk= | 27,593 | Numerical errors in rolling std (0.23.4) | {
"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"
} | [] | closed | false | null | [] | null | 6 | 2019-07-25T19:52:36Z | 2019-08-05T16:27:42Z | 2019-07-27T18:08:24Z | NONE | null | @DieterDePaepe I saw your https://github.com/numpy/numpy/issues/7753#issuecomment-451501724, can you provide more information and perhaps a reproducer? What pandas version? Your comment is from Jan 2019 and #18481 was merged in Late Nov 2018, does the issue still exist for you?
xref #9420 , #18430, #27202, #9420 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27593/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27593/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27594 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27594/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27594/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27594/events | https://github.com/pandas-dev/pandas/pull/27594 | 473,047,962 | MDExOlB1bGxSZXF1ZXN0MzAxMjkyMjU5 | 27,594 | DOC: add documentation for read_spss(#27476) | {
"avatar_url": "https://avatars.githubusercontent.com/u/6498024?v=4",
"events_url": "https://api.github.com/users/another-green/events{/privacy}",
"followers_url": "https://api.github.com/users/another-green/followers",
"following_url": "https://api.github.com/users/another-green/following{/other_user}",
"gists_url": "https://api.github.com/users/another-green/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/another-green",
"id": 6498024,
"login": "another-green",
"node_id": "MDQ6VXNlcjY0OTgwMjQ=",
"organizations_url": "https://api.github.com/users/another-green/orgs",
"received_events_url": "https://api.github.com/users/another-green/received_events",
"repos_url": "https://api.github.com/users/another-green/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/another-green/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/another-green/subscriptions",
"type": "User",
"url": "https://api.github.com/users/another-green"
} | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-07-25T20:08:47Z | 2019-07-29T13:19:53Z | 2019-07-26T20:58:47Z | CONTRIBUTOR | null | - [x] closes #27476
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Documentation is added for the new read_spss function.
After the generating html in Sphinx, it looks like this:
IO page top:
<img width="766" alt="IO page" src="https://user-images.githubusercontent.com/6498024/61973737-c70bf580-afb2-11e9-95cf-499efc17e807.png">
SPSS description:
<img width="774" alt="SPSS description" src="https://user-images.githubusercontent.com/6498024/61973739-ca9f7c80-afb2-11e9-8909-1638ad7a70d1.png">
API section:
<img width="761" alt="SPSS API" src="https://user-images.githubusercontent.com/6498024/61973743-cd01d680-afb2-11e9-9fca-be0a06128049.png">
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27594/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27594/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27594.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27594",
"merged_at": "2019-07-26T20:58:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27594.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27594"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27595 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27595/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27595/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27595/events | https://github.com/pandas-dev/pandas/pull/27595 | 473,099,356 | MDExOlB1bGxSZXF1ZXN0MzAxMzM0NjQ4 | 27,595 | Expanded ASVs for to_json | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"color": "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": "ae68cc",
"default": fa... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-07-25T22:38:15Z | 2019-07-26T16:35:32Z | 2019-07-26T16:35:29Z | MEMBER | null | Instead of one massive PR in #27166 I think this makes sense to break up in a few chunks. First step to get block code out of that extension is to get expanded test coverage, which I think I've done here.
After this I'll probably:
- Convert "columns" orient to not use the block manager code
- Convert "values"
- Convert "records" / "index" (and by nature table) and clean up code
Might be a little bit of bloat in the middle but think that approach will ultimately be more manageable
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27595/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27595/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27595.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27595",
"merged_at": "2019-07-26T16:35:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27595.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27595"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27596 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27596/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27596/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27596/events | https://github.com/pandas-dev/pandas/issues/27596 | 473,104,495 | MDU6SXNzdWU0NzMxMDQ0OTU= | 27,596 | Cannot write partitioned parquet file to S3 | {
"avatar_url": "https://avatars.githubusercontent.com/u/931505?v=4",
"events_url": "https://api.github.com/users/jkleint/events{/privacy}",
"followers_url": "https://api.github.com/users/jkleint/followers",
"following_url": "https://api.github.com/users/jkleint/following{/other_user}",
"gists_url": "https://api.github.com/users/jkleint/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jkleint",
"id": 931505,
"login": "jkleint",
"node_id": "MDQ6VXNlcjkzMTUwNQ==",
"organizations_url": "https://api.github.com/users/jkleint/orgs",
"received_events_url": "https://api.github.com/users/jkleint/received_events",
"repos_url": "https://api.github.com/users/jkleint/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jkleint/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jkleint/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jkleint"
} | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "parquet, feather",
"... | closed | false | {
"avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4",
"events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}",
"followers_url": "https://api.github.com/users/alimcmaster1/followers",
"following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}",
"gists_url": "https://api.github.com/users/alimcmaster1/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alimcmaster1",
"id": 16733618,
"login": "alimcmaster1",
"node_id": "MDQ6VXNlcjE2NzMzNjE4",
"organizations_url": "https://api.github.com/users/alimcmaster1/orgs",
"received_events_url": "https://api.github.com/users/alimcmaster1/received_events",
"repos_url": "https://api.github.com/users/alimcmaster1/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alimcmaster1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alimcmaster1/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alimcmaster1"
} | [
{
"avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4",
"events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}",
"followers_url": "https://api.github.com/users/alimcmaster1/followers",
"following_url": "https://api.github.com/users/alimcmaster1/following{/other_use... | {
"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"
} | 9 | 2019-07-25T22:58:55Z | 2020-05-26T09:31:14Z | 2020-04-26T21:41:54Z | NONE | null | Apologies if this is a pyarrow issue.
#### Code Sample, a copy-pastable example if possible
```python
pd.DataFrame({'a': range(5), 'b': range(5)}).to_parquet('s3://mybucket', partition_cols=['b'])
```
#### Problem description
Fails with `AttributeError: 'NoneType' object has no attribute '_isfilestore'`
```
Traceback (most recent call last):
File "/python/partparqs3.py", line 8, in <module>
pd.DataFrame({'a': range(5), 'b': range(5)}).to_parquet('s3://mybucket', partition_cols=['b'])
File "/python/lib/python3.7/site-packages/pandas/core/frame.py", line 2203, in to_parquet
partition_cols=partition_cols, **kwargs)
File "/python/lib/python3.7/site-packages/pandas/io/parquet.py", line 252, in to_parquet
partition_cols=partition_cols, **kwargs)
File "/python/lib/python3.7/site-packages/pandas/io/parquet.py", line 118, in write
partition_cols=partition_cols, **kwargs)
File "/python/lib/python3.7/site-packages/pyarrow/parquet.py", line 1342, in write_to_dataset
_mkdir_if_not_exists(fs, root_path)
File "/python/lib/python3.7/site-packages/pyarrow/parquet.py", line 1292, in _mkdir_if_not_exists
if fs._isfilestore() and not fs.exists(path):
AttributeError: 'NoneType' object has no attribute '_isfilestore'
Exception ignored in: <function AbstractBufferedFile.__del__ at 0x7f529985ca60>
Traceback (most recent call last):
File "/python/lib/python3.7/site-packages/fsspec/spec.py", line 1146, in __del__
self.close()
File "/python/lib/python3.7/site-packages/fsspec/spec.py", line 1124, in close
self.flush(force=True)
File "/python/lib/python3.7/site-packages/fsspec/spec.py", line 996, in flush
self._initiate_upload()
File "/python/lib/python3.7/site-packages/s3fs/core.py", line 941, in _initiate_upload
Bucket=bucket, Key=key, ACL=self.acl)
File "/python/lib/python3.7/site-packages/s3fs/core.py", line 928, in _call_s3
**kwargs)
File "/python/lib/python3.7/site-packages/s3fs/core.py", line 182, in _call_s3
return method(**additional_kwargs)
File "/python/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/python/lib/python3.7/site-packages/botocore/client.py", line 648, in _make_api_call
operation_model, request_dict, request_context)
File "/python/lib/python3.7/site-packages/botocore/client.py", line 667, in _make_request
return self._endpoint.make_request(operation_model, request_dict)
File "/python/lib/python3.7/site-packages/botocore/endpoint.py", line 102, in make_request
return self._send_request(request_dict, operation_model)
File "/python/lib/python3.7/site-packages/botocore/endpoint.py", line 137, in _send_request
success_response, exception):
File "/python/lib/python3.7/site-packages/botocore/endpoint.py", line 231, in _needs_retry
caught_exception=caught_exception, request_dict=request_dict)
File "/python/lib/python3.7/site-packages/botocore/hooks.py", line 356, in emit
return self._emitter.emit(aliased_event_name, **kwargs)
File "/python/lib/python3.7/site-packages/botocore/hooks.py", line 228, in emit
return self._emit(event_name, kwargs)
File "/python/lib/python3.7/site-packages/botocore/hooks.py", line 211, in _emit
response = handler(**kwargs)
File "/python/lib/python3.7/site-packages/botocore/retryhandler.py", line 183, in __call__
if self._checker(attempts, response, caught_exception):
File "/python/lib/python3.7/site-packages/botocore/retryhandler.py", line 251, in __call__
caught_exception)
File "/python/lib/python3.7/site-packages/botocore/retryhandler.py", line 269, in _should_retry
return self._checker(attempt_number, response, caught_exception)
File "/python/lib/python3.7/site-packages/botocore/retryhandler.py", line 317, in __call__
caught_exception)
File "/python/lib/python3.7/site-packages/botocore/retryhandler.py", line 223, in __call__
attempt_number, caught_exception)
File "/python/lib/python3.7/site-packages/botocore/retryhandler.py", line 359, in _check_caught_exception
raise caught_exception
File "/python/lib/python3.7/site-packages/botocore/endpoint.py", line 200, in _do_get_response
http_response = self._send(request)
File "/python/lib/python3.7/site-packages/botocore/endpoint.py", line 244, in _send
return self.http_session.send(request)
File "/python/lib/python3.7/site-packages/botocore/httpsession.py", line 294, in send
raise HTTPClientError(error=e)
botocore.exceptions.HTTPClientError: An HTTP Client raised and unhandled exception: 'NoneType' object is not iterable
```
#### Expected Output
Expected to see partitioned data show up in S3.
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit: None
python: 3.7.2.final.0
python-bits: 64
OS: Linux
OS-release: 3.10.0-957.21.3.el7.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.24.2
pytest: None
pip: 19.0.3
setuptools: 41.0.0
Cython: 0.29.7
numpy: 1.16.2
scipy: 1.3.0
pyarrow: 0.14.0
xarray: None
IPython: 7.5.0
sphinx: None
patsy: None
dateutil: 2.8.0
pytz: 2019.1
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: 3.1.0
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml.etree: 4.3.3
bs4: None
html5lib: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.10.1
s3fs: 0.3.0
fastparquet: None
pandas_gbq: None
pandas_datareader: None
gcsfs: 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/27596/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27596/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27597 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27597/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27597/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27597/events | https://github.com/pandas-dev/pandas/pull/27597 | 473,108,576 | MDExOlB1bGxSZXF1ZXN0MzAxMzQyMjc2 | 27,597 | BUG: groupby.transform(name) validates name is an aggregation | {
"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": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] | closed | false | null | [] | null | 18 | 2019-07-25T23:16:22Z | 2019-07-29T18:36:19Z | 2019-07-29T18:12:27Z | NONE | null | closes #14274
closes #19354
closes #22509
- [ ] tests added / passed
- [X] whatsnew entry
This is a long-standing bug. Effectively, it makes `transform('rank')` synonymous with `g.rank()` and same for other transformations.
We could also resolve this by restricting the `g.transform(name)` whitelist to only callables and aggs-to-be-broadcasted, telling users to use the named method directly, i.e `g.rank()` instead. Not a problem keeping this path working though, it just needs to return correct results.
Also, continuing some cleanups after #27467 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27597/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27597/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27597.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27597",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/27597.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27597"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27598 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27598/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27598/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27598/events | https://github.com/pandas-dev/pandas/pull/27598 | 473,113,183 | MDExOlB1bGxSZXF1ZXN0MzAxMzQ2MDM3 | 27,598 | TYPING: some type hints for pandas\io\common.py | {
"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": "ededed",
"default": false,
"description": "__repr__ of pandas objects, to_string",
"id": 13101118,
"name": "Output-Formatting",
"node_id": "MDU6TGFiZWwxMzEwMTExOA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Output-Formatting"
},
{
"color": "ea91a... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 4 | 2019-07-25T23:37:11Z | 2019-08-05T09:39:05Z | 2019-08-02T17:14:20Z | 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/27598/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27598/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27598.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27598",
"merged_at": "2019-08-02T17:14:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27598.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27598"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/27599 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27599/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27599/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27599/events | https://github.com/pandas-dev/pandas/pull/27599 | 473,116,256 | MDExOlB1bGxSZXF1ZXN0MzAxMzQ4NDk3 | 27,599 | [WIP] Quick fix to provide complex data type support for hashmap based algorithms | {
"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": "009800",
"default": false,
"description": "Complex Numbers",
"id": 172091424,
"name": "Complex",
"node_id": "MDU6TGFiZWwxNzIwOTE0MjQ=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Complex"
}
] | closed | false | null | [] | null | 12 | 2019-07-25T23:51:45Z | 2020-01-20T17:59:12Z | 2020-01-20T17:59:12Z | NONE | null | - [x] fixes #17927
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [-] whatsnew entry
| {
"+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/27599/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27599/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27599.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27599",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/27599.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27599"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27600 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27600/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27600/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27600/events | https://github.com/pandas-dev/pandas/pull/27600 | 473,116,872 | MDExOlB1bGxSZXF1ZXN0MzAxMzQ5MDE0 | 27,600 | DEPR: NDFrame.set_axis inplace defaults to false #27525 | {
"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": "Functionality to remove in pandas",
"id": 87485152,
"name": "Deprecate",
"node_id": "MDU6TGFiZWw4NzQ4NTE1Mg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Deprecate"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 7 | 2019-07-25T23:54:42Z | 2019-07-27T08:07:19Z | 2019-07-26T11:51:35Z | NONE | null | https://github.com/pandas-dev/pandas/blob/76247c142893c710e970c4cf8a25d73121aa5a2b/pandas/core/generic.py#L594-L598
has been there since <del>#20164</del> #16994 (issue was #14636), part of 0.21.0.
With discussion of plans to deprecate similar functionality from set_index in #24046, it's time to make sure `set_axis` conforms to the rest of pandas in this. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27600/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27600/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27600.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27600",
"merged_at": "2019-07-26T11:51:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27600.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27600"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27601 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27601/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27601/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27601/events | https://github.com/pandas-dev/pandas/issues/27601 | 473,117,426 | MDU6SXNzdWU0NzMxMTc0MjY= | 27,601 | rolling agg raise error | {
"avatar_url": "https://avatars.githubusercontent.com/u/5914809?v=4",
"events_url": "https://api.github.com/users/ytcpub/events{/privacy}",
"followers_url": "https://api.github.com/users/ytcpub/followers",
"following_url": "https://api.github.com/users/ytcpub/following{/other_user}",
"gists_url": "https://api.github.com/users/ytcpub/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ytcpub",
"id": 5914809,
"login": "ytcpub",
"node_id": "MDQ6VXNlcjU5MTQ4MDk=",
"organizations_url": "https://api.github.com/users/ytcpub/orgs",
"received_events_url": "https://api.github.com/users/ytcpub/received_events",
"repos_url": "https://api.github.com/users/ytcpub/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ytcpub/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ytcpub/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ytcpub"
} | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | null | 1 | 2019-07-25T23:57:28Z | 2019-07-26T00:10:15Z | 2019-07-26T00:10:09Z | NONE | null | #### Code Sample, a copy-pastable example if possible
df = pd.DataFrame(
{'code':['1', '1', '1', '3'], 'desc':['hello', 'my name is', 'rock', 'bye']},
index=pd.date_range('2018-01-01', periods=4, freq='1s')
)
df.groupby(['code']).rolling('2s').agg({'desc': 'count'})
df.groupby(['code']).rolling('2s').agg({'desc': ' '.join})
df.groupby(['code']).agg({'desc': ' '.join})
```
#### Problem description
i want a function like rolling with time and group concat string rows
but when use rolling('2s').agg({'desc': ' '.join}) , it raise error, I reference https://github.com/pandas-dev/pandas/issues/20773, but that code not work, not the value but direct raise exception: TypeError: cannot handle this type -> object
error log tail:
d:\program\python37\lib\site-packages\pandas\core\window.py in apply(self, func, raw, args, kwargs)
1701 def apply(self, func, raw=None, args=(), kwargs={}):
1702 return super(Rolling, self).apply(
-> 1703 func, raw=raw, args=args, kwargs=kwargs)
1704
1705 @Substitution(name='rolling')
d:\program\python37\lib\site-packages\pandas\core\window.py in apply(self, func, raw, args, kwargs)
1010
1011 return self._apply(f, func, args=args, kwargs=kwargs,
-> 1012 center=False, raw=raw)
1013
1014 def sum(self, *args, **kwargs):
d:\program\python37\lib\site-packages\pandas\core\window.py in _apply(self, func, name, window, center, check_minp, **kwargs)
839 results = []
840 for b in blocks:
--> 841 values = self._prep_values(b.values)
842
843 if values.size == 0:
d:\program\python37\lib\site-packages\pandas\core\window.py in _prep_values(self, values, kill_inf)
212 except (ValueError, TypeError):
213 raise TypeError("cannot handle this type -> {0}"
--> 214 "".format(values.dtype))
215
216 if kill_inf:
TypeError: cannot handle this type -> object
#### Expected Output
code desc
2018-01-01 00:00:00 1 hello
2018-01-01 00:00:01 1 hello my name is
2018-01-01 00:00:02 1 my name is rock
2018-01-01 00:00:03 3 bye
#### Output of ``pd.show_versions()``
INSTALLED VERSIONS
------------------
commit: None
python: 3.7.2.final.0
python-bits: 64
OS: Windows
OS-release: 10
machine: AMD64
processor: Intel64 Family 6 Model 158 Stepping 12, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
LOCALE: None.None
pandas: 0.24.2
pytest: None
pip: 19.0.3
setuptools: 40.6.2
Cython: None
numpy: 1.16.2
scipy: 1.2.1
pyarrow: None
xarray: None
IPython: 7.3.0
sphinx: None
patsy: None
dateutil: 2.8.0
pytz: 2018.9
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: 3.0.3
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml.etree: 4.3.2
bs4: 4.7.1
html5lib: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.10.1
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
gcsfs: None
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27601/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27601/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27602 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27602/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27602/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27602/events | https://github.com/pandas-dev/pandas/issues/27602 | 473,130,709 | MDU6SXNzdWU0NzMxMzA3MDk= | 27,602 | Disable codecov | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
}
] | closed | false | null | [] | null | 9 | 2019-07-26T01:05:09Z | 2019-12-21T02:17:52Z | 2019-12-21T02:17:52Z | MEMBER | null | I figured worth opening a dedicated issue since I've seen it come up in conversations. We don't really get a lot out of codecov right now and it tends to just be a distraction in CI. I think best to remove from CI unless anyone objects or we have a plan to better utilize
Note this would supersede #12634 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27602/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27602/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27603 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27603/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27603/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27603/events | https://github.com/pandas-dev/pandas/pull/27603 | 473,131,674 | MDExOlB1bGxSZXF1ZXN0MzAxMzYwNTgx | 27,603 | Removed get_value benchmarks | {
"avatar_url": "https://avatars.githubusercontent.com/u/609873?v=4",
"events_url": "https://api.github.com/users/WillAyd/events{/privacy}",
"followers_url": "https://api.github.com/users/WillAyd/followers",
"following_url": "https://api.github.com/users/WillAyd/following{/other_user}",
"gists_url": "https://api.github.com/users/WillAyd/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/WillAyd",
"id": 609873,
"login": "WillAyd",
"node_id": "MDQ6VXNlcjYwOTg3Mw==",
"organizations_url": "https://api.github.com/users/WillAyd/orgs",
"received_events_url": "https://api.github.com/users/WillAyd/received_events",
"repos_url": "https://api.github.com/users/WillAyd/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/WillAyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WillAyd/subscriptions",
"type": "User",
"url": "https://api.github.com/users/WillAyd"
} | [
{
"color": "ae68cc",
"default": false,
"description": "Performance (ASV) benchmarks",
"id": 732775912,
"name": "Benchmark",
"node_id": "MDU6TGFiZWw3MzI3NzU5MTI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Benchmark"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 2 | 2019-07-26T01:10:11Z | 2020-01-16T00:35:07Z | 2019-07-26T11:43:09Z | MEMBER | null | Follow up to #27377 @jbrockmendel
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27603/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27603/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27603.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27603",
"merged_at": "2019-07-26T11:43:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27603.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27603"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27604 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27604/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27604/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27604/events | https://github.com/pandas-dev/pandas/pull/27604 | 473,153,249 | MDExOlB1bGxSZXF1ZXN0MzAxMzc3MjIx | 27,604 | CLN: simplify indexing code | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "20... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-07-26T02:58:01Z | 2019-07-26T15:26:13Z | 2019-07-26T11:45:36Z | 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/27604/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27604/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27604.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27604",
"merged_at": "2019-07-26T11:45:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27604.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27604"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27605 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27605/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27605/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27605/events | https://github.com/pandas-dev/pandas/issues/27605 | 473,162,383 | MDU6SXNzdWU0NzMxNjIzODM= | 27,605 | 'cx_Oracle.LOB‘ object is not subscriptable | {
"avatar_url": "https://avatars.githubusercontent.com/u/22163216?v=4",
"events_url": "https://api.github.com/users/liyizhecn/events{/privacy}",
"followers_url": "https://api.github.com/users/liyizhecn/followers",
"following_url": "https://api.github.com/users/liyizhecn/following{/other_user}",
"gists_url": "https://api.github.com/users/liyizhecn/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/liyizhecn",
"id": 22163216,
"login": "liyizhecn",
"node_id": "MDQ6VXNlcjIyMTYzMjE2",
"organizations_url": "https://api.github.com/users/liyizhecn/orgs",
"received_events_url": "https://api.github.com/users/liyizhecn/received_events",
"repos_url": "https://api.github.com/users/liyizhecn/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/liyizhecn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/liyizhecn/subscriptions",
"type": "User",
"url": "https://api.github.com/users/liyizhecn"
} | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
},
{
"color": "5319e7",
"default": false,
"descript... | closed | false | null | [] | {
"closed_at": null,
"closed_issues": 2361,
"created_at": "2015-02-26T19:29:05Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "A milestone for closed or open issues for which there is no action needed (eg not a bug, just a question / discussion, nothing to resolve, wontfix, etc).\r\n\r\n",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/33",
"id": 997544,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33/labels",
"node_id": "MDk6TWlsZXN0b25lOTk3NTQ0",
"number": 33,
"open_issues": 11,
"state": "open",
"title": "No action",
"updated_at": "2021-11-19T17:33:16Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/33"
} | 6 | 2019-07-26T03:41:25Z | 2020-01-21T07:50:31Z | 2020-01-21T04:12:43Z | NONE | null | > ENV
```
centos 7
python3.6 64-bit
cx-Oracle==7.2.0
pandas==0.24.2
Oracle client 12.1
Oracle 12.1
ORACLE_HOME=/usr/lib/oracle/12.1/client64
NLS_LANG=SIMPLIFIED CHINESE_CHINA.UTF8
```
> CODE
```python
import pandas as pd
import cx_Oracle as co
con = co.connect(client, mode=co.SYSASM)
sql = f"select * from {table}"
df = pd.read_sql(sql, con)
data = df.select_dtypes(include=['object'])
```
> ERROR
```
'cx_Oracle.LOB‘ object is not subscriptable
```
> Q
```
How to use pandas to get values for other fields that are not of type LOB
```
> LINK
[the discuss of cx_Oracle forum](https://github.com/oracle/python-cx_Oracle/issues/336)
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27605/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27605/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27606 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27606/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27606/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27606/events | https://github.com/pandas-dev/pandas/pull/27606 | 473,162,775 | MDExOlB1bGxSZXF1ZXN0MzAxMzg0MjUx | 27,606 | CLN: one less try/except in Block methods | {
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
} | [
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-07-26T03:43:21Z | 2019-07-26T15:26:40Z | 2019-07-26T11:44:24Z | MEMBER | null | small unrelated cleanups | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27606/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27606/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27606.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27606",
"merged_at": "2019-07-26T11:44:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27606.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27606"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27607 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27607/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27607/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27607/events | https://github.com/pandas-dev/pandas/pull/27607 | 473,207,370 | MDExOlB1bGxSZXF1ZXN0MzAxNDE5Mjcy | 27,607 | BUG: break reference cycle in Index._engine | {
"avatar_url": "https://avatars.githubusercontent.com/u/1529400?v=4",
"events_url": "https://api.github.com/users/crepererum/events{/privacy}",
"followers_url": "https://api.github.com/users/crepererum/followers",
"following_url": "https://api.github.com/users/crepererum/following{/other_user}",
"gists_url": "https://api.github.com/users/crepererum/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/crepererum",
"id": 1529400,
"login": "crepererum",
"node_id": "MDQ6VXNlcjE1Mjk0MDA=",
"organizations_url": "https://api.github.com/users/crepererum/orgs",
"received_events_url": "https://api.github.com/users/crepererum/received_events",
"repos_url": "https://api.github.com/users/crepererum/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/crepererum/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/crepererum/subscriptions",
"type": "User",
"url": "https://api.github.com/users/crepererum"
} | [
{
"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": "2019-08-22T19:23:14Z",
"closed_issues": 145,
"created_at": "2019-06-30T19:32:22Z",
"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 0.25.x",
"due_on": "2019-08-21T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/65",
"id": 4452219,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65/labels",
"node_id": "MDk6TWlsZXN0b25lNDQ1MjIxOQ==",
"number": 65,
"open_issues": 0,
"state": "closed",
"title": "0.25.1",
"updated_at": "2019-08-22T19:52:56Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/65"
} | 10 | 2019-07-26T06:57:23Z | 2019-08-08T20:43:29Z | 2019-08-08T20:43:27Z | CONTRIBUTOR | null | - [X] closes #27585
- [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/27607/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27607/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27607.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27607",
"merged_at": "2019-08-08T20:43:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27607.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27607"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27608 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27608/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27608/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27608/events | https://github.com/pandas-dev/pandas/issues/27608 | 473,288,284 | MDU6SXNzdWU0NzMyODgyODQ= | 27,608 | Feature request: add the option of empty query to pandas.DataFrame.query | {
"avatar_url": "https://avatars.githubusercontent.com/u/11065427?v=4",
"events_url": "https://api.github.com/users/mariolovric/events{/privacy}",
"followers_url": "https://api.github.com/users/mariolovric/followers",
"following_url": "https://api.github.com/users/mariolovric/following{/other_user}",
"gists_url": "https://api.github.com/users/mariolovric/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mariolovric",
"id": 11065427,
"login": "mariolovric",
"node_id": "MDQ6VXNlcjExMDY1NDI3",
"organizations_url": "https://api.github.com/users/mariolovric/orgs",
"received_events_url": "https://api.github.com/users/mariolovric/received_events",
"repos_url": "https://api.github.com/users/mariolovric/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mariolovric/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mariolovric/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mariolovric"
} | [
{
"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"
}
] | closed | false | null | [] | null | 2 | 2019-07-26T10:22:04Z | 2021-07-10T19:11:44Z | 2021-07-10T19:11:44Z | NONE | null | ####
The idea is to give query the option to return the full dataframe, via some kind of "emtpy query".
I need this functionality quite often, since I am iterating on different querys.
Had an stackoverflow question on this here:
https://stackoverflow.com/questions/55933958/how-to-pass-an-empty-pandas-query/56982068#56982068
```python
import pandas as pd
import numpy as np
df = pd.DataFrame(np.random.randint(0,100,size=(100, 4)), columns=list('ABCD'))
print(df.head())
#current option from stackoverflow
col = df.columns[0]
returned_df = df.query(f"{col}.isnull() or {col}.notnull()")
returned_df.head()
```
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27608/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27608/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27609 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27609/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27609/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27609/events | https://github.com/pandas-dev/pandas/issues/27609 | 473,357,465 | MDU6SXNzdWU0NzMzNTc0NjU= | 27,609 | [DOC] Tautological/recursive `See also` link | {
"avatar_url": "https://avatars.githubusercontent.com/u/4407787?v=4",
"events_url": "https://api.github.com/users/rs2/events{/privacy}",
"followers_url": "https://api.github.com/users/rs2/followers",
"following_url": "https://api.github.com/users/rs2/following{/other_user}",
"gists_url": "https://api.github.com/users/rs2/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rs2",
"id": 4407787,
"login": "rs2",
"node_id": "MDQ6VXNlcjQ0MDc3ODc=",
"organizations_url": "https://api.github.com/users/rs2/orgs",
"received_events_url": "https://api.github.com/users/rs2/received_events",
"repos_url": "https://api.github.com/users/rs2/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rs2/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rs2/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rs2"
} | [
{
"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 | 1 | 2019-07-26T13:25:31Z | 2019-07-26T23:37:01Z | 2019-07-26T23:36:48Z | CONTRIBUTOR | null | https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.isnull.html#pandas.DataFrame.isnull
Please assign to me. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27609/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27609/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27610 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27610/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27610/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27610/events | https://github.com/pandas-dev/pandas/issues/27610 | 473,365,193 | MDU6SXNzdWU0NzMzNjUxOTM= | 27,610 | Impossible to use any variant of ".real/.imag" without warning | {
"avatar_url": "https://avatars.githubusercontent.com/u/33685575?v=4",
"events_url": "https://api.github.com/users/h-vetinari/events{/privacy}",
"followers_url": "https://api.github.com/users/h-vetinari/followers",
"following_url": "https://api.github.com/users/h-vetinari/following{/other_user}",
"gists_url": "https://api.github.com/users/h-vetinari/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/h-vetinari",
"id": 33685575,
"login": "h-vetinari",
"node_id": "MDQ6VXNlcjMzNjg1NTc1",
"organizations_url": "https://api.github.com/users/h-vetinari/orgs",
"received_events_url": "https://api.github.com/users/h-vetinari/received_events",
"repos_url": "https://api.github.com/users/h-vetinari/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/h-vetinari/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/h-vetinari/subscriptions",
"type": "User",
"url": "https://api.github.com/users/h-vetinari"
} | [
{
"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": "8dd5... | closed | false | null | [] | null | 9 | 2019-07-26T13:42:40Z | 2019-07-30T09:10:49Z | 2019-07-30T09:10:49Z | CONTRIBUTOR | null | After #27106, `Series.{real,imag}` raise a deprecation warning, which I guess is fair enough from the POV of getting rid of [things](https://github.com/pandas-dev/pandas/issues/18262#issuecomment-343932461) that came originally from subclassing ndarray.
```
>>> pd.Series([1, 2, 3]).real
__main__:1: FutureWarning: `real` has be deprecated and will be removed in a future verison
array([1, 2, 3], dtype=int64)
```
However, due to the way numpy and pandas still interact (with a lot of the `__array__` stuff behind the scenes), it is now *also* impossible to use `np.{real,imag}` without warning:
```
>>> np.real(pd.Series([1, 2, 3]))
C:\ProgramData\Miniconda3\envs\pandas-dev\lib\site-packages\numpy\lib\type_check.py:161: FutureWarning: `real` has be deprecated and will be removed in a future verison
return val.real
array([1, 2, 3], dtype=int64)
```
I'm fine with whichever way is recommended, but there should be at least one way that does not raise warnings...?
@mroeschke @jreback
PS. One might also use this chance to fix a typo: "[...] has be*en* deprecated [...]" | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27610/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27610/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/27611 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27611/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27611/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27611/events | https://github.com/pandas-dev/pandas/pull/27611 | 473,401,603 | MDExOlB1bGxSZXF1ZXN0MzAxNTc1OTMy | 27,611 | DEPR: execute deprecations for str.cat in v1.0 | {
"avatar_url": "https://avatars.githubusercontent.com/u/33685575?v=4",
"events_url": "https://api.github.com/users/h-vetinari/events{/privacy}",
"followers_url": "https://api.github.com/users/h-vetinari/followers",
"following_url": "https://api.github.com/users/h-vetinari/following{/other_user}",
"gists_url": "https://api.github.com/users/h-vetinari/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/h-vetinari",
"id": 33685575,
"login": "h-vetinari",
"node_id": "MDQ6VXNlcjMzNjg1NTc1",
"organizations_url": "https://api.github.com/users/h-vetinari/orgs",
"received_events_url": "https://api.github.com/users/h-vetinari/received_events",
"repos_url": "https://api.github.com/users/h-vetinari/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/h-vetinari/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/h-vetinari/subscriptions",
"type": "User",
"url": "https://api.github.com/users/h-vetinari"
} | [
{
"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": "5319e7",
"defaul... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 4 | 2019-07-26T14:59:11Z | 2019-07-31T13:21:15Z | 2019-07-31T12:32:36Z | CONTRIBUTOR | null | - [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This executes some deprecations from the 0.23/0.24 cycles, namely following the switch from `join=None` to `join='left'` (following #18657 / #20347), as well as the fact that list-likes *within* list-likes were deprecated (following #21950 / #22264).
Since this deprecation closes the loop to my first-ever pandas issue (#18657) and PR (#20347), I'll allow myself a bit of a digression here. After biting off a bit more than I could chew (after finding out just how many cases the method was supposed to support), things got a bit tight with the cut-off for `0.23.0rc`, and @TomAugspurger [quipped](https://github.com/pandas-dev/pandas/pull/20347#issuecomment-385686992):
> > @h-vetinari: Thanks for waiting with the cut-off! [...]
> @TomAugspurger: Right, we'll keep you on the hook for future maintenance of this :)
After #20347 #20790 #20842 #20845 #20923 #21330 #21950 #22264 #22575 #22652 #22721 (-->#23011 #23163 #23167 #23582 ... and several more issues/PRs around `.str`-accessor) #22722 #22725 #23009 (-->#23061 #23065) #23187 #23443 #23723 #23725 #24044 #24045 #26605 #26607 etc., I think I can say that I upheld my end of the bargain. :) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/27611/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27611/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27611.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27611",
"merged_at": "2019-07-31T12:32:35Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27611.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27611"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/27612 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/27612/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/27612/comments | https://api.github.com/repos/pandas-dev/pandas/issues/27612/events | https://github.com/pandas-dev/pandas/pull/27612 | 473,407,918 | MDExOlB1bGxSZXF1ZXN0MzAxNTgxMDQ5 | 27,612 | CLN: Fix comment in interval.py | {
"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": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "009800",
"default": false,
"description": "Interval data type",
... | closed | false | null | [] | {
"closed_at": "2020-01-30T12:18:05Z",
"closed_issues": 2207,
"created_at": "2012-09-13T02:13:00Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/329591?v=4",
"events_url": "https://api.github.com/users/wesm/events{/privacy}",
"followers_url": "https://api.github.com/users/wesm/followers",
"following_url": "https://api.github.com/users/wesm/following{/other_user}",
"gists_url": "https://api.github.com/users/wesm/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/wesm",
"id": 329591,
"login": "wesm",
"node_id": "MDQ6VXNlcjMyOTU5MQ==",
"organizations_url": "https://api.github.com/users/wesm/orgs",
"received_events_url": "https://api.github.com/users/wesm/received_events",
"repos_url": "https://api.github.com/users/wesm/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/wesm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wesm/subscriptions",
"type": "User",
"url": "https://api.github.com/users/wesm"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-02-01T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/16",
"id": 174211,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16/labels",
"node_id": "MDk6TWlsZXN0b25lMTc0MjEx",
"number": 16,
"open_issues": 0,
"state": "closed",
"title": "1.0.0",
"updated_at": "2020-01-30T12:18:05Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/16"
} | 1 | 2019-07-26T15:12:28Z | 2019-07-26T21:02:41Z | 2019-07-26T20:58:56Z | NONE | 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/27612/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/27612/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/27612.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/27612",
"merged_at": "2019-07-26T20:58:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/27612.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/27612"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.