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/32316
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32316/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32316/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32316/events
|
https://github.com/pandas-dev/pandas/issues/32316
| 572,451,978
|
MDU6SXNzdWU1NzI0NTE5Nzg=
| 32,316
|
DOC: Standardize references to pandas in the documentation
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16039329?v=4",
"events_url": "https://api.github.com/users/LeviMatus/events{/privacy}",
"followers_url": "https://api.github.com/users/LeviMatus/followers",
"following_url": "https://api.github.com/users/LeviMatus/following{/other_user}",
"gists_url": "https://api.github.com/users/LeviMatus/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/LeviMatus",
"id": 16039329,
"login": "LeviMatus",
"node_id": "MDQ6VXNlcjE2MDM5MzI5",
"organizations_url": "https://api.github.com/users/LeviMatus/orgs",
"received_events_url": "https://api.github.com/users/LeviMatus/received_events",
"repos_url": "https://api.github.com/users/LeviMatus/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/LeviMatus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LeviMatus/subscriptions",
"type": "User",
"url": "https://api.github.com/users/LeviMatus"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/16039329?v=4",
"events_url": "https://api.github.com/users/LeviMatus/events{/privacy}",
"followers_url": "https://api.github.com/users/LeviMatus/followers",
"following_url": "https://api.github.com/users/LeviMatus/following{/other_user}",
"gists_url": "https://api.github.com/users/LeviMatus/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/LeviMatus",
"id": 16039329,
"login": "LeviMatus",
"node_id": "MDQ6VXNlcjE2MDM5MzI5",
"organizations_url": "https://api.github.com/users/LeviMatus/orgs",
"received_events_url": "https://api.github.com/users/LeviMatus/received_events",
"repos_url": "https://api.github.com/users/LeviMatus/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/LeviMatus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LeviMatus/subscriptions",
"type": "User",
"url": "https://api.github.com/users/LeviMatus"
},
{
"avatar_url": "https://avatars.githubusercontent.com/u/21048435?v=4",
"events_url": "https://api.github.com/users/willie3838/events{/privacy}",
"followers_url": "https://api.github.com/users/willie3838/followers",
"following_url": "https://api.github.com/users/willie3838/following{/other_user}",
"gists_url": "https://api.github.com/users/willie3838/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/willie3838",
"id": 21048435,
"login": "willie3838",
"node_id": "MDQ6VXNlcjIxMDQ4NDM1",
"organizations_url": "https://api.github.com/users/willie3838/orgs",
"received_events_url": "https://api.github.com/users/willie3838/received_events",
"repos_url": "https://api.github.com/users/willie3838/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/willie3838/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/willie3838/subscriptions",
"type": "User",
"url": "https://api.github.com/users/willie3838"
},
{
"avatar_url": "https://avatars.githubusercontent.com/u/35984969?v=4",
"events_url": "https://api.github.com/users/joybh98/events{/privacy}",
"followers_url": "https://api.github.com/users/joybh98/followers",
"following_url": "https://api.github.com/users/joybh98/following{/other_user}",
"gists_url": "https://api.github.com/users/joybh98/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/joybh98",
"id": 35984969,
"login": "joybh98",
"node_id": "MDQ6VXNlcjM1OTg0OTY5",
"organizations_url": "https://api.github.com/users/joybh98/orgs",
"received_events_url": "https://api.github.com/users/joybh98/received_events",
"repos_url": "https://api.github.com/users/joybh98/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/joybh98/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/joybh98/subscriptions",
"type": "User",
"url": "https://api.github.com/users/joybh98"
},
{
"avatar_url": "https://avatars.githubusercontent.com/u/44315225?v=4",
"events_url": "https://api.github.com/users/Mikhaylov-yv/events{/privacy}",
"followers_url": "https://api.github.com/users/Mikhaylov-yv/followers",
"following_url": "https://api.github.com/users/Mikhaylov-yv/following{/other_user}",
"gists_url": "https://api.github.com/users/Mikhaylov-yv/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Mikhaylov-yv",
"id": 44315225,
"login": "Mikhaylov-yv",
"node_id": "MDQ6VXNlcjQ0MzE1MjI1",
"organizations_url": "https://api.github.com/users/Mikhaylov-yv/orgs",
"received_events_url": "https://api.github.com/users/Mikhaylov-yv/received_events",
"repos_url": "https://api.github.com/users/Mikhaylov-yv/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Mikhaylov-yv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mikhaylov-yv/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Mikhaylov-yv"
},
{
"avatar_url": "https://avatars.githubusercontent.com/u/69021568?v=4",
"events_url": "https://api.github.com/users/EllieLockhart/events{/privacy}",
"followers_url": "https://api.github.com/users/EllieLockhart/followers",
"following_url": "https://api.github.com/users/EllieLockhart/following{/other_user}",
"gists_url": "https://api.github.com/users/EllieLockhart/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/EllieLockhart",
"id": 69021568,
"login": "EllieLockhart",
"node_id": "MDQ6VXNlcjY5MDIxNTY4",
"organizations_url": "https://api.github.com/users/EllieLockhart/orgs",
"received_events_url": "https://api.github.com/users/EllieLockhart/received_events",
"repos_url": "https://api.github.com/users/EllieLockhart/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/EllieLockhart/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/EllieLockhart/subscriptions",
"type": "User",
"url": "https://api.github.com/users/EllieLockhart"
}
] | null | 10
| 2020-02-28T00:54:20Z
| 2020-10-04T20:13:32Z
| 2020-10-04T20:13:32Z
|
MEMBER
| null |
In our documentation (files in `doc/source/../*.rst`), we refer to pandas as `Pandas`, `pandas`, and `*pandas*` (sphinx italics).
For documentation consistency, we should standardize these to one form. `pandas` is the preferable form in our documentation files.
Unfortunately I don't think we create a lint rule for this pattern since we have to be flexible to references and hyperlinks.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32316/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32316/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32317
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32317/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32317/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32317/events
|
https://github.com/pandas-dev/pandas/pull/32317
| 572,465,507
|
MDExOlB1bGxSZXF1ZXN0MzgxMTU4MjYw
| 32,317
|
REF: test_first_valid_index
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-02-28T01:33:24Z
| 2020-02-28T15:47:56Z
| 2020-02-28T10:55:10Z
|
MEMBER
| null |
For this one I went ahead and combined the two files, split tests, and parametrized. We end up covering a few more cases now than in the status quo (Series with index of strings, DataFrame with DTI)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32317/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32317/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32317.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32317",
"merged_at": "2020-02-28T10:55:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32317.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32317"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32318
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32318/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32318/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32318/events
|
https://github.com/pandas-dev/pandas/issues/32318
| 572,478,603
|
MDU6SXNzdWU1NzI0Nzg2MDM=
| 32,318
|
API: Named aggregations for groupby.transform()
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/55477181?v=4",
"events_url": "https://api.github.com/users/davidwales/events{/privacy}",
"followers_url": "https://api.github.com/users/davidwales/followers",
"following_url": "https://api.github.com/users/davidwales/following{/other_user}",
"gists_url": "https://api.github.com/users/davidwales/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidwales",
"id": 55477181,
"login": "davidwales",
"node_id": "MDQ6VXNlcjU1NDc3MTgx",
"organizations_url": "https://api.github.com/users/davidwales/orgs",
"received_events_url": "https://api.github.com/users/davidwales/received_events",
"repos_url": "https://api.github.com/users/davidwales/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidwales/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidwales/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidwales"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"color": "fbca04",
"default": false,
"description": "Apply, Aggregate, Transform",
"id": 697792067,
"name": "Apply",
"node_id": "MDU6TGFiZWw2OTc3OTIwNjc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Apply"
}
] |
open
| false
| null |
[] | null | 0
| 2020-02-28T02:20:44Z
| 2021-07-29T04:48:13Z
| null |
CONTRIBUTOR
| null |
#### Code Sample, a copy-pastable example if possible
```python
In [2]: df = pd.DataFrame({
...: 'A': [1, 1, 2, 2, 3, 3],
...: 'B': [4, 5, 6, 7, 8, 9]
...: })
In [3]: df
Out[3]:
A B
0 1 4
1 1 5
2 2 6
3 2 7
4 3 8
5 3 9
In [4]: df.groupby('A').agg(maximum=('B', 'max'))
Out[4]:
maximum
A
1 5
2 7
3 9
In [5]: df.groupby('A').transform(maximum=('B', 'max'))
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-5-10080a262c70> in <module>
----> 1 df.groupby('A').transform(maximum=('B', 'max'))
TypeError: transform() missing 1 required positional argument: 'func'
In [6]: df['maximum'] = df.groupby('A')['B'].transform('max')
In [7]: df
Out[7]:
A B maximum
0 1 4 5
1 1 5 5
2 2 6 7
3 2 7 7
4 3 8 9
5 3 9 9
```
#### Problem description
[Named aggregation](https://pandas.pydata.org/pandas-docs/stable/user_guide/groupby.html#named-aggregation) streamlines the process of creating columns as a result of `groupby.agg()`. A similar (identical?) API for `groupby.transform()` would provide the same benefit when creating new columns from `groupby.transform()`.
This issue may be related to #28380.
#### Expected Output
```python
In [2]: df = pd.DataFrame({
...: 'A': [1, 1, 2, 2, 3, 3],
...: 'B': [4, 5, 6, 7, 8, 9]
...: })
In [3]: df.groupby('A').transform(maximum=('B', 'max'))
Out[3]:
A B maximum
0 1 4 5
1 1 5 5
2 2 6 7
3 2 7 7
4 3 8 9
5 3 9 9
```
#### Output of ``pd.show_versions()``
<details>
In [8]: pd.show_versions()
C:\Users\dwales\AppData\Local\Continuum\anaconda3\lib\site-packages\fastparquet\dataframe.py:5: FutureWarning: pandas.core.index is deprecated and will be removed in a future version. The public classes are available in the top-level namespace.
from pandas.core.index import CategoricalIndex, RangeIndex, Index, MultiIndex
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.5.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 78 Stepping 3, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : None.None
pandas : 1.0.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.2.0.post20200210
Cython : 0.29.15
pytest : 5.3.5
hypothesis : 5.4.1
sphinx : 2.4.0
blosc : None
feather : None
xlsxwriter : 1.2.7
lxml.etree : 4.5.0
html5lib : 1.0.1
pymysql : None
psycopg2 : 2.8.4 (dt dec pq3 ext lo64)
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: None
bs4 : 4.8.2
bottleneck : 1.3.1
fastparquet : 0.3.2
gcsfs : None
lxml.etree : 4.5.0
matplotlib : 3.1.3
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : 0.13.0
pytables : None
pytest : 5.3.5
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : 3.6.1
tabulate : 0.8.3
xarray : 0.15.0
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.7
numba : 0.48.0
</details>
|
{
"+1": 1,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32318/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32318/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32319
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32319/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32319/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32319/events
|
https://github.com/pandas-dev/pandas/pull/32319
| 572,487,090
|
MDExOlB1bGxSZXF1ZXN0MzgxMTc1NDY1
| 32,319
|
CLN: remove _igetitem_cache
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-28T02:53:44Z
| 2020-03-03T01:52:52Z
| 2020-03-03T01:34:31Z
|
MEMBER
| null |
Only used once (recent bugfixes got rid of the user uses IIRC) and its just an extra layer that isnt needed.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32319/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32319/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32319.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32319",
"merged_at": "2020-03-03T01:34:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32319.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32319"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32320
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32320/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32320/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32320/events
|
https://github.com/pandas-dev/pandas/pull/32320
| 572,496,839
|
MDExOlB1bGxSZXF1ZXN0MzgxMTgzNDI3
| 32,320
|
BUG: parse_dates may have columns not in dataframe
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/21811?v=4",
"events_url": "https://api.github.com/users/sathyz/events{/privacy}",
"followers_url": "https://api.github.com/users/sathyz/followers",
"following_url": "https://api.github.com/users/sathyz/following{/other_user}",
"gists_url": "https://api.github.com/users/sathyz/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/sathyz",
"id": 21811,
"login": "sathyz",
"node_id": "MDQ6VXNlcjIxODEx",
"organizations_url": "https://api.github.com/users/sathyz/orgs",
"received_events_url": "https://api.github.com/users/sathyz/received_events",
"repos_url": "https://api.github.com/users/sathyz/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/sathyz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sathyz/subscriptions",
"type": "User",
"url": "https://api.github.com/users/sathyz"
}
|
[
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 16
| 2020-02-28T03:28:41Z
| 2020-03-17T03:49:49Z
| 2020-03-17T00:03:12Z
|
CONTRIBUTOR
| null |
read_csv will raise ValueError when columnes used for parse_dates are found in the dataframe.
- [x] closes #31251
- [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/32320/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32320/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32320.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32320",
"merged_at": "2020-03-17T00:03:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32320.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32320"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32321
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32321/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32321/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32321/events
|
https://github.com/pandas-dev/pandas/issues/32321
| 572,502,236
|
MDU6SXNzdWU1NzI1MDIyMzY=
| 32,321
|
Cant Read Panda
|
{
"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
| 2020-02-28T03:48:49Z
| 2020-02-28T04:17:33Z
| 2020-02-28T04:17:32Z
|
NONE
| null |
```
first_concurrent_all_table = pd.read_html(requests.get(url).text)
first_concurrent_first_table = first_concurrent_all_table[0]
print(first_concurrent_first_table)
```
The error is the following :
irst_concurrent_all_table = pd.read_html(requests.get(url).text)
File "/usr/local/lib/python3.7/dist-packages/pandas/io/html.py", line 1100, in read_html
displayed_only=displayed_only,
File "/usr/local/lib/python3.7/dist-packages/pandas/io/html.py", line 915, in _parse
raise retained
File "/usr/local/lib/python3.7/dist-packages/pandas/io/html.py", line 895, in _parse
tables = p.parse_tables()
File "/usr/local/lib/python3.7/dist-packages/pandas/io/html.py", line 213, in parse_tables
tables = self._parse_tables(self._build_doc(), self.match, self.attrs)
File "/usr/local/lib/python3.7/dist-packages/pandas/io/html.py", line 545, in _parse_tables
raise ValueError("No tables found")
ValueError: No tables found
When I tried this yesterday it was fine. The website had not changed anything regarding their code.
Desired output is the table.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32321/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32321/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32322
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32322/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32322/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32322/events
|
https://github.com/pandas-dev/pandas/pull/32322
| 572,608,019
|
MDExOlB1bGxSZXF1ZXN0MzgxMjY4OTUz
| 32,322
|
Fix exception causes all over the code
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/56778?v=4",
"events_url": "https://api.github.com/users/cool-RR/events{/privacy}",
"followers_url": "https://api.github.com/users/cool-RR/followers",
"following_url": "https://api.github.com/users/cool-RR/following{/other_user}",
"gists_url": "https://api.github.com/users/cool-RR/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cool-RR",
"id": 56778,
"login": "cool-RR",
"node_id": "MDQ6VXNlcjU2Nzc4",
"organizations_url": "https://api.github.com/users/cool-RR/orgs",
"received_events_url": "https://api.github.com/users/cool-RR/received_events",
"repos_url": "https://api.github.com/users/cool-RR/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cool-RR/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cool-RR/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cool-RR"
}
|
[
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-02-28T08:37:25Z
| 2020-06-24T08:34:18Z
| 2020-02-28T10:22:52Z
|
CONTRIBUTOR
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32322/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32322/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32322.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32322",
"merged_at": "2020-02-28T10:22:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32322.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32322"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32323
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32323/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32323/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32323/events
|
https://github.com/pandas-dev/pandas/pull/32323
| 572,635,266
|
MDExOlB1bGxSZXF1ZXN0MzgxMjkxMDcx
| 32,323
|
STY: spaces in wrong place
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-28T09:33:22Z
| 2020-02-28T10:28:34Z
| 2020-02-28T10:15:59Z
|
MEMBER
| null |
- [x] ref #30755
- [ ] 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/32323/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32323/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32323.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32323",
"merged_at": "2020-02-28T10:15:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32323.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32323"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32324
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32324/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32324/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32324/events
|
https://github.com/pandas-dev/pandas/pull/32324
| 572,644,379
|
MDExOlB1bGxSZXF1ZXN0MzgxMjk4NDEy
| 32,324
|
TST/CLN: Follow-up to #31867
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-02-28T09:50:32Z
| 2020-02-29T13:31:31Z
| 2020-02-29T00:56:20Z
|
MEMBER
| null |
xref #31867
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32324/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32324/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32324.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32324",
"merged_at": "2020-02-29T00:56:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32324.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32324"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32325
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32325/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32325/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32325/events
|
https://github.com/pandas-dev/pandas/issues/32325
| 572,651,316
|
MDU6SXNzdWU1NzI2NTEzMTY=
| 32,325
|
ENH: Syntactic sugar for DatetimeIndex datetime slicing
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/52781185?v=4",
"events_url": "https://api.github.com/users/Alpima-Quant/events{/privacy}",
"followers_url": "https://api.github.com/users/Alpima-Quant/followers",
"following_url": "https://api.github.com/users/Alpima-Quant/following{/other_user}",
"gists_url": "https://api.github.com/users/Alpima-Quant/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Alpima-Quant",
"id": 52781185,
"login": "Alpima-Quant",
"node_id": "MDQ6VXNlcjUyNzgxMTg1",
"organizations_url": "https://api.github.com/users/Alpima-Quant/orgs",
"received_events_url": "https://api.github.com/users/Alpima-Quant/received_events",
"repos_url": "https://api.github.com/users/Alpima-Quant/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Alpima-Quant/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Alpima-Quant/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Alpima-Quant"
}
|
[
{
"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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-02-28T10:03:06Z
| 2020-09-18T17:09:57Z
| 2020-09-18T17:09:56Z
|
NONE
| null |
```python
import pandas as pd
from datetime import datetime
index = pd.date_range(start=datetime(2019, 1, 1), end=datetime(2020, 1, 1), freq='D')
ts = pd.Series(index=index, dtype=float)
start_date = datetime(2019, 6, 1)
index_from_ts_slice = ts[start_date:].index
# this errors:
try:
index_from_index_slice = index[start_date:]
except TypeError as e:
print(e)
# I can use slice_indexer to get what I want but it is uglier
index_from_slice_indexer = index[index.slice_indexer(start_date)]
assert (index_from_ts_slice == index_from_slice_indexer).all()
```
When a Series or a DataFrame has a sorted DatetimeIndex, one can slice these structures using datetimes and square brackets notation. However this kind of slicing is not supported directly on a DatetimeIndex.
Basically I really like the datetime slicing notation and I'd like index[start_date:] to be able to return the same slice of the index as ts[start_date:].index or index[index.slice_indexer(start_date)]
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.6.9.final.0
python-bits : 64
OS : Linux
OS-release : 4.9.93-boot2docker
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : C.UTF-8
LANG : C.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.0
numpy : 1.14.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 39.0.1
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : 0.9999999
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: None
bs4 : 4.4.1
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 2.0.0
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 0.17.1
sqlalchemy : None
tables : 3.4.2
tabulate : None
xarray : None
xlrd : 1.1.0
xlwt : None
xlsxwriter : None
numba : 0.35.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32325/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32325/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32326
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32326/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32326/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32326/events
|
https://github.com/pandas-dev/pandas/issues/32326
| 572,674,697
|
MDU6SXNzdWU1NzI2NzQ2OTc=
| 32,326
|
Unexpected behaviour of df.to_json(compression="gzip")
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1658117?v=4",
"events_url": "https://api.github.com/users/MartinThoma/events{/privacy}",
"followers_url": "https://api.github.com/users/MartinThoma/followers",
"following_url": "https://api.github.com/users/MartinThoma/following{/other_user}",
"gists_url": "https://api.github.com/users/MartinThoma/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MartinThoma",
"id": 1658117,
"login": "MartinThoma",
"node_id": "MDQ6VXNlcjE2NTgxMTc=",
"organizations_url": "https://api.github.com/users/MartinThoma/orgs",
"received_events_url": "https://api.github.com/users/MartinThoma/received_events",
"repos_url": "https://api.github.com/users/MartinThoma/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MartinThoma/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MartinThoma/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MartinThoma"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": "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"
}
] |
open
| false
| null |
[] | null | 1
| 2020-02-28T10:44:27Z
| 2020-05-08T21:26:01Z
| null |
NONE
| null |
#### Code Sample
```python
import pandas as pd
df = pd.DataFrame({"a": [1, 2, 3, 4], "b": ["A", "B", "C", "D"],})
json_df = df.to_json(lines=True, orient="records", compression="gzip")
print(json_df)
```
#### Problem description
The behavior of the "compression" argument is unexpected. It doesn't have any effect. Although [it is documented](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_json.html) that it is only applied if there is a filename argument, there should at very least be a warning if compression is set, but no filename is given.
Also: Why doesn't it have an effect? Couldn't we output a bytes object?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32326/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32326/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32327
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32327/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32327/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32327/events
|
https://github.com/pandas-dev/pandas/issues/32327
| 572,693,036
|
MDU6SXNzdWU1NzI2OTMwMzY=
| 32,327
|
local test failure - pandas/tests/io/test_parquet.py::TestBasic::test_compression[fastparquet-snappy]
|
{
"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": "fbca04",
"default": false,
"description": "Windows OS",
"id": 57186974,
"name": "Windows",
"node_id": "MDU6TGFiZWw1NzE4Njk3NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Windows"
},
{
"color": "5319e7",
"default": false,
"description": "Unit tests that occasionally fail",
"id": 76939933,
"name": "Unreliable Test",
"node_id": "MDU6TGFiZWw3NjkzOTkzMw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unreliable%20Test"
},
{
"color": "5319e7",
"default": false,
"description": "parquet, feather",
"id": 685114413,
"name": "IO Parquet",
"node_id": "MDU6TGFiZWw2ODUxMTQ0MTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Parquet"
}
] |
open
| false
| null |
[] | null | 3
| 2020-02-28T11:19:12Z
| 2020-04-19T19:30:36Z
| null |
MEMBER
| null |
```
$ conda list snappy
# packages in environment at C:\Users\simon\Anaconda3\envs\pandas-dev:
#
# Name Version Build Channel
python-snappy 0.5.4 py37hd25c944_1 conda-forge
snappy 1.1.8 he025d50_1 conda-forge
```
```
pandas/tests/io/test_parquet.py::TestBasic::test_compression[fastparquet-snappy] Windows fatal exception: code 0xc000001d
Current thread 0x00002074 (most recent call first):
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\snappy\snappy.py", line 92 in uncompress
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\compression.py", line 44 in snappy_decompress
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\compression.py", line 145 in decompress_data
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\core.py", line 25 in _read_page
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\core.py", line 99 in read_data_page
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\core.py", line 245 in read_col
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\core.py", line 331 in read_row_group_arrays
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\core.py", line 354 in read_row_group
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\api.py", line 228 in read_row_group
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\api.py", line 399 in to_pandas
File "C:\Users\simon\pandas\pandas\io\parquet.py", line 195 in read
File "C:\Users\simon\pandas\pandas\io\parquet.py", line 300 in read_parquet
File "C:\Users\simon\pandas\pandas\tests\io\test_parquet.py", line 168 in compare
File "C:\Users\simon\pandas\pandas\tests\io\test_parquet.py", line 174 in check_round_trip
File "C:\Users\simon\pandas\pandas\tests\io\test_parquet.py", line 317 in test_compression
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\python.py", line 167 in pytest_pyfunc_call
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 86 in <lambda>
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 92 in _hookexec
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\python.py", line 1445 in runtest
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\runner.py", line 134 in pytest_runtest_call
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 86 in <lambda>
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 92 in _hookexec
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\runner.py", line 210 in <lambda>
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\runner.py", line 237 in from_call
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\runner.py", line 210 in call_runtest_hook
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\runner.py", line 185 in call_and_report
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\runner.py", line 99 in runtestprotocol
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\runner.py", line 84 in pytest_runtest_protocol
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 86 in <lambda>
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 92 in _hookexec
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\main.py", line 271 in pytest_runtestloop
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 86 in <lambda>
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 92 in _hookexec
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\main.py", line 247 in _main
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\main.py", line 197 in wrap_session
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\main.py", line 240 in pytest_cmdline_main
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 86 in <lambda>
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 92 in _hookexec
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\config\__init__.py", line 93 in main
File "C:\Users\simon\Anaconda3\envs\pandas-dev\Scripts\pytest-script.py", line 10 in <module>
Fatal Python error: Illegal instruction
Current thread 0x00002074 (most recent call first):
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\snappy\snappy.py", line 92 in uncompress
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\compression.py", line 44 in snappy_decompress
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\compression.py", line 145 in decompress_data
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\core.py", line 25 in _read_page
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\core.py", line 99 in read_data_page
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\core.py", line 245 in read_col
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\core.py", line 331 in read_row_group_arrays
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\core.py", line 354 in read_row_group
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\api.py", line 228 in read_row_group
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\fastparquet\api.py", line 399 in to_pandas
File "C:\Users\simon\pandas\pandas\io\parquet.py", line 195 in read
File "C:\Users\simon\pandas\pandas\io\parquet.py", line 300 in read_parquet
File "C:\Users\simon\pandas\pandas\tests\io\test_parquet.py", line 168 in compare
File "C:\Users\simon\pandas\pandas\tests\io\test_parquet.py", line 174 in check_round_trip
File "C:\Users\simon\pandas\pandas\tests\io\test_parquet.py", line 317 in test_compression
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\python.py", line 167 in pytest_pyfunc_call
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 86 in <lambda>
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 92 in _hookexec
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\python.py", line 1445 in runtest
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\runner.py", line 134 in pytest_runtest_call
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 86 in <lambda>
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 92 in _hookexec
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\runner.py", line 210 in <lambda>
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\runner.py", line 237 in from_call
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\runner.py", line 210 in call_runtest_hook
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\runner.py", line 185 in call_and_report
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\runner.py", line 99 in runtestprotocol
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\runner.py", line 84 in pytest_runtest_protocol
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 86 in <lambda>
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 92 in _hookexec
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\main.py", line 271 in pytest_runtestloop
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 86 in <lambda>
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 92 in _hookexec
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\main.py", line 247 in _main
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\main.py", line 197 in wrap_session
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\main.py", line 240 in pytest_cmdline_main
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\callers.py", line 187 in _multicall
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 86 in <lambda>
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\manager.py", line 92 in _hookexec
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\pluggy\hooks.py", line 286 in __call__
File "C:\Users\simon\Anaconda3\envs\pandas-dev\lib\site-packages\_pytest\config\__init__.py", line 93 in main
File "C:\Users\simon\Anaconda3\envs\pandas-dev\Scripts\pytest-script.py", line 10 in <module>
```
<details>
INSTALLED VERSIONS
------------------
commit : bd2ee0fa1f1244aa4f0d9f1a7fea0d9e66ce72b4
python : 3.7.6.final.0
python-bits : 64
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : None.None
pandas : 1.1.0.dev0+631.gbd2ee0fa1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.2.0.post20200209
Cython : 0.29.15
pytest : 5.3.5
hypothesis : 5.5.4
sphinx : 2.4.3
blosc : None
feather : None
xlsxwriter : 1.2.8
lxml.etree : 4.5.0
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: None
bs4 : 4.8.2
bottleneck : 1.3.2
fastparquet : 0.3.3
gcsfs : None
lxml.etree : 4.5.0
matplotlib : 3.1.3
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.1
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
pytest : 5.3.5
pyxlsb : None
s3fs : 0.4.0
scipy : 1.3.1
sqlalchemy : 1.3.13
tables : 3.6.1
tabulate : 0.8.6
xarray : 0.15.0
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.8
numba : 0.48.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32327/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32327/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32328
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32328/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32328/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32328/events
|
https://github.com/pandas-dev/pandas/pull/32328
| 572,696,158
|
MDExOlB1bGxSZXF1ZXN0MzgxMzQxMjM4
| 32,328
|
CLN: Removed unused variables defenition
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-28T11:24:57Z
| 2020-02-29T10:24:23Z
| 2020-02-28T15:40:29Z
|
MEMBER
| null |
I don't see ```found``` and ```count``` being used anywhere in this function.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32328/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32328/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32328.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32328",
"merged_at": "2020-02-28T15:40:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32328.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32328"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32329
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32329/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32329/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32329/events
|
https://github.com/pandas-dev/pandas/pull/32329
| 572,726,320
|
MDExOlB1bGxSZXF1ZXN0MzgxMzY2MDQw
| 32,329
|
CLN: _libs.interval looping with cdef index
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-02-28T12:28:47Z
| 2020-02-29T10:25:01Z
| 2020-02-28T16:41:26Z
|
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/32329/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32329/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32329.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32329",
"merged_at": "2020-02-28T16:41:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32329.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32329"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32330
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32330/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32330/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32330/events
|
https://github.com/pandas-dev/pandas/issues/32330
| 572,730,282
|
MDU6SXNzdWU1NzI3MzAyODI=
| 32,330
|
How to tell if Accessor is Registered
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5131271?v=4",
"events_url": "https://api.github.com/users/achapkowski/events{/privacy}",
"followers_url": "https://api.github.com/users/achapkowski/followers",
"following_url": "https://api.github.com/users/achapkowski/following{/other_user}",
"gists_url": "https://api.github.com/users/achapkowski/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/achapkowski",
"id": 5131271,
"login": "achapkowski",
"node_id": "MDQ6VXNlcjUxMzEyNzE=",
"organizations_url": "https://api.github.com/users/achapkowski/orgs",
"received_events_url": "https://api.github.com/users/achapkowski/received_events",
"repos_url": "https://api.github.com/users/achapkowski/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/achapkowski/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/achapkowski/subscriptions",
"type": "User",
"url": "https://api.github.com/users/achapkowski"
}
|
[
{
"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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
open
| false
| null |
[] | null | 2
| 2020-02-28T12:37:24Z
| 2021-07-29T06:12:23Z
| null |
NONE
| null |
I have a simple question:
How do you know if your accessor namespace has already been registered with the extension framework?
Let's say I do:
```python
import pandas as pd
import coolaccessor # registers dataframe accessor/namespace
```
Now later on in the code, a person does:
```python
def cool_function(a,b):
import coolaccessor
return pd.cool.shibby(a,b)
```
It will try to re-register the accessor. This produces a warning during testing if that case occurs. So how can I check that if on re-import the registration doesn't need to occur again?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32330/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32330/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32331
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32331/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32331/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32331/events
|
https://github.com/pandas-dev/pandas/issues/32331
| 572,766,056
|
MDU6SXNzdWU1NzI3NjYwNTY=
| 32,331
|
Local test failure plotting.test_datetimelike.test_ts_plot_with_tz
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "8AE234",
"default": false,
"description": null,
"id": 2413328,
"name": "Visualization",
"node_id": "MDU6TGFiZWwyNDEzMzI4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Visualization"
},
{
"color": "5319e7",
"default": false,
"description": "Unit tests that occasionally fail",
"id": 76939933,
"name": "Unreliable Test",
"node_id": "MDU6TGFiZWw3NjkzOTkzMw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Unreliable%20Test"
}
] |
closed
| false
| null |
[] | null | 6
| 2020-02-28T13:47:36Z
| 2020-07-01T16:59:44Z
| 2020-07-01T16:59:44Z
|
MEMBER
| null |
After running:
```
(venv-pandas) $ pytest pandas/tests/plotting/test_datetimelike.py -k "test_ts_plot_with_tz"
```
I got a test failure.
Test log:
<details>
```
================================================== FAILURES ==================================================
___________________________________ TestTSPlot.test_ts_plot_with_tz['UTC'] ___________________________________
self = <pandas.tests.plotting.test_datetimelike.TestTSPlot object at 0x63f623915bb0>, tz_aware_fixture = 'UTC'
@pytest.mark.slow
def test_ts_plot_with_tz(self, tz_aware_fixture):
# GH2877, GH17173, GH31205, GH31580
tz = tz_aware_fixture
index = date_range("1/1/2011", periods=2, freq="H", tz=tz)
ts = Series([188.5, 328.25], index=index)
with tm.assert_produces_warning(None):
_check_plot_works(ts.plot)
ax = ts.plot()
xdata = list(ax.get_lines())[0].get_xdata()
# Check first and last points' labels are correct
> assert (xdata[0].hour, xdata[0].minute) == (0, 0)
E AttributeError: 'numpy.datetime64' object has no attribute 'hour'
pandas/tests/plotting/test_datetimelike.py:57: AttributeError
```
</details>
---
Output of ```pd.show_versions()```:
<details>
INSTALLED VERSIONS
------------------
commit : 4e5e73e2318a1221eb56ae7e68688278ca87ca6f
python : 3.8.1.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.19.a-1-hardened
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.1.0.dev0+635.g4e5e73e23
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.2.0
Cython : 0.29.15
pytest : 5.3.5
hypothesis : 5.5.4
sphinx : 2.4.3
blosc : 1.8.3
feather : None
xlsxwriter : 1.2.8
lxml.etree : 4.5.0
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: None
bs4 : 4.8.2
bottleneck : 1.3.2
fastparquet : 0.3.3
gcsfs : None
lxml.etree : 4.5.0
matplotlib : 3.1.3
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.1
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
pytest : 5.3.5
pyxlsb : None
s3fs : 0.4.0
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : 3.6.1
tabulate : 0.8.6
xarray : 0.15.0
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.8
numba : 0.48.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32331/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32331/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32332
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32332/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32332/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32332/events
|
https://github.com/pandas-dev/pandas/pull/32332
| 572,770,278
|
MDExOlB1bGxSZXF1ZXN0MzgxNDAyNTQ3
| 32,332
|
BUG: Rolling groupby should not maintain the by column in the resulting DataFrame
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
}
|
[
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
},
{
"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 | 5
| 2020-02-28T13:55:34Z
| 2020-10-10T14:14:53Z
| 2020-03-22T21:08:34Z
|
MEMBER
| null |
- [x] closes #32262
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Does this seem like the correct idea? If so, I'll expand on tests / write whatsnew / think about a cleaner patch
EDIT
----
lots of unwanted changes here, just seeing what tests fail
EDIT
----
need to check the types make sense and see what's the proper way to write
```
kwargs["exclusions"] = self.exclusions
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32332/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32332/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32332.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32332",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32332.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32332"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32333
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32333/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32333/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32333/events
|
https://github.com/pandas-dev/pandas/pull/32333
| 572,795,693
|
MDExOlB1bGxSZXF1ZXN0MzgxNDIzNTMz
| 32,333
|
DOC: Fixed reference to `convert_dtypes` in `to_numeric` (#32295)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10119969?v=4",
"events_url": "https://api.github.com/users/jqmviegas/events{/privacy}",
"followers_url": "https://api.github.com/users/jqmviegas/followers",
"following_url": "https://api.github.com/users/jqmviegas/following{/other_user}",
"gists_url": "https://api.github.com/users/jqmviegas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jqmviegas",
"id": 10119969,
"login": "jqmviegas",
"node_id": "MDQ6VXNlcjEwMTE5OTY5",
"organizations_url": "https://api.github.com/users/jqmviegas/orgs",
"received_events_url": "https://api.github.com/users/jqmviegas/received_events",
"repos_url": "https://api.github.com/users/jqmviegas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jqmviegas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jqmviegas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jqmviegas"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-28T14:37:28Z
| 2020-03-02T10:20:40Z
| 2020-02-29T03:07:24Z
|
CONTRIBUTOR
| null |
- closes #32295
- just changed the reference from convert_dtypes to DataFrame.convert_dtypes
|
{
"+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/32333/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32333/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32333.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32333",
"merged_at": "2020-02-29T03:07:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32333.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32333"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32334
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32334/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32334/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32334/events
|
https://github.com/pandas-dev/pandas/issues/32334
| 572,834,925
|
MDU6SXNzdWU1NzI4MzQ5MjU=
| 32,334
|
DataFrame.sort_index() with ascending passed as a list on a single level index gives wrong result
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/40813941?v=4",
"events_url": "https://api.github.com/users/aniaan/events{/privacy}",
"followers_url": "https://api.github.com/users/aniaan/followers",
"following_url": "https://api.github.com/users/aniaan/following{/other_user}",
"gists_url": "https://api.github.com/users/aniaan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aniaan",
"id": 40813941,
"login": "aniaan",
"node_id": "MDQ6VXNlcjQwODEzOTQx",
"organizations_url": "https://api.github.com/users/aniaan/orgs",
"received_events_url": "https://api.github.com/users/aniaan/received_events",
"repos_url": "https://api.github.com/users/aniaan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aniaan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aniaan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aniaan"
}
|
[
{
"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": "eb6420",
"default": false,
"description": "Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff",
"id": 57296398,
"name": "Algos",
"node_id": "MDU6TGFiZWw1NzI5NjM5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Algos"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "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
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6412981?v=4",
"events_url": "https://api.github.com/users/heyitskevin/events{/privacy}",
"followers_url": "https://api.github.com/users/heyitskevin/followers",
"following_url": "https://api.github.com/users/heyitskevin/following{/other_user}",
"gists_url": "https://api.github.com/users/heyitskevin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/heyitskevin",
"id": 6412981,
"login": "heyitskevin",
"node_id": "MDQ6VXNlcjY0MTI5ODE=",
"organizations_url": "https://api.github.com/users/heyitskevin/orgs",
"received_events_url": "https://api.github.com/users/heyitskevin/received_events",
"repos_url": "https://api.github.com/users/heyitskevin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/heyitskevin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/heyitskevin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/heyitskevin"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/6412981?v=4",
"events_url": "https://api.github.com/users/heyitskevin/events{/privacy}",
"followers_url": "https://api.github.com/users/heyitskevin/followers",
"following_url": "https://api.github.com/users/heyitskevin/following{/other_user}",
"gists_url": "https://api.github.com/users/heyitskevin/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/heyitskevin",
"id": 6412981,
"login": "heyitskevin",
"node_id": "MDQ6VXNlcjY0MTI5ODE=",
"organizations_url": "https://api.github.com/users/heyitskevin/orgs",
"received_events_url": "https://api.github.com/users/heyitskevin/received_events",
"repos_url": "https://api.github.com/users/heyitskevin/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/heyitskevin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/heyitskevin/subscriptions",
"type": "User",
"url": "https://api.github.com/users/heyitskevin"
},
{
"avatar_url": "https://avatars.githubusercontent.com/u/40813941?v=4",
"events_url": "https://api.github.com/users/aniaan/events{/privacy}",
"followers_url": "https://api.github.com/users/aniaan/followers",
"following_url": "https://api.github.com/users/aniaan/following{/other_user}",
"gists_url": "https://api.github.com/users/aniaan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/aniaan",
"id": 40813941,
"login": "aniaan",
"node_id": "MDQ6VXNlcjQwODEzOTQx",
"organizations_url": "https://api.github.com/users/aniaan/orgs",
"received_events_url": "https://api.github.com/users/aniaan/received_events",
"repos_url": "https://api.github.com/users/aniaan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/aniaan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aniaan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/aniaan"
}
] | null | 4
| 2020-02-28T15:44:13Z
| 2020-10-01T18:32:25Z
| 2020-10-01T18:32:25Z
|
CONTRIBUTOR
| null |
I found some problems while using data_frame sort_index, first, create dataframe
```
data = pd.DataFrame(np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]), columns=['a', 'b', 'c'])
data = data.set_index('a')
data.sort_index(level=['a'], ascending=[False])
```
Then I want to sort index "a" in descending order,
```
data.sort_index(level=['a'], ascending=[False])
```
The above code does not sort index a in descending order, I found the reason is that this dataframe is a single index structure, so when ascending = list is passed, it does not take effect
https://github.com/pandas-dev/pandas/blob/bf613c14f41b624b432d0d6b9a29007e7990d460/pandas/core/frame.py#L4777-L4783
Because when it is used, the index may be single index or multi-index. In order to use the effect uniformly,I think there should be a judgment here. If index is a single index and ascending type == list, ascending should be equal to ascending [0],This may be more user friendly
If yes, can I mention pr
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32334/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32334/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32335
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32335/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32335/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32335/events
|
https://github.com/pandas-dev/pandas/pull/32335
| 572,840,200
|
MDExOlB1bGxSZXF1ZXN0MzgxNDYwMDAz
| 32,335
|
ENH: implement fill_value for df.add(other=Series) #13488
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/57222544?v=4",
"events_url": "https://api.github.com/users/jonathanrhughes/events{/privacy}",
"followers_url": "https://api.github.com/users/jonathanrhughes/followers",
"following_url": "https://api.github.com/users/jonathanrhughes/following{/other_user}",
"gists_url": "https://api.github.com/users/jonathanrhughes/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jonathanrhughes",
"id": 57222544,
"login": "jonathanrhughes",
"node_id": "MDQ6VXNlcjU3MjIyNTQ0",
"organizations_url": "https://api.github.com/users/jonathanrhughes/orgs",
"received_events_url": "https://api.github.com/users/jonathanrhughes/received_events",
"repos_url": "https://api.github.com/users/jonathanrhughes/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jonathanrhughes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jonathanrhughes/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jonathanrhughes"
}
|
[
{
"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 | 7
| 2020-02-28T15:53:18Z
| 2020-03-11T02:17:59Z
| 2020-03-11T02:17:58Z
|
NONE
| null |
- [ ] closes #13488
- [ ] 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/32335/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32335/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32335.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32335",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32335.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32335"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32336
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32336/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32336/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32336/events
|
https://github.com/pandas-dev/pandas/pull/32336
| 572,846,680
|
MDExOlB1bGxSZXF1ZXN0MzgxNDY1MzU4
| 32,336
|
CLN: Don't create _join_functions
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2658661?v=4",
"events_url": "https://api.github.com/users/dsaxton/events{/privacy}",
"followers_url": "https://api.github.com/users/dsaxton/followers",
"following_url": "https://api.github.com/users/dsaxton/following{/other_user}",
"gists_url": "https://api.github.com/users/dsaxton/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dsaxton",
"id": 2658661,
"login": "dsaxton",
"node_id": "MDQ6VXNlcjI2NTg2NjE=",
"organizations_url": "https://api.github.com/users/dsaxton/orgs",
"received_events_url": "https://api.github.com/users/dsaxton/received_events",
"repos_url": "https://api.github.com/users/dsaxton/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dsaxton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsaxton/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dsaxton"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-02-28T16:04:25Z
| 2020-04-09T02:37:43Z
| 2020-03-03T03:09:21Z
|
MEMBER
| null |
This seems more clear than defining `_join_functions` far away from where it's actually used
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32336/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32336/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32336.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32336",
"merged_at": "2020-03-03T03:09:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32336.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32336"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32337
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32337/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32337/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32337/events
|
https://github.com/pandas-dev/pandas/pull/32337
| 572,897,602
|
MDExOlB1bGxSZXF1ZXN0MzgxNTA1NzEz
| 32,337
|
BUG: fixes unhandled NAType when plotting (#32073)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2225536?v=4",
"events_url": "https://api.github.com/users/jeandersonbc/events{/privacy}",
"followers_url": "https://api.github.com/users/jeandersonbc/followers",
"following_url": "https://api.github.com/users/jeandersonbc/following{/other_user}",
"gists_url": "https://api.github.com/users/jeandersonbc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jeandersonbc",
"id": 2225536,
"login": "jeandersonbc",
"node_id": "MDQ6VXNlcjIyMjU1MzY=",
"organizations_url": "https://api.github.com/users/jeandersonbc/orgs",
"received_events_url": "https://api.github.com/users/jeandersonbc/received_events",
"repos_url": "https://api.github.com/users/jeandersonbc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jeandersonbc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jeandersonbc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jeandersonbc"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-02-28T17:28:14Z
| 2020-03-01T17:58:51Z
| 2020-03-01T17:58:51Z
|
CONTRIBUTOR
| null |
- [x] closes #32073
- [ ] 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/32337/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32337/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32337.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32337",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32337.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32337"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32338
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32338/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32338/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32338/events
|
https://github.com/pandas-dev/pandas/pull/32338
| 572,910,827
|
MDExOlB1bGxSZXF1ZXN0MzgxNTE2ODg0
| 32,338
|
TST/REF: move tools test files
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 5
| 2020-02-28T17:51:35Z
| 2020-02-29T20:13:52Z
| 2020-02-29T19:36:31Z
|
MEMBER
| null |
These files are in the index tests, but they're not really testing the index objects.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32338/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32338/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32338.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32338",
"merged_at": "2020-02-29T19:36:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32338.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32338"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32339
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32339/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32339/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32339/events
|
https://github.com/pandas-dev/pandas/issues/32339
| 572,954,378
|
MDU6SXNzdWU1NzI5NTQzNzg=
| 32,339
|
PERF: short-circuit (left == right).all() comparisons
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "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"
}
] |
open
| false
| null |
[] | null | 4
| 2020-02-28T19:20:46Z
| 2021-07-29T06:13:31Z
| null |
MEMBER
| null |
In places like `equals` methods and `array_equivalent`, we do things like `(left == right).all()` or `((left == right) | (isna(left) & isna(right))).all()`. For large arrays that are not equal, we can do much better with something like:
```
def all_match(left, right) -> bool:
if left.dtype.kind != "i":
# viewing as i8 will make NaNs be treated as equal
return _all_match_i8(left.view("i8"), right.view("i8"))
return _all_match_i8(left, right)
cdef bint _all_match_i8(const int64_t[:] left, const int64_t[:] right):
cdef:
Py_ssize_t i, n = len(left)
for i in range(n):
if left[i] != right[i]:
return False
return True
```
Some profiling results:
```
In [2]: arr = np.arange(10**6)
In [3]: arr2 = arr.copy()
In [4]: arr2[0] = -1
In [5]: %timeit np.array_equal(arr, arr2)
831 µs ± 42.8 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
In [6]: %timeit all_match(arr, arr2)
1.27 µs ± 58.8 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
In [7]: %timeit np.array_equal(arr, arr)
416 µs ± 16.3 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
In [8]: %timeit all_match(arr, arr)
812 µs ± 5.84 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)
```
So in cases that short circuit early, we can get massive speedups, but this implementation is actually 2x slower in cases that dont short-circuit (for reasons that are not clear 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/32339/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32339/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32340
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32340/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32340/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32340/events
|
https://github.com/pandas-dev/pandas/pull/32340
| 573,037,428
|
MDExOlB1bGxSZXF1ZXN0MzgxNjIyNzY3
| 32,340
|
BUG: None / Timedelta incorrectly returning NaT
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "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",
"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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 3
| 2020-02-28T22:22:06Z
| 2021-11-20T23:21:50Z
| 2020-03-03T02:05:29Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
xref #31869, arguable whether or not this closes that.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32340/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32340/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32340.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32340",
"merged_at": "2020-03-03T02:05:29Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32340.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32340"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32341
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32341/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32341/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32341/events
|
https://github.com/pandas-dev/pandas/pull/32341
| 573,066,137
|
MDExOlB1bGxSZXF1ZXN0MzgxNjQ3NDI2
| 32,341
|
CLN: setitem_with_indexer 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": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-28T23:37:52Z
| 2020-03-03T02:07:33Z
| 2020-03-03T02:02:44Z
|
MEMBER
| null |
working on fixing some significant bugs in setitem_with_indexer, this breaks off some easier 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/32341/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32341/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32341.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32341",
"merged_at": "2020-03-03T02:02:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32341.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32341"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32342
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32342/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32342/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32342/events
|
https://github.com/pandas-dev/pandas/issues/32342
| 573,069,067
|
MDU6SXNzdWU1NzMwNjkwNjc=
| 32,342
|
'IntegerArray' object has no attribute 'T'
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/903655?v=4",
"events_url": "https://api.github.com/users/bnaul/events{/privacy}",
"followers_url": "https://api.github.com/users/bnaul/followers",
"following_url": "https://api.github.com/users/bnaul/following{/other_user}",
"gists_url": "https://api.github.com/users/bnaul/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/bnaul",
"id": 903655,
"login": "bnaul",
"node_id": "MDQ6VXNlcjkwMzY1NQ==",
"organizations_url": "https://api.github.com/users/bnaul/orgs",
"received_events_url": "https://api.github.com/users/bnaul/received_events",
"repos_url": "https://api.github.com/users/bnaul/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/bnaul/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bnaul/subscriptions",
"type": "User",
"url": "https://api.github.com/users/bnaul"
}
|
[
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
closed
| false
| null |
[] | null | 7
| 2020-02-28T23:49:01Z
| 2021-05-28T03:53:15Z
| 2021-05-28T03:53:15Z
|
CONTRIBUTOR
| null |
In our case this arose via `.cumsum()`:
```
pd.Series([0, 1], dtype='int64').cumsum()
0 0
1 1
dtype: int64
pd.Series([0, 1], dtype='Int64').cumsum()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-31-2ebc3e3cf698> in <module>
----> 1 pd.Series([0, 1], dtype='Int64').cumsum()
...
~/model/.venv/lib/python3.7/site-packages/pandas/core/generic.py in na_accum_func(blk_values)
11324 np.putmask(result, mask, mask_b)
11325 else:
> 11326 result = accum_func(blk_values.T, axis)
11327
11328 # transpose back for ndarray, not for EA
AttributeError: 'IntegerArray' object has no attribute 'T'
```
But it's also true that just calling `.values.T` on a regular `int` array works (just a no-op), whereas on an `Int64` array it does not. Same is true for
Any reason not to just add a no-op `.T` on the base ExtensionArray class..? cc @TomAugspurger in case you have an opinion 🙂
|
{
"+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/32342/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32342/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32343
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32343/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32343/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32343/events
|
https://github.com/pandas-dev/pandas/pull/32343
| 573,079,794
|
MDExOlB1bGxSZXF1ZXN0MzgxNjU5MDAw
| 32,343
|
C Functionality for Accessing DataFrame Values in Column Order
|
{
"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"
}
|
[] |
closed
| false
| null |
[] | null | 5
| 2020-02-29T00:28:10Z
| 2020-03-04T01:06:46Z
| 2020-03-04T01:06:46Z
|
MEMBER
| null |
This is very rough and was a little hesitant to even push here, but figured worth opening up to feedback.
The main motivation for this PR is to get block management out of the JSON serializer, but it could potentially be extended beyond that for external uses
The gist of this is that we can hold a struct `PdOrderedArrays` which gives the length of the DataFrame and sequential access to Numpy arrays that mirror what the user sees when dealing with a DataFrame, all by deconstructing the blocks that already exist down in some C functions
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32343/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32343/timeline
| null | 1
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32343.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32343",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32343.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32343"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32344
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32344/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32344/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32344/events
|
https://github.com/pandas-dev/pandas/issues/32344
| 573,090,888
|
MDU6SXNzdWU1NzMwOTA4ODg=
| 32,344
|
BUG: Groupby.transform with tshift giving incorrect result
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16509490?v=4",
"events_url": "https://api.github.com/users/ryankarlos/events{/privacy}",
"followers_url": "https://api.github.com/users/ryankarlos/followers",
"following_url": "https://api.github.com/users/ryankarlos/following{/other_user}",
"gists_url": "https://api.github.com/users/ryankarlos/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ryankarlos",
"id": 16509490,
"login": "ryankarlos",
"node_id": "MDQ6VXNlcjE2NTA5NDkw",
"organizations_url": "https://api.github.com/users/ryankarlos/orgs",
"received_events_url": "https://api.github.com/users/ryankarlos/received_events",
"repos_url": "https://api.github.com/users/ryankarlos/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ryankarlos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ryankarlos/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ryankarlos"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"color": "729FCF",
"default": false,
"description": null,
"id": 233160,
"name": "Groupby",
"node_id": "MDU6TGFiZWwyMzMxNjA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Groupby"
}
] |
open
| false
| null |
[] | null | 0
| 2020-02-29T01:09:22Z
| 2021-07-29T06:15:06Z
| null |
CONTRIBUTOR
| null |
Came across this inconsistency whilst trying to write a test for `tshift` in #32069
```
>>> import pandas as pd
>>> df = pd.DataFrame({'A':[121, 121, 121, 121, 231, 231, 676], 'B':[1.0, 2.0, 2.0, 3.0, 3.0, 3.0, 4.0], "C": pd.date_range("2013-11-03", periods=7)})
>>> df
A B C
0 121 1.0 2013-11-03
1 121 2.0 2013-11-04
2 121 2.0 2013-11-05
3 121 3.0 2013-11-06
4 231 3.0 2013-11-07
5 231 3.0 2013-11-08
6 676 4.0 2013-11-09
>>> g = df.set_index("C").groupby("A")
>>> g.transform(lambda x: x.tshift(2, "D"))
B
C
2013-11-03 1.0
2013-11-04 2.0
2013-11-05 2.0
2013-11-06 3.0
2013-11-07 3.0
2013-11-08 3.0
2013-11-09 4.0
>>> g.transform("tshift", *[2, "D"])
B
C
2013-11-03 1.0
2013-11-04 2.0
2013-11-05 2.0
2013-11-06 3.0
2013-11-07 3.0
2013-11-08 3.0
2013-11-09 4.0
```
#### Problem description
Using `tshift` in `groupby.transform` seems to drop `A` from the index. Also, this seems to be leaving the dates unshifted as seen in the results above.
#### Expected Output
Would expect something like below which is achieved correctly using `groupby.tshift `
```
>>> g.tshift(2, "D")
B
A C
121 2013-11-05 1.0
2013-11-06 2.0
2013-11-07 2.0
2013-11-08 3.0
231 2013-11-09 3.0
2013-11-10 3.0
676 2013-11-11 4.0
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : 94befe6bc2522d9441b95e55602dbe746f63c1bc
python : 3.7.6.final.0
python-bits : 64
OS : Darwin
OS-release : 19.0.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 0.25.0.dev0+3348.g94befe6.dirty
numpy : 1.17.3
pytz : 2019.3
dateutil : 2.8.1
pip : 19.3.1
setuptools : 42.0.2.post20191201
Cython : 0.29.14
pytest : 5.3.2
hypothesis : 4.56.3
sphinx : 2.3.1
blosc : None
feather : None
xlsxwriter : 1.2.7
lxml.etree : 4.4.2
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.10.3
IPython : 7.10.2
pandas_datareader: None
bs4 : 4.8.2
bottleneck : 1.3.1
fastparquet : 0.3.2
gcsfs : None
lxml.etree : 4.4.2
matplotlib : 3.1.2
numexpr : 2.7.0
odfpy : None
openpyxl : 3.0.1
pandas_gbq : None
pyarrow : 0.15.1
pytables : None
pytest : 5.3.2
pyxlsb : None
s3fs : 0.4.0
scipy : 1.4.1
sqlalchemy : 1.3.12
tables : 3.6.1
tabulate : None
xarray : 0.14.1
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.7
numba : 0.46.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32344/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32344/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32345
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32345/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32345/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32345/events
|
https://github.com/pandas-dev/pandas/pull/32345
| 573,118,021
|
MDExOlB1bGxSZXF1ZXN0MzgxNjkzMDk2
| 32,345
|
TYP: Update type naming in formatter
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/11509423?v=4",
"events_url": "https://api.github.com/users/xcz011/events{/privacy}",
"followers_url": "https://api.github.com/users/xcz011/followers",
"following_url": "https://api.github.com/users/xcz011/following{/other_user}",
"gists_url": "https://api.github.com/users/xcz011/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/xcz011",
"id": 11509423,
"login": "xcz011",
"node_id": "MDQ6VXNlcjExNTA5NDIz",
"organizations_url": "https://api.github.com/users/xcz011/orgs",
"received_events_url": "https://api.github.com/users/xcz011/received_events",
"repos_url": "https://api.github.com/users/xcz011/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/xcz011/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xcz011/subscriptions",
"type": "User",
"url": "https://api.github.com/users/xcz011"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-29T02:33:58Z
| 2020-02-29T16:16:44Z
| 2020-02-29T16:16:32Z
|
CONTRIBUTOR
| null |
- [x] part of #26792, #28480
- [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/32345/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32345/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32345.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32345",
"merged_at": "2020-02-29T16:16:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32345.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32345"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32346
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32346/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32346/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32346/events
|
https://github.com/pandas-dev/pandas/issues/32346
| 573,126,727
|
MDU6SXNzdWU1NzMxMjY3Mjc=
| 32,346
|
BUG: assignment with enlargement gives object dtype with ExtensionArrays
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on 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": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] |
open
| false
| null |
[] |
{
"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"
}
| 7
| 2020-02-29T02:55:01Z
| 2021-01-30T18:09:35Z
| null |
MEMBER
| null |
From https://github.com/pandas-dev/pandas/issues/32271, when setting with enlargment, the dtype gets converted into object dtype (while for normal integer or boolean dtype this is not the case):
```
In [10]: s = pd.Series([1, 2, 3], dtype="Int64")
In [11]: s[3] = 4
In [12]: s
Out[12]:
0 1
1 2
2 3
3 4
dtype: object
In [13]: s = pd.Series([1, 2, 3], dtype="int64")
In [14]: s[3] = 4
In [15]: s
Out[15]:
0 1
1 2
2 3
3 4
dtype: int64
```
It also happens with eg DecimalArray from our tests, so suppose it is a general issue with ExtensionArrays.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32346/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32346/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32347
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32347/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32347/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32347/events
|
https://github.com/pandas-dev/pandas/pull/32347
| 573,139,400
|
MDExOlB1bGxSZXF1ZXN0MzgxNzEzMDEw
| 32,347
|
REF: avoid using internals methods for to_timestamp, to_period
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "FCE94F",
"default": false,
"description": "Internal refactoring of code",
"id": 127681,
"name": "Refactor",
"node_id": "MDU6TGFiZWwxMjc2ODE=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Refactor"
},
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-29T03:26:26Z
| 2020-03-04T01:04:39Z
| 2020-03-04T01:02:48Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32347/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32347/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32347.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32347",
"merged_at": "2020-03-04T01:02:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32347.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32347"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/32348
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32348/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32348/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32348/events
|
https://github.com/pandas-dev/pandas/issues/32348
| 573,142,021
|
MDU6SXNzdWU1NzMxNDIwMjE=
| 32,348
|
Getting the wrong version of pandas when installing from requirements.txt
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/864794?v=4",
"events_url": "https://api.github.com/users/dstromberg/events{/privacy}",
"followers_url": "https://api.github.com/users/dstromberg/followers",
"following_url": "https://api.github.com/users/dstromberg/following{/other_user}",
"gists_url": "https://api.github.com/users/dstromberg/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dstromberg",
"id": 864794,
"login": "dstromberg",
"node_id": "MDQ6VXNlcjg2NDc5NA==",
"organizations_url": "https://api.github.com/users/dstromberg/orgs",
"received_events_url": "https://api.github.com/users/dstromberg/received_events",
"repos_url": "https://api.github.com/users/dstromberg/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dstromberg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dstromberg/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dstromberg"
}
|
[] |
closed
| false
| null |
[] | null | 4
| 2020-02-29T03:33:00Z
| 2020-03-01T17:42:02Z
| 2020-03-01T17:42:02Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```
$ python3 -m pip install --user -r requirements.txt | grep -i pandas | grep -vi 'Installing collected packages'
below cmd output started 2020 Sat Feb 29 03:20:45 AM UTC
Collecting pandas==0.23.4 (from -r requirements.txt (line 43))
Using cached https://files.pythonhosted.org/packages/e1/d8/feeb346d41f181e83fba45224ab14a8d8af019b48af742e047f3845d8cff/pandas-0.23.4-cp36-cp36m-manylinux1_x86_64.whl
above cmd output done 2020 Sat Feb 29 03:21:55 AM UTC
dstromberg@TransientTracking-2:~/src/grok/just-master x86_64-pc-linux-gnu 126478
$ python3 -m pip freeze | grep pandas
below cmd output started 2020 Sat Feb 29 03:22:46 AM UTC
pandas==1.0.1
above cmd output done 2020 Sat Feb 29 03:22:47 AM UTC
dstromberg@TransientTracking-2:~/src/grok/just-master x86_64-pc-linux-gnu 126478
$ grep pandas requirements.txt
below cmd output started 2020 Sat Feb 29 03:22:59 AM UTC
#pandas
pandas==0.23.4
above cmd output done 2020 Sat Feb 29 03:22:59 AM UTC
dstromberg@TransientTracking-2:~/src/grok/just-master x86_64-pc-linux-gnu 126478
```
#### Problem description
I'm looking at a large codebase that needs an old version of pandas - but for some reason pip install isn't giving it to me.
If I delete pandas and install it manually with the following, I get the right version of pandas. There's something about requirements.txt that isn't quite right.
```
$ python3 -m pip install pandas==0.23.4 | grep -i pandas | grep -v 'Installing collected packages'
below cmd output started 2020 Sat Feb 29 03:30:27 AM UTC
Collecting pandas==0.23.4
Using cached https://files.pythonhosted.org/packages/e1/d8/feeb346d41f181e83fba45224ab14a8d8af019b48af742e047f3845d8cff/pandas-0.23.4-cp36-cp36m-manylinux1_x86_64.whl
above cmd output done 2020 Sat Feb 29 03:30:35 AM UTC
dstromberg@TransientTracking-2:~/src/grok/just-master x86_64-pc-linux-gnu 126478
$ python3 -m pip freeze | grep pandas
below cmd output started 2020 Sat Feb 29 03:30:47 AM UTC
pandas==0.23.4
above cmd output done 2020 Sat Feb 29 03:30:48 AM UTC
dstromberg@TransientTracking-2:~/src/grok/just-master x86_64-pc-linux-gnu 126478
```
Any suggestions?
Thanks for the cool software :)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32348/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32348/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32349
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32349/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32349/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32349/events
|
https://github.com/pandas-dev/pandas/pull/32349
| 573,142,037
|
MDExOlB1bGxSZXF1ZXN0MzgxNzE1NDg4
| 32,349
|
REF: Remove BlockManager.rename_axis
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-29T03:33:03Z
| 2020-03-11T02:41:50Z
| 2020-03-11T02:40:14Z
|
MEMBER
| null |
Better to do it using NDFrame methods
cc @toobaz I know you're on board for getting index/axis stuff out of BlockManager.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32349/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32349/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32349.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32349",
"merged_at": "2020-03-11T02:40:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32349.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32349"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32350
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32350/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32350/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32350/events
|
https://github.com/pandas-dev/pandas/pull/32350
| 573,154,097
|
MDExOlB1bGxSZXF1ZXN0MzgxNzI2NzI5
| 32,350
|
Implement BlockManager.iset
|
{
"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": "fbca04",
"default": false,
"description": "Related to non-user accessible pandas implementation",
"id": 49094459,
"name": "Internals",
"node_id": "MDU6TGFiZWw0OTA5NDQ1OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Internals"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-29T04:04:58Z
| 2020-03-03T15:55:54Z
| 2020-03-03T15:29:48Z
|
MEMBER
| null |
Preliminary to the PR that fixes `setitem_with_indexer` (#22036, #15686)
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32350/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32350/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32350.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32350",
"merged_at": "2020-03-03T15:29:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32350.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32350"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32351
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32351/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32351/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32351/events
|
https://github.com/pandas-dev/pandas/pull/32351
| 573,174,793
|
MDExOlB1bGxSZXF1ZXN0MzgxNzQ2MDky
| 32,351
|
DOC: Fix SS06 formatting errors in merge_asof docstrings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33924421?v=4",
"events_url": "https://api.github.com/users/Nael-Nathanael/events{/privacy}",
"followers_url": "https://api.github.com/users/Nael-Nathanael/followers",
"following_url": "https://api.github.com/users/Nael-Nathanael/following{/other_user}",
"gists_url": "https://api.github.com/users/Nael-Nathanael/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Nael-Nathanael",
"id": 33924421,
"login": "Nael-Nathanael",
"node_id": "MDQ6VXNlcjMzOTI0NDIx",
"organizations_url": "https://api.github.com/users/Nael-Nathanael/orgs",
"received_events_url": "https://api.github.com/users/Nael-Nathanael/received_events",
"repos_url": "https://api.github.com/users/Nael-Nathanael/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Nael-Nathanael/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Nael-Nathanael/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Nael-Nathanael"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-02-29T04:58:31Z
| 2020-03-04T04:54:52Z
| 2020-02-29T17:27:50Z
|
CONTRIBUTOR
| null |
Errors fixed (from the list in #29254 ):
pandas.merge_asof
Validated the fixes with python scripts/validate_docstrings.py
Refrencing issue: #29254
Fix : pandanistas/pandanistas_sprint_ui2020#11
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32351/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32351/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32351.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32351",
"merged_at": "2020-02-29T17:27:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32351.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32351"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32352
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32352/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32352/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32352/events
|
https://github.com/pandas-dev/pandas/pull/32352
| 573,179,086
|
MDExOlB1bGxSZXF1ZXN0MzgxNzUwMTMy
| 32,352
|
DOC: Update pandas.core.groupby.GroupBy.pipe docstring
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/47316759?v=4",
"events_url": "https://api.github.com/users/hsjsjsj009/events{/privacy}",
"followers_url": "https://api.github.com/users/hsjsjsj009/followers",
"following_url": "https://api.github.com/users/hsjsjsj009/following{/other_user}",
"gists_url": "https://api.github.com/users/hsjsjsj009/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/hsjsjsj009",
"id": 47316759,
"login": "hsjsjsj009",
"node_id": "MDQ6VXNlcjQ3MzE2NzU5",
"organizations_url": "https://api.github.com/users/hsjsjsj009/orgs",
"received_events_url": "https://api.github.com/users/hsjsjsj009/received_events",
"repos_url": "https://api.github.com/users/hsjsjsj009/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/hsjsjsj009/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hsjsjsj009/subscriptions",
"type": "User",
"url": "https://api.github.com/users/hsjsjsj009"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-02-29T05:09:34Z
| 2020-03-07T21:47:52Z
| 2020-03-07T21:43:46Z
|
NONE
| null |
- [x] closes https://github.com/pandanistas/pandanistas_sprint_ui2020/issues/2
- [ ] 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/32352/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32352/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32352.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32352",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32352.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32352"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32353
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32353/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32353/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32353/events
|
https://github.com/pandas-dev/pandas/pull/32353
| 573,179,133
|
MDExOlB1bGxSZXF1ZXN0MzgxNzUwMTc3
| 32,353
|
docs: fix SS06, PR08, RT02, RT03, SA04 in pandas.DatetimeIndex.indexe…
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/34976128?v=4",
"events_url": "https://api.github.com/users/rahmadiantio/events{/privacy}",
"followers_url": "https://api.github.com/users/rahmadiantio/followers",
"following_url": "https://api.github.com/users/rahmadiantio/following{/other_user}",
"gists_url": "https://api.github.com/users/rahmadiantio/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rahmadiantio",
"id": 34976128,
"login": "rahmadiantio",
"node_id": "MDQ6VXNlcjM0OTc2MTI4",
"organizations_url": "https://api.github.com/users/rahmadiantio/orgs",
"received_events_url": "https://api.github.com/users/rahmadiantio/received_events",
"repos_url": "https://api.github.com/users/rahmadiantio/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rahmadiantio/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rahmadiantio/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rahmadiantio"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] | null | 2
| 2020-02-29T05:09:41Z
| 2020-03-10T14:37:20Z
| 2020-03-10T14:37:20Z
|
NONE
| null |
…r_at_time
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Fix : https://github.com/pandanistas/pandanistas_sprint_ui2020/issues/8
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32353/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32353/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32353.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32353",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32353.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32353"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32354
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32354/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32354/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32354/events
|
https://github.com/pandas-dev/pandas/pull/32354
| 573,180,857
|
MDExOlB1bGxSZXF1ZXN0MzgxNzUxNzk3
| 32,354
|
DOC : fix errors docstrings pandas.to_numeric
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/21293499?v=4",
"events_url": "https://api.github.com/users/isoletslicer/events{/privacy}",
"followers_url": "https://api.github.com/users/isoletslicer/followers",
"following_url": "https://api.github.com/users/isoletslicer/following{/other_user}",
"gists_url": "https://api.github.com/users/isoletslicer/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/isoletslicer",
"id": 21293499,
"login": "isoletslicer",
"node_id": "MDQ6VXNlcjIxMjkzNDk5",
"organizations_url": "https://api.github.com/users/isoletslicer/orgs",
"received_events_url": "https://api.github.com/users/isoletslicer/received_events",
"repos_url": "https://api.github.com/users/isoletslicer/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/isoletslicer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/isoletslicer/subscriptions",
"type": "User",
"url": "https://api.github.com/users/isoletslicer"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-29T05:14:06Z
| 2020-03-08T10:55:55Z
| 2020-03-06T20:48:15Z
|
CONTRIBUTOR
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [x ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
added docstrings information about arg descriptions, downcast type 'int', and Return type
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32354/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32354/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32354.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32354",
"merged_at": "2020-03-06T20:48:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32354.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32354"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32355
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32355/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32355/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32355/events
|
https://github.com/pandas-dev/pandas/pull/32355
| 573,181,467
|
MDExOlB1bGxSZXF1ZXN0MzgxNzUyMzYx
| 32,355
|
Fix PR08, RT02, RT03, and SA01 on pandas.Index.fillna
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/51956654?v=4",
"events_url": "https://api.github.com/users/RafifEL/events{/privacy}",
"followers_url": "https://api.github.com/users/RafifEL/followers",
"following_url": "https://api.github.com/users/RafifEL/following{/other_user}",
"gists_url": "https://api.github.com/users/RafifEL/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/RafifEL",
"id": 51956654,
"login": "RafifEL",
"node_id": "MDQ6VXNlcjUxOTU2NjU0",
"organizations_url": "https://api.github.com/users/RafifEL/orgs",
"received_events_url": "https://api.github.com/users/RafifEL/received_events",
"repos_url": "https://api.github.com/users/RafifEL/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/RafifEL/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RafifEL/subscriptions",
"type": "User",
"url": "https://api.github.com/users/RafifEL"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 6
| 2020-02-29T05:15:36Z
| 2020-03-04T15:41:38Z
| 2020-03-04T15:41:32Z
|
CONTRIBUTOR
| null |
- [x] closes #https://github.com/pandanistas/pandanistas_sprint_ui2020/issues/5
- [ ] tests added / passed
- [x] 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/32355/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32355/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32355.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32355",
"merged_at": "2020-03-04T15:41:32Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32355.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32355"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32356
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32356/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32356/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32356/events
|
https://github.com/pandas-dev/pandas/pull/32356
| 573,194,430
|
MDExOlB1bGxSZXF1ZXN0MzgxNzY0NDg4
| 32,356
|
DOC: Fixed ES01, PR07, SA04 error in pandas.core.groupby.DataFrameGroupBy.shift
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/20255031?v=4",
"events_url": "https://api.github.com/users/Iqrar99/events{/privacy}",
"followers_url": "https://api.github.com/users/Iqrar99/followers",
"following_url": "https://api.github.com/users/Iqrar99/following{/other_user}",
"gists_url": "https://api.github.com/users/Iqrar99/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Iqrar99",
"id": 20255031,
"login": "Iqrar99",
"node_id": "MDQ6VXNlcjIwMjU1MDMx",
"organizations_url": "https://api.github.com/users/Iqrar99/orgs",
"received_events_url": "https://api.github.com/users/Iqrar99/received_events",
"repos_url": "https://api.github.com/users/Iqrar99/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Iqrar99/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Iqrar99/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Iqrar99"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-02-29T05:48:55Z
| 2020-03-03T14:26:56Z
| 2020-03-02T22:52:15Z
|
CONTRIBUTOR
| null |
- [x] closes: https://github.com/pandanistas/pandanistas_sprint_ui2020/issues/14
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Output of python scripts/validate_docstrings.py pandas.core.groupby.DataFrameGroupBy.shift:
```
################################################################################
################################## Validation ##################################
################################################################################
1 Errors found:
No examples section found
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32356/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32356/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32356.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32356",
"merged_at": "2020-03-02T22:52:15Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32356.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32356"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32357
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32357/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32357/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32357/events
|
https://github.com/pandas-dev/pandas/pull/32357
| 573,195,477
|
MDExOlB1bGxSZXF1ZXN0MzgxNzY1NDgy
| 32,357
|
DOC: Update the pandas.Index.is_ docstring
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/40825899?v=4",
"events_url": "https://api.github.com/users/garyteofanus/events{/privacy}",
"followers_url": "https://api.github.com/users/garyteofanus/followers",
"following_url": "https://api.github.com/users/garyteofanus/following{/other_user}",
"gists_url": "https://api.github.com/users/garyteofanus/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/garyteofanus",
"id": 40825899,
"login": "garyteofanus",
"node_id": "MDQ6VXNlcjQwODI1ODk5",
"organizations_url": "https://api.github.com/users/garyteofanus/orgs",
"received_events_url": "https://api.github.com/users/garyteofanus/received_events",
"repos_url": "https://api.github.com/users/garyteofanus/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/garyteofanus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/garyteofanus/subscriptions",
"type": "User",
"url": "https://api.github.com/users/garyteofanus"
}
|
[
{
"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 | 3
| 2020-02-29T05:51:37Z
| 2020-06-20T08:24:55Z
| 2020-03-10T14:36:28Z
|
NONE
| null |
- [x] closes https://github.com/pandanistas/pandanistas_sprint_ui2020/issues/6
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Output of `python scripts/validate_docstrings.py pandas.Index.is_`:
```
################################################################################
################################## Validation ##################################
################################################################################
1 Errors found:
No examples section found
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32357/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32357/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32357.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32357",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32357.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32357"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32358
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32358/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32358/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32358/events
|
https://github.com/pandas-dev/pandas/pull/32358
| 573,196,724
|
MDExOlB1bGxSZXF1ZXN0MzgxNzY2NjQx
| 32,358
|
DOC: Fixed PR09 error in pandas.testing.assert_series_equal
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45849317?v=4",
"events_url": "https://api.github.com/users/tolhassianipar/events{/privacy}",
"followers_url": "https://api.github.com/users/tolhassianipar/followers",
"following_url": "https://api.github.com/users/tolhassianipar/following{/other_user}",
"gists_url": "https://api.github.com/users/tolhassianipar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tolhassianipar",
"id": 45849317,
"login": "tolhassianipar",
"node_id": "MDQ6VXNlcjQ1ODQ5MzE3",
"organizations_url": "https://api.github.com/users/tolhassianipar/orgs",
"received_events_url": "https://api.github.com/users/tolhassianipar/received_events",
"repos_url": "https://api.github.com/users/tolhassianipar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tolhassianipar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tolhassianipar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tolhassianipar"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-02-29T05:54:48Z
| 2020-03-04T08:55:38Z
| 2020-02-29T17:55:18Z
|
CONTRIBUTOR
| null |
- [X] closes https://github.com/pandanistas/pandanistas_sprint_ui2020/issues/15
- [ ] tests added / passed
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Output of `python scripts/validate_docstrings.py pandas.HDFStore.put`:
```
################################################################################
####################### Docstring (pandas.HDFStore.put) #######################
################################################################################
Store object in HDFStore.
Parameters
----------
key : str
value : {Series, DataFrame}
format : 'fixed(f)|table(t)', default is 'fixed'
fixed(f) : Fixed format
Fast writing/reading. Not-appendable, nor searchable.
table(t) : Table format
Write as a PyTables Table structure which may perform
worse but allow more flexible operations like searching
/ selecting subsets of the data.
append : bool, default False
This will force Table format, append the input data to the
existing.
data_columns : list, default None
List of columns to create as data columns, or True to
use all columns. See `here
<https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#query-via-data-columns>`__.
encoding : str, default None
Provide an encoding for strings.
dropna : bool, default False, do not write an ALL nan row to
The store settable by the option 'io.hdf.dropna_table'.
################################################################################
################################## Validation ##################################
################################################################################
8 Errors found:
No extended summary found
Parameters {'min_itemsize', 'index', 'complevel', 'errors', 'complib', 'append', 'nan_rep'} not documented
Unknown parameters {'dropna ', 'append '}
Parameter "key" has no description
Parameter "value" has no description
Parameter "format" description should start with a capital letter
See Also section not found
No examples section found
(pandas-dev) D:\Keluarga\Tolhas\Kuliah\Semester 4\DSC Pandas\pandas-tolhassianipar>python scripts/validate_docstrings.py pandas.HDFStore.put
################################################################################
####################### Docstring (pandas.HDFStore.put) #######################
################################################################################
Store object in HDFStore.
Parameters
----------
key : str
value : {Series, DataFrame}
format : 'fixed(f)|table(t)', default is 'fixed'
fixed(f) : Fixed format
Fast writing/reading. Not-appendable, nor searchable.
table(t) : Table format
Write as a PyTables Table structure which may perform
worse but allow more flexible operations like searching
/ selecting subsets of the data.
append : bool, default False
This will force Table format, append the input data to the
existing.
data_columns : list, default None
List of columns to create as data columns, or True to
use all columns. See `here
<https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#query-via-data-columns>`__.
encoding : str, default None
Provide an encoding for strings.
dropna : bool, default False, do not write an ALL nan row to
The store settable by the option 'io.hdf.dropna_table'.
################################################################################
################################## Validation ##################################
################################################################################
8 Errors found:
No extended summary found
Parameters {'errors', 'index', 'nan_rep', 'append', 'min_itemsize', 'complevel', 'complib'} not documented
Unknown parameters {'append ', 'dropna '}
Parameter "key" has no description
Parameter "value" has no description
Parameter "format" description should start with a capital letter
See Also section not found
No examples section found
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32358/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32358/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32358.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32358",
"merged_at": "2020-02-29T17:55:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32358.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32358"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32359
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32359/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32359/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32359/events
|
https://github.com/pandas-dev/pandas/pull/32359
| 573,206,236
|
MDExOlB1bGxSZXF1ZXN0MzgxNzc1NTE5
| 32,359
|
Fixing RT02 pandas.Index.dropna and PR08 pandas.Index.fillna
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/55521899?v=4",
"events_url": "https://api.github.com/users/zaki-indra/events{/privacy}",
"followers_url": "https://api.github.com/users/zaki-indra/followers",
"following_url": "https://api.github.com/users/zaki-indra/following{/other_user}",
"gists_url": "https://api.github.com/users/zaki-indra/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/zaki-indra",
"id": 55521899,
"login": "zaki-indra",
"node_id": "MDQ6VXNlcjU1NTIxODk5",
"organizations_url": "https://api.github.com/users/zaki-indra/orgs",
"received_events_url": "https://api.github.com/users/zaki-indra/received_events",
"repos_url": "https://api.github.com/users/zaki-indra/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/zaki-indra/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zaki-indra/subscriptions",
"type": "User",
"url": "https://api.github.com/users/zaki-indra"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-29T06:19:05Z
| 2020-03-06T17:00:16Z
| 2020-03-06T17:00:10Z
|
CONTRIBUTOR
| null |
- [x] closes https://github.com/pandanistas/pandanistas_sprint_ui2020/issues/17
- [ ] 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/32359/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32359/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32359.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32359",
"merged_at": "2020-03-06T17:00:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32359.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32359"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32360
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32360/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32360/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32360/events
|
https://github.com/pandas-dev/pandas/pull/32360
| 573,215,829
|
MDExOlB1bGxSZXF1ZXN0MzgxNzg0NTU2
| 32,360
|
DOC: Update the pandas.DatetimeIndex docstring
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/31226068?v=4",
"events_url": "https://api.github.com/users/Hori75/events{/privacy}",
"followers_url": "https://api.github.com/users/Hori75/followers",
"following_url": "https://api.github.com/users/Hori75/following{/other_user}",
"gists_url": "https://api.github.com/users/Hori75/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Hori75",
"id": 31226068,
"login": "Hori75",
"node_id": "MDQ6VXNlcjMxMjI2MDY4",
"organizations_url": "https://api.github.com/users/Hori75/orgs",
"received_events_url": "https://api.github.com/users/Hori75/received_events",
"repos_url": "https://api.github.com/users/Hori75/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Hori75/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Hori75/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Hori75"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-29T06:43:41Z
| 2020-03-09T09:22:50Z
| 2020-03-07T21:01:14Z
|
CONTRIBUTOR
| null |
- [x] closes https://github.com/pandanistas/pandanistas_sprint_ui2020/issues/7
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Output of ```python scripts/validate_docstrings.py pandas.DatetimeIndex```
```
################################################################################
################################## Validation ##################################
################################################################################
1 Errors found:
No examples section found
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32360/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32360/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32360.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32360",
"merged_at": "2020-03-07T21:01:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32360.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32360"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32361
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32361/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32361/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32361/events
|
https://github.com/pandas-dev/pandas/pull/32361
| 573,219,152
|
MDExOlB1bGxSZXF1ZXN0MzgxNzg3NjUz
| 32,361
|
Changed kind parameter from integer to int, Added example
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/55378008?v=4",
"events_url": "https://api.github.com/users/mackarelfish/events{/privacy}",
"followers_url": "https://api.github.com/users/mackarelfish/followers",
"following_url": "https://api.github.com/users/mackarelfish/following{/other_user}",
"gists_url": "https://api.github.com/users/mackarelfish/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mackarelfish",
"id": 55378008,
"login": "mackarelfish",
"node_id": "MDQ6VXNlcjU1Mzc4MDA4",
"organizations_url": "https://api.github.com/users/mackarelfish/orgs",
"received_events_url": "https://api.github.com/users/mackarelfish/received_events",
"repos_url": "https://api.github.com/users/mackarelfish/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mackarelfish/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mackarelfish/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mackarelfish"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-29T06:52:17Z
| 2020-02-29T17:43:54Z
| 2020-02-29T17:43:46Z
|
CONTRIBUTOR
| null |
- [x] closes [Fix PR06 error in pandas.arrays.SparseArray](https://github.com/pandanistas/pandanistas_sprint_ui2020/issues/1)
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
```
################################################################################
################################## Validation ##################################
################################################################################
3 Errors found:
Parameter "sparse_index" has no description
Parameter "index" has no description
See Also section not found
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32361/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32361/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32361.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32361",
"merged_at": "2020-02-29T17:43:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32361.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32361"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32362
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32362/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32362/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32362/events
|
https://github.com/pandas-dev/pandas/pull/32362
| 573,222,351
|
MDExOlB1bGxSZXF1ZXN0MzgxNzkwNjM2
| 32,362
|
DOC: Fixed errors in pandas.DataFrame.asfreq PR07, RT02, RT03, SA04
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/45849317?v=4",
"events_url": "https://api.github.com/users/tolhassianipar/events{/privacy}",
"followers_url": "https://api.github.com/users/tolhassianipar/followers",
"following_url": "https://api.github.com/users/tolhassianipar/following{/other_user}",
"gists_url": "https://api.github.com/users/tolhassianipar/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/tolhassianipar",
"id": 45849317,
"login": "tolhassianipar",
"node_id": "MDQ6VXNlcjQ1ODQ5MzE3",
"organizations_url": "https://api.github.com/users/tolhassianipar/orgs",
"received_events_url": "https://api.github.com/users/tolhassianipar/received_events",
"repos_url": "https://api.github.com/users/tolhassianipar/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/tolhassianipar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tolhassianipar/subscriptions",
"type": "User",
"url": "https://api.github.com/users/tolhassianipar"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 5
| 2020-02-29T07:00:18Z
| 2020-03-11T04:03:23Z
| 2020-03-11T02:00:36Z
|
CONTRIBUTOR
| null |
- [X] closes https://github.com/pandanistas/pandanistas_sprint_ui2020/issues/19
- [ ] tests added / passed
- [X] passes `black pandas`
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Output of `python scripts/validate_docstrings.py pandas.DataFrame.asfreq`:
```
################################################################################
##################### Docstring (pandas.DataFrame.asfreq) #####################
################################################################################
Convert TimeSeries to specified frequency.
Optionally provide filling method to pad/backfill missing values.
Returns the original data conformed to a new index with the specified
frequency. ``resample`` is more appropriate if an operation, such as
summarization, is necessary to represent the data at the new frequency.
Parameters
----------
freq : DateOffset or str
Frequency DateOffset or string.
method : {'backfill'/'bfill', 'pad'/'ffill'}, default None
Method to use for filling holes in reindexed Series (note this
does not fill NaNs that already were present):
* 'pad' / 'ffill': propagate last valid observation forward to next
valid
* 'backfill' / 'bfill': use NEXT valid observation to fill.
how : {'start', 'end'}, default end
For PeriodIndex only (see PeriodIndex.asfreq).
normalize : bool, default False
Whether to reset output index to midnight.
fill_value : scalar, optional
Value to use for missing values, applied during upsampling (note
this does not fill NaNs that already were present).
Returns
-------
converted
Same type as caller.
See Also
--------
reindex : Conform DataFrame to new index with optional filling logic.
Notes
-----
To learn more about the frequency strings, please see `this link
<https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases>`__.
Examples
--------
Start by creating a series with 4 one minute timestamps.
>>> index = pd.date_range('1/1/2000', periods=4, freq='T')
>>> series = pd.Series([0.0, None, 2.0, 3.0], index=index)
>>> df = pd.DataFrame({'s':series})
>>> df
s
2000-01-01 00:00:00 0.0
2000-01-01 00:01:00 NaN
2000-01-01 00:02:00 2.0
2000-01-01 00:03:00 3.0
Upsample the series into 30 second bins.
>>> df.asfreq(freq='30S')
s
2000-01-01 00:00:00 0.0
2000-01-01 00:00:30 NaN
2000-01-01 00:01:00 NaN
2000-01-01 00:01:30 NaN
2000-01-01 00:02:00 2.0
2000-01-01 00:02:30 NaN
2000-01-01 00:03:00 3.0
Upsample again, providing a ``fill value``.
>>> df.asfreq(freq='30S', fill_value=9.0)
s
2000-01-01 00:00:00 0.0
2000-01-01 00:00:30 9.0
2000-01-01 00:01:00 NaN
2000-01-01 00:01:30 9.0
2000-01-01 00:02:00 2.0
2000-01-01 00:02:30 9.0
2000-01-01 00:03:00 3.0
Upsample again, providing a ``method``.
>>> df.asfreq(freq='30S', method='bfill')
s
2000-01-01 00:00:00 0.0
2000-01-01 00:00:30 NaN
2000-01-01 00:01:00 NaN
2000-01-01 00:01:30 2.0
2000-01-01 00:02:00 2.0
2000-01-01 00:02:30 3.0
2000-01-01 00:03:00 3.0
################################################################################
################################## Validation ##################################
################################################################################
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32362/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32362/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32362.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32362",
"merged_at": "2020-03-11T02:00:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32362.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32362"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32363
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32363/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32363/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32363/events
|
https://github.com/pandas-dev/pandas/pull/32363
| 573,257,037
|
MDExOlB1bGxSZXF1ZXN0MzgxODIyMjE0
| 32,363
|
TYP/cln: generic._make_*_function
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/26364415?v=4",
"events_url": "https://api.github.com/users/topper-123/events{/privacy}",
"followers_url": "https://api.github.com/users/topper-123/followers",
"following_url": "https://api.github.com/users/topper-123/following{/other_user}",
"gists_url": "https://api.github.com/users/topper-123/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/topper-123",
"id": 26364415,
"login": "topper-123",
"node_id": "MDQ6VXNlcjI2MzY0NDE1",
"organizations_url": "https://api.github.com/users/topper-123/orgs",
"received_events_url": "https://api.github.com/users/topper-123/received_events",
"repos_url": "https://api.github.com/users/topper-123/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/topper-123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/topper-123/subscriptions",
"type": "User",
"url": "https://api.github.com/users/topper-123"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-29T08:57:49Z
| 2020-03-04T08:53:31Z
| 2020-03-04T08:19:31Z
|
CONTRIBUTOR
| null |
Give calls to these funcs named parameters for better clarity + type up the make_stats functions.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32363/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32363/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32363.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32363",
"merged_at": "2020-03-04T08:19:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32363.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32363"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32364
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32364/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32364/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32364/events
|
https://github.com/pandas-dev/pandas/pull/32364
| 573,285,591
|
MDExOlB1bGxSZXF1ZXN0MzgxODQzNjU2
| 32,364
|
TST: Removed import of itertools
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-29T12:27:05Z
| 2020-03-07T12:09:19Z
| 2020-03-07T12:01:24Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32364/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32364/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32364.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32364",
"merged_at": "2020-03-07T12:01:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32364.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32364"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32365
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32365/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32365/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32365/events
|
https://github.com/pandas-dev/pandas/pull/32365
| 573,289,871
|
MDExOlB1bGxSZXF1ZXN0MzgxODQ2OTI0
| 32,365
|
CLN: Replaced "bool_t" with "builtins.bool"
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] | null | 10
| 2020-02-29T12:58:10Z
| 2020-03-14T14:08:43Z
| 2020-03-11T15:43:50Z
|
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/32365/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32365/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32365.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32365",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32365.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32365"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32366
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32366/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32366/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32366/events
|
https://github.com/pandas-dev/pandas/pull/32366
| 573,297,443
|
MDExOlB1bGxSZXF1ZXN0MzgxODUzMDc1
| 32,366
|
Backport PR #32284 on branch 1.0.x (CI: nested DataFrames in npdev)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/39504233?v=4",
"events_url": "https://api.github.com/users/meeseeksmachine/events{/privacy}",
"followers_url": "https://api.github.com/users/meeseeksmachine/followers",
"following_url": "https://api.github.com/users/meeseeksmachine/following{/other_user}",
"gists_url": "https://api.github.com/users/meeseeksmachine/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/meeseeksmachine",
"id": 39504233,
"login": "meeseeksmachine",
"node_id": "MDQ6VXNlcjM5NTA0MjMz",
"organizations_url": "https://api.github.com/users/meeseeksmachine/orgs",
"received_events_url": "https://api.github.com/users/meeseeksmachine/received_events",
"repos_url": "https://api.github.com/users/meeseeksmachine/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/meeseeksmachine/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meeseeksmachine/subscriptions",
"type": "User",
"url": "https://api.github.com/users/meeseeksmachine"
}
|
[] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
}
| 0
| 2020-02-29T13:38:41Z
| 2020-02-29T14:42:26Z
| 2020-02-29T14:42:25Z
|
NONE
| null |
Backport PR #32284: CI: nested DataFrames in npdev
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32366/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32366/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32366.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32366",
"merged_at": "2020-02-29T14:42:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32366.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32366"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32367
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32367/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32367/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32367/events
|
https://github.com/pandas-dev/pandas/pull/32367
| 573,298,134
|
MDExOlB1bGxSZXF1ZXN0MzgxODUzNTc5
| 32,367
|
CLN: some code cleanups to pandas/_libs/missing.pyx
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "eb6420",
"default": false,
"description": "Code style, linting, code_checks",
"id": 106935113,
"name": "Code Style",
"node_id": "MDU6TGFiZWwxMDY5MzUxMTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Code%20Style"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-29T13:43:43Z
| 2020-03-05T10:12:19Z
| 2020-03-03T03:00:27Z
|
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/32367/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32367/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32367.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32367",
"merged_at": "2020-03-03T03:00:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32367.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32367"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32368
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32368/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32368/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32368/events
|
https://github.com/pandas-dev/pandas/pull/32368
| 573,300,063
|
MDExOlB1bGxSZXF1ZXN0MzgxODU0OTk1
| 32,368
|
Silence warnings when compiling pandas/_libs/parsers.pyx
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[] |
closed
| false
| null |
[] | null | 2
| 2020-02-29T13:59:09Z
| 2020-03-05T09:42:13Z
| 2020-02-29T18:04:07Z
|
MEMBER
| null |
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
This is getting rid of this warning:
```
pandas/_libs/parsers.c: In function ‘__pyx_f_6pandas_5_libs_7parsers_10TextReader__get_header’:
pandas/_libs/parsers.c:9313:27: warning: ‘__pyx_v_data_line’ may be used uninitialized in this function [-Wmaybe-uninitialized]
9313 | __pyx_t_5numpy_uint64_t __pyx_v_data_line;
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32368/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32368/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32368.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32368",
"merged_at": "2020-02-29T18:04:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32368.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32368"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32369
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32369/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32369/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32369/events
|
https://github.com/pandas-dev/pandas/pull/32369
| 573,303,383
|
MDExOlB1bGxSZXF1ZXN0MzgxODU3NTc2
| 32,369
|
CLN: Some code cleanups in pandas/_libs/parsers.pyx
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/50263213?v=4",
"events_url": "https://api.github.com/users/ShaharNaveh/events{/privacy}",
"followers_url": "https://api.github.com/users/ShaharNaveh/followers",
"following_url": "https://api.github.com/users/ShaharNaveh/following{/other_user}",
"gists_url": "https://api.github.com/users/ShaharNaveh/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShaharNaveh",
"id": 50263213,
"login": "ShaharNaveh",
"node_id": "MDQ6VXNlcjUwMjYzMjEz",
"organizations_url": "https://api.github.com/users/ShaharNaveh/orgs",
"received_events_url": "https://api.github.com/users/ShaharNaveh/received_events",
"repos_url": "https://api.github.com/users/ShaharNaveh/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShaharNaveh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShaharNaveh/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShaharNaveh"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 7
| 2020-02-29T14:20:09Z
| 2020-03-20T00:06:43Z
| 2020-03-16T23:55:58Z
|
MEMBER
| null |
There are __a lot__ of cdef unused variables in ```pandas/_libs/parsers.pyx``` this PR is covering *some* of the unused variables.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32369/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32369/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32369.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32369",
"merged_at": "2020-03-16T23:55:58Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32369.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32369"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32370
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32370/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32370/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32370/events
|
https://github.com/pandas-dev/pandas/pull/32370
| 573,307,931
|
MDExOlB1bGxSZXF1ZXN0MzgxODYxMTA1
| 32,370
|
PR #32068 follow up - Print merged df result in doc
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/16509490?v=4",
"events_url": "https://api.github.com/users/ryankarlos/events{/privacy}",
"followers_url": "https://api.github.com/users/ryankarlos/followers",
"following_url": "https://api.github.com/users/ryankarlos/following{/other_user}",
"gists_url": "https://api.github.com/users/ryankarlos/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ryankarlos",
"id": 16509490,
"login": "ryankarlos",
"node_id": "MDQ6VXNlcjE2NTA5NDkw",
"organizations_url": "https://api.github.com/users/ryankarlos/orgs",
"received_events_url": "https://api.github.com/users/ryankarlos/received_events",
"repos_url": "https://api.github.com/users/ryankarlos/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ryankarlos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ryankarlos/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ryankarlos"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-02-29T14:47:52Z
| 2020-02-29T19:10:05Z
| 2020-02-29T17:17:48Z
|
CONTRIBUTOR
| null |
- [x] follow up to PR #32068 which closed #12550 - small fix - see https://github.com/pandas-dev/pandas/pull/32068#discussion_r386029773
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32370/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32370/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32370.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32370",
"merged_at": "2020-02-29T17:17:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32370.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32370"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32371
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32371/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32371/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32371/events
|
https://github.com/pandas-dev/pandas/pull/32371
| 573,342,315
|
MDExOlB1bGxSZXF1ZXN0MzgxODg5MjE4
| 32,371
|
TYP/CLN: Optional[Hashable] -> pandas._typing.Label
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 6
| 2020-02-29T17:16:02Z
| 2020-03-06T07:13:20Z
| 2020-03-06T07:12:48Z
|
MEMBER
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32371/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32371/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32371.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32371",
"merged_at": "2020-03-06T07:12:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32371.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32371"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/32372
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32372/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32372/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32372/events
|
https://github.com/pandas-dev/pandas/issues/32372
| 573,347,755
|
MDU6SXNzdWU1NzMzNDc3NTU=
| 32,372
|
Having problem with 'pandas.DataFrame.loc' for multi type and size dataframes.
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/44328949?v=4",
"events_url": "https://api.github.com/users/navidzol/events{/privacy}",
"followers_url": "https://api.github.com/users/navidzol/followers",
"following_url": "https://api.github.com/users/navidzol/following{/other_user}",
"gists_url": "https://api.github.com/users/navidzol/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/navidzol",
"id": 44328949,
"login": "navidzol",
"node_id": "MDQ6VXNlcjQ0MzI4OTQ5",
"organizations_url": "https://api.github.com/users/navidzol/orgs",
"received_events_url": "https://api.github.com/users/navidzol/received_events",
"repos_url": "https://api.github.com/users/navidzol/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/navidzol/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/navidzol/subscriptions",
"type": "User",
"url": "https://api.github.com/users/navidzol"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "f2f989",
"default": false,
"description": "Data where the values are collections (lists, sets, dicts, objects, etc.).",
"id": 2189479765,
"name": "Nested Data",
"node_id": "MDU6TGFiZWwyMTg5NDc5NzY1",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Nested%20Data"
}
] |
open
| false
| null |
[] | null | 1
| 2020-02-29T17:26:47Z
| 2021-07-29T06:16:01Z
| null |
NONE
| null |
The problem:
When I make a data frame with pandas that has columns with different length and type, I cannot re-assign an element inside it using loc. I can explain it better with an example:
```python
import pandas as pd
import numpy as np
df = pd.DataFrame({'a': [np.array([1,2,3]), np.array([4,5,6]), np.array([7,8,9]), np.array([10,11,12]), np.array([13,14,15])], 'b':[5,5,12,123,5]})
df.loc[2,'a']= np.array([53,23,4])
```
The error that I receive is :
```python
Traceback (most recent call last):
File "...", line 3326, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-67-4741bddaf261>", line 1, in <module>
df.loc[0,'a']= np.array([53,23,4])
File "...", line 205, in __setitem__
self._setitem_with_indexer(indexer, value)
File "...", line 547, in _setitem_with_indexer
"Must have equal len keys and value "
ValueError: Must have equal len keys and value when setting with an iterable
```
Now If I remove the second column ('b') and make my data frame as
```python
df = pd.DataFrame({'a': [np.array([1,2,3]), np.array([4,5,6]), np.array([7,8,9]), np.array([10,11,12]), np.array([13,14,15])]})
df.loc[2,'a']= np.array([53,23,4])
```
I will not get any error. I also noticed that doing the assignment with
```python
df['a'][2]= np.array([53,23,4])
```
will do the work but throw a "SettingWithCopyWarning". However, I can go around the whole thing and use the following code to not get the error or the warning (thanks to ALS777 from [stackoverflow](https://stackoverflow.com/questions/60443110/why-in-pandas-dataframe-with-mix-elements-types-when-i-change-an-element-i-get)):
```python
df.at[2,'a'] = np.array([52,23,34])
```
#### Problem description
I am guessing that it should work with loc if it works with direct indexing like df['a'][2]. Also, why changing the other column effect the process of updating another column?
My specs are:
#### Output of ``pd.show_versions()``
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.5.final.0
python-bits : 64
OS : Linux
OS-release : 5.3.0-40-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 0.25.3
numpy : 1.17.4
pytz : 2019.3
dateutil : 2.8.1
pip : 19.3.1
setuptools : 42.0.2.post20191203
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.1
numexpr : 2.7.0
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
s3fs : None
scipy : 1.3.2
sqlalchemy : None
tables : 3.6.1
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/32372/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32372/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32373
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32373/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32373/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32373/events
|
https://github.com/pandas-dev/pandas/pull/32373
| 573,387,805
|
MDExOlB1bGxSZXF1ZXN0MzgxOTI4MzM0
| 32,373
|
REF: collect+parametrize reorder_levels tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-29T18:58:41Z
| 2020-03-02T15:30:15Z
| 2020-03-02T11:18:37Z
|
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/32373/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32373/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32373.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32373",
"merged_at": "2020-03-02T11:18:36Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32373.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32373"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/32374
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32374/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32374/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32374/events
|
https://github.com/pandas-dev/pandas/issues/32374
| 573,397,250
|
MDU6SXNzdWU1NzMzOTcyNTA=
| 32,374
|
Having Problems with detection of tables
|
{
"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 | 15
| 2020-02-29T19:35:28Z
| 2020-03-01T16:12:53Z
| 2020-03-01T16:12:23Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
first_concurrent = requests.get(url, proxies=proxies, headers=headers)
first_concurrent_text = first_concurrent.text
first_concurrent_all_table = pd.read_html(first_concurrent_text)
first_concurrent_first_table = first_concurrent_all_table[0]
```
#### Problem description
The website has a table on it. Sometiems when I run the code it finds the table other times it does not. This is not an issue with syntax of code, rather I think its about the read_html function. I went over the module, stackoverflow, etc, and did not find a solution to my problem.
PS - I have the newest version of 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/32374/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32374/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32375
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32375/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32375/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32375/events
|
https://github.com/pandas-dev/pandas/pull/32375
| 573,404,203
|
MDExOlB1bGxSZXF1ZXN0MzgxOTQwMDY0
| 32,375
|
REF/TST: misplaced DataFrame.join tests
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-29T20:20:16Z
| 2020-03-02T17:52:13Z
| 2020-03-02T17:47: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/32375/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32375/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32375.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32375",
"merged_at": "2020-03-02T17:47:09Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32375.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32375"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/32376
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32376/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32376/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32376/events
|
https://github.com/pandas-dev/pandas/pull/32376
| 573,407,606
|
MDExOlB1bGxSZXF1ZXN0MzgxOTQyMzk2
| 32,376
|
TYP: annotations for internals, set_axis
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-29T20:40:04Z
| 2020-03-02T17:32:28Z
| 2020-03-02T17:27:46Z
|
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/32376/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32376/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32376.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32376",
"merged_at": "2020-03-02T17:27:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32376.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32376"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/32377
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32377/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32377/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32377/events
|
https://github.com/pandas-dev/pandas/pull/32377
| 573,413,993
|
MDExOlB1bGxSZXF1ZXN0MzgxOTQ2NTE1
| 32,377
|
ENH: infer freq in timedelta_range
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
},
{
"color": "0052cc",
"default": false,
"description": "DateOffsets",
"id": 53181044,
"name": "Frequency",
"node_id": "MDU6TGFiZWw1MzE4MTA0NA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Frequency"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-29T21:24:08Z
| 2020-03-03T12:57:33Z
| 2020-03-03T01:44:14Z
|
MEMBER
| null |
Step in the direction of #31195.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32377/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32377/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32377.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32377",
"merged_at": "2020-03-03T01:44:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32377.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32377"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32378
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32378/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32378/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32378/events
|
https://github.com/pandas-dev/pandas/pull/32378
| 573,414,399
|
MDExOlB1bGxSZXF1ZXN0MzgxOTQ2NzYy
| 32,378
|
DOC: Minor typo fixes for code style guide
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/42591328?v=4",
"events_url": "https://api.github.com/users/dan1261/events{/privacy}",
"followers_url": "https://api.github.com/users/dan1261/followers",
"following_url": "https://api.github.com/users/dan1261/following{/other_user}",
"gists_url": "https://api.github.com/users/dan1261/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dan1261",
"id": 42591328,
"login": "dan1261",
"node_id": "MDQ6VXNlcjQyNTkxMzI4",
"organizations_url": "https://api.github.com/users/dan1261/orgs",
"received_events_url": "https://api.github.com/users/dan1261/received_events",
"repos_url": "https://api.github.com/users/dan1261/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dan1261/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dan1261/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dan1261"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-02-29T21:27:25Z
| 2020-02-29T21:34:29Z
| 2020-02-29T21:34:29Z
|
CONTRIBUTOR
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32378/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32378/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32378.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32378",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32378.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32378"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/32379
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32379/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32379/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32379/events
|
https://github.com/pandas-dev/pandas/pull/32379
| 573,415,805
|
MDExOlB1bGxSZXF1ZXN0MzgxOTQ3NjI4
| 32,379
|
DOC: Minor typo fixes for code style guide
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/42591328?v=4",
"events_url": "https://api.github.com/users/dan1261/events{/privacy}",
"followers_url": "https://api.github.com/users/dan1261/followers",
"following_url": "https://api.github.com/users/dan1261/following{/other_user}",
"gists_url": "https://api.github.com/users/dan1261/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dan1261",
"id": 42591328,
"login": "dan1261",
"node_id": "MDQ6VXNlcjQyNTkxMzI4",
"organizations_url": "https://api.github.com/users/dan1261/orgs",
"received_events_url": "https://api.github.com/users/dan1261/received_events",
"repos_url": "https://api.github.com/users/dan1261/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dan1261/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dan1261/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dan1261"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-02-29T21:37:38Z
| 2020-03-01T02:24:51Z
| 2020-03-01T02:24:44Z
|
CONTRIBUTOR
| null |
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32379/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32379/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32379.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32379",
"merged_at": "2020-03-01T02:24:44Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32379.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32379"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/32380
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32380/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32380/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32380/events
|
https://github.com/pandas-dev/pandas/issues/32380
| 573,417,037
|
MDU6SXNzdWU1NzM0MTcwMzc=
| 32,380
|
Deprecate groupby() squeeze option
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/866859?v=4",
"events_url": "https://api.github.com/users/dechamps/events{/privacy}",
"followers_url": "https://api.github.com/users/dechamps/followers",
"following_url": "https://api.github.com/users/dechamps/following{/other_user}",
"gists_url": "https://api.github.com/users/dechamps/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/dechamps",
"id": 866859,
"login": "dechamps",
"node_id": "MDQ6VXNlcjg2Njg1OQ==",
"organizations_url": "https://api.github.com/users/dechamps/orgs",
"received_events_url": "https://api.github.com/users/dechamps/received_events",
"repos_url": "https://api.github.com/users/dechamps/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/dechamps/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dechamps/subscriptions",
"type": "User",
"url": "https://api.github.com/users/dechamps"
}
|
[
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "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-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 10
| 2020-02-29T21:46:36Z
| 2020-10-01T03:46:52Z
| 2020-05-22T23:49:12Z
|
NONE
| null |
#### Code Sample
```python
import pandas as pd
print(pd.DataFrame([{
'A': 1,
'B': 1,
}, {
'A': 2,
'B': 2,
}, {
'A': 2,
'B': 3,
}]).groupby('A', squeeze=True).count())
```
#### Problem description
I expected `.groupby(squeeze=True)` to, well, squeeze, and `count()` to return a Series. Instead `squeeze=True` doesn't seem to do anything, and `count()` returns a DataFrame.
A workaround is to write `.groupby('A').count().squeeze()`, which does work.
#### Expected Output
```
A
1 1
2 2
Name: B, dtype: int64
```
#### Actual output
```
B
A
1 1
2 2
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Linux
OS-release : 5.4.0-4-amd64
machine : x86_64
processor :
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 1.0.1
numpy : 1.17.4
pytz : 2019.3
dateutil : 2.8.1
pip : 18.1
setuptools : 44.0.0
Cython : None
pytest : 4.6.9
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.5.0
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.5.0
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 4.6.9
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32380/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32380/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32381
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32381/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32381/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32381/events
|
https://github.com/pandas-dev/pandas/issues/32381
| 573,429,501
|
MDU6SXNzdWU1NzM0Mjk1MDE=
| 32,381
|
Inconsistent behavior for 2D Groupby with Categorical MultiIndex raises TypeError with observed=False
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/12834389?v=4",
"events_url": "https://api.github.com/users/blalterman/events{/privacy}",
"followers_url": "https://api.github.com/users/blalterman/followers",
"following_url": "https://api.github.com/users/blalterman/following{/other_user}",
"gists_url": "https://api.github.com/users/blalterman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/blalterman",
"id": 12834389,
"login": "blalterman",
"node_id": "MDQ6VXNlcjEyODM0Mzg5",
"organizations_url": "https://api.github.com/users/blalterman/orgs",
"received_events_url": "https://api.github.com/users/blalterman/received_events",
"repos_url": "https://api.github.com/users/blalterman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/blalterman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blalterman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/blalterman"
}
|
[
{
"color": "207de5",
"default": false,
"description": "Clarification about behavior needed to assess issue",
"id": 307649777,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info"
}
] |
closed
| false
| null |
[] | null | 3
| 2020-02-29T23:21:46Z
| 2020-03-11T14:06:00Z
| 2020-03-11T14:05:59Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
x = np.random.normal(size=1000)
y = np.random.normal(size=1000)
z = pd.Series(np.full_like(x, 1))
xc = pd.cut(x, 10)
yc = pd.cut(y, 10)
cut = pd.DataFrame({"x": xc, "y": yc})
mi = pd.MultiIndex.from_frame(cut)
z.index = mi
```
#### Problem description
When I run the following, I get an expected result.
```python
>>> z.groupby(["x", "y"], observed=True).count()
x y
(-3.945, -3.223] (0.795, 1.448] 1
(-3.223, -2.509] (0.142, 0.795] 1
(0.795, 1.448] 1
(-2.509, -1.795] (-2.47, -1.817] 1
(-1.817, -1.164] 4
..
(1.775, 2.489] (2.754, 3.407] 1
(2.489, 3.203] (-0.511, 0.142] 1
(0.795, 1.448] 1
(1.448, 2.101] 1
(2.101, 2.754] 1
Length: 65, dtype: int64
```
However, if I want to preserve the categories that are not observed as in either of the two following, I get a `TypeError` that appears to be due to the inclusion of empty groups (mixing of NaNs and Categoricals?)
```python
z.groupby(["x", "y"]).count()
```
```python
z.groupby(["x", "y"], observed=False).count()
```
```python
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-153-f64fa4f78c55> in <module>
----> 1 z.groupby(["x", "y"]).count()
~/.conda/envs/test_env/lib/python3.7/site-packages/pandas/core/groupby/generic.py in count(self)
797 dtype="int64",
798 )
--> 799 return self._reindex_output(result, fill_value=0)
800
801 def _apply_to_column_groupbys(self, func):
~/.conda/envs/test_env/lib/python3.7/site-packages/pandas/core/groupby/groupby.py in _reindex_output(self, output, fill_value)
2488 levels_list = [ping.group_index for ping in groupings]
2489 index, _ = MultiIndex.from_product(
-> 2490 levels_list, names=self.grouper.names
2491 ).sortlevel()
2492
~/.conda/envs/test_env/lib/python3.7/site-packages/pandas/core/indexes/multi.py in from_product(cls, iterables, sortorder, names)
551
552 codes = cartesian_product(codes)
--> 553 return MultiIndex(levels, codes, sortorder=sortorder, names=names)
554
555 @classmethod
~/.conda/envs/test_env/lib/python3.7/site-packages/pandas/core/indexes/multi.py in __new__(cls, levels, codes, sortorder, names, dtype, copy, name, verify_integrity, _set_identity)
278
279 if verify_integrity:
--> 280 new_codes = result._verify_integrity()
281 result._codes = new_codes
282
~/.conda/envs/test_env/lib/python3.7/site-packages/pandas/core/indexes/multi.py in _verify_integrity(self, codes, levels)
366
367 codes = [
--> 368 self._validate_codes(level, code) for level, code in zip(levels, codes)
369 ]
370 new_codes = FrozenList(codes)
~/.conda/envs/test_env/lib/python3.7/site-packages/pandas/core/indexes/multi.py in <listcomp>(.0)
366
367 codes = [
--> 368 self._validate_codes(level, code) for level, code in zip(levels, codes)
369 ]
370 new_codes = FrozenList(codes)
~/.conda/envs/test_env/lib/python3.7/site-packages/pandas/core/indexes/multi.py in _validate_codes(self, level, code)
302 to a level with missing values (NaN, NaT, None).
303 """
--> 304 null_mask = isna(level)
305 if np.any(null_mask):
306 code = np.where(null_mask[code], -1, code)
~/.conda/envs/test_env/lib/python3.7/site-packages/pandas/core/dtypes/missing.py in isna(obj)
124 Name: 1, dtype: bool
125 """
--> 126 return _isna(obj)
127
128
~/.conda/envs/test_env/lib/python3.7/site-packages/pandas/core/dtypes/missing.py in _isna_old(obj)
181 return False
182 elif isinstance(obj, (ABCSeries, np.ndarray, ABCIndexClass, ABCExtensionArray)):
--> 183 return _isna_ndarraylike_old(obj)
184 elif isinstance(obj, ABCGeneric):
185 return obj._constructor(obj._data.isna(func=_isna_old))
~/.conda/envs/test_env/lib/python3.7/site-packages/pandas/core/dtypes/missing.py in _isna_ndarraylike_old(obj)
281 else:
282 result = np.empty(shape, dtype=bool)
--> 283 vec = libmissing.isnaobj_old(values.ravel())
284 result[:] = vec.reshape(shape)
285
TypeError: Argument 'arr' has incorrect type (expected numpy.ndarray, got Categorical)
```
#### Expected Output
The expected output should preserve non-observed groups and return a result.
```python
x y
(-3.945, -3.223] (0.795, 1.448] 1
(-3.223, -2.509] (0.142, 0.795] 1
(0.795, 1.448] 1
(-2.509, -1.795] (-2.47, -1.817] 1
(-1.817, -1.164] 4
..
(1.775, 2.489] (2.754, 3.407] 1
(2.489, 3.203] (-0.511, 0.142] 1
(0.795, 1.448] 1
(1.448, 2.101] 1
(2.101, 2.754] 1
Length: 65, dtype: int64
```
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Linux
OS-release : 3.10.0-1062.4.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 : 1.0.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.2.0.post20200210
Cython : None
pytest : 5.3.5
hypothesis : 5.5.4
sphinx : 2.4.0
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.5.0
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: None
bs4 : 4.8.2
bottleneck : 1.3.1
fastparquet : None
gcsfs : None
lxml.etree : 4.5.0
matplotlib : 3.1.3
numexpr : 2.7.1
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : 5.3.5
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : 3.6.1
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32381/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32381/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32382
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32382/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32382/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32382/events
|
https://github.com/pandas-dev/pandas/issues/32382
| 573,497,535
|
MDU6SXNzdWU1NzM0OTc1MzU=
| 32,382
|
problem
|
{
"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": "207de5",
"default": false,
"description": "Clarification about behavior needed to assess issue",
"id": 307649777,
"name": "Needs Info",
"node_id": "MDU6TGFiZWwzMDc2NDk3Nzc=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Info"
}
] |
closed
| false
| null |
[] | null | 3
| 2020-03-01T07:05:32Z
| 2020-03-04T12:53:05Z
| 2020-03-04T12:53:04Z
|
NONE
| null |
import pandas as pd
json_file = 'sample_data'
list(pd.read_json(json_file, lines=True))
```
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-11-ee639448d145> in <module>
1 import pandas as pd
2 json_file = 'sample_data'
----> 3 list(pd.read_json(json_file, lines=True))
c:\users\nimal\appdata\local\programs\python\python36\lib\site-packages\pandas\util\_decorators.py in wrapper(*args, **kwargs)
212 else:
213 kwargs[new_arg_name] = new_arg_value
--> 214 return func(*args, **kwargs)
215
216 return cast(F, wrapper)
c:\users\nimal\appdata\local\programs\python\python36\lib\site-packages\pandas\io\json\_json.py in read_json(path_or_buf, orient, typ, dtype, convert_axes, convert_dates, keep_default_dates, numpy, precise_float, date_unit, encoding, lines, chunksize, compression)
606 return json_reader
607
--> 608 result = json_reader.read()
609 if should_close:
610 filepath_or_buffer.close()
c:\users\nimal\appdata\local\programs\python\python36\lib\site-packages\pandas\io\json\_json.py in read(self)
727 elif self.lines:
728 data = ensure_str(self.data)
--> 729 obj = self._get_object_parser(self._combine_lines(data.split("\n")))
730 else:
731 obj = self._get_object_parser(self.data)
c:\users\nimal\appdata\local\programs\python\python36\lib\site-packages\pandas\io\json\_json.py in _get_object_parser(self, json)
751 obj = None
752 if typ == "frame":
--> 753 obj = FrameParser(json, **kwargs).parse()
754
755 if typ == "series" or obj is None:
c:\users\nimal\appdata\local\programs\python\python36\lib\site-packages\pandas\io\json\_json.py in parse(self)
855
856 else:
--> 857 self._parse_no_numpy()
858
859 if self.obj is None:
c:\users\nimal\appdata\local\programs\python\python36\lib\site-packages\pandas\io\json\_json.py in _parse_no_numpy(self)
1087 if orient == "columns":
1088 self.obj = DataFrame(
-> 1089 loads(json, precise_float=self.precise_float), dtype=None
1090 )
1091 elif orient == "split":
and my file looks like
{"score_hidden":false,"name":"t1_cnas8zv","link_id":"t3_2qyr1a","body":"Most of us have some family members like this. *Most* of my family is like this. ","downs":0,"created_utc":"1420070400","score":14,"author":"YoungModern","distinguished":null,"id":"cnas8zv","archived":false,"parent_id":"t3_2qyr1a","subreddit":"exmormon","author_flair_css_class":null,"author_flair_text":null,"gilded":0,"retrieved_on":1425124282,"ups":14,"controversiality":0,"subreddit_id":"t5_2r0gj","edited":false}
{"distinguished":null,"id":"cnas8zw","archived":false,"author":"RedCoatsForever","score":3,"created_utc":"1420070400","downs":0,"body":"But Mill's career was way better. Bentham is like, the Joseph Smith to Mill's Brigham Young.","link_id":"t3_2qv6c6","name":"t1_cnas8zw","score_hidden":false,"controversiality":0,"subreddit_id":"t5_2s4gt","edited":false,"retrieved_on":1425124282,"ups":3,"author_flair_css_class":"on","gilded":0,"author_flair_text":"Ontario","subreddit":"CanadaPolitics","parent_id":"t1_cnas2b6"}
{"score_hidden":false,"link_id":"t3_2qxefp","name":"t1_cnas8zx","created_utc":"1420070400","downs":0,"body":"Mine uses a strait razor, and as much as i love the clippers i love the razor so much more. Then he follows it up with a warm towel. \nI think i might go get a hair cut this week.","distinguished":null,"id":"cnas8zx","archived":false,"author":"vhisic","score":1,"subreddit":"AdviceAnimals","parent_id":"t3_2qxefp","retrieved_on":1425124282,"ups":1,"author_flair_css_class":null,"author_flair_text":null,"gilded":0,"controversiality":0,"subreddit_id":"t5_2s7tt","edited":false}
{"parent_id":"t3_2qys4x","subreddit":"AdviceAnimals","gilded":0,"author_flair_text":null,"author_flair_css_class":null,"retrieved_on":1425124282,"ups":1,"subreddit_id":"t5_2s7tt","edited":false,"controversiality":0,"score_hidden":false,"name":"t1_cnas8zy","link_id":"t3_2qys4x","body":"[deleted]","created_utc":"1420070400","downs":0,"score":1,"author":"[deleted]","archived":false,"distinguished":null,"id":"cnas8zy"}
{"body":"Very fast, thank you!","created_utc":"1420070400","downs":0,"author":"Mastersimpson","score":2,"id":"cnas8zz","distinguished":null,"archived":false,"score_hidden":false,"name":"t1_cnas8zz","link_id":"t3_2qm5bi","author_flair_css_class":null,"gilded":0,"author_flair_text":null,"retrieved_on":1425124282,"ups":2,"controversiality":0,"edited":false,"subreddit_id":"t5_2y51u","parent_id":"t3_2qm5bi","subreddit":"freedonuts"}
{"author":"BigGupp1","score":6,"archived":false,"id":"cnas900","distinguished":null,"body":"The guy is a professional, and very good at what he does. I highly doubt he misses often, if at all.","created_utc":"1420070400","downs":0,"name":"t1_cnas900","link_id":"t3_2qxe1p","score_hidden":false,"edited":false,"subreddit_id":"t5_2qh61","controversiality":0,"author_flair_text":null,"gilded":0,"author_flair_css_class":null,"retrieved_on":1425124282,"ups":6,"parent_id":"t1_cnaqg2t","subreddit":"WTF"}
{"score_hidden":false,"link_id":"t3_2qxlvm","name":"t1_cnas901","created_utc":"1420070400","downs":0,"body":"This is a great question, and I want to thank you for asking it. However, I don't have any answers. I'm interested in learning more myself. ","archived":false,"id":"cnas901","distinguished":null,"score":1,"author":"PeglegGecko","subreddit":"needadvice","parent_id":"t3_2qxlvm","ups":1,"retrieved_on":1425124282,"author_flair_text":null,"gilded":0,"author_flair_css_class":null,"subreddit_id":"t5_2r367","edited":false,"controversiality":0}
{"controversiality":0,"edited":false,"subreddit_id":"t5_2t9x3","ups":1,"retrieved_on":1425124282,"author_flair_css_class":null,"author_flair_text":null,"gilded":0,"subreddit":"summonerschool","parent_id":"t1_cnaiy0s","id":"cnas902","distinguished":null,"archived":false,"author":"politevelociraptor","score":1,"created_utc":"1420070400","downs":0,"body":"Is the IE-Shiv-Ghostblade-Zerks-LW-BT Still not the main graves build? 60% crit I think massive Attack speed and decent AD plus Pen?","link_id":"t3_2qx3kt","name":"t1_cnas902","score_hidden":false}
{"author_flair_css_class":"BartkowskiMatt","gilded":0,"author_flair_text":"LA Kings fan","ups":1,"retrieved_on":1425124282,"controversiality":0,"edited":false,"subreddit_id":"t5_2rmt9","parent_id":"t1_cnas8bm","subreddit":"BostonBruins","body":":D.","created_utc":"1420070400","downs":0,"score":1,"author":"slicked9778","distinguished":null,"id":"cnas903","archived":false,"score_hidden":false,"name":"t1_cnas903","link_id":"t3_2qyizj"}
{"parent_id":"t1_cnan0ne","subreddit":"sausagetalk","author_flair_css_class":null,"author_flair_text":null,"gilded":0,"ups":2,"retrieved_on":1425124282,"controversiality":0,"subreddit_id":"t5_2t13q","edited":false,"score_hidden":false,"name":"t1_cnas905","link_id":"t3_2qxiao","body":"I don't know how to describe it. Gently pinched two spots weiner length apart and just twisted them about 3or 4 times.","downs":0,"created_utc":"1420070400","score":2,"author":"jaggazz","id":"cnas905","distinguished":null,"archived":false}
{"parent_id":"t1_cnas7u7","subreddit":"hiphopheads","controversiality":0,"subreddit_id":"t5_2rh4c","edited":false,"author_flair_css_class":"django","author_flair_text":"","gilded":0,"retrieved_on":1425124282,"ups":2,"name":"t1_cnas906","link_id":"t3_2qyl4w","score_hidden":false,"score":2,"author":"thebasedyeezus","id":"cnas906","distinguished":null,"archived":false,"body":"says you my g","downs":0,"created_utc":"1420070400"}
{"subreddit_id":"t5_2qh33","edited":false,"controversiality":0,"ups":10,"retrieved_on":1425124282,"author_flair_text":null,"gilded":0,"author_flair_css_class":null,"subreddit":"funny","parent_id":"t1_cnar76e","archived":false,"id":"cnas907","distinguished":null,"author":"Meltingteeth","score":10,"downs":0,"created_utc":"1420070401","body":"/r/Im14andthisisfunny","link_id":"t3_2qxubc","name":"t1_cnas907","score_hidden":false}
{"score":1,"author":"Clomez","archived":false,"id":"cnas908","distinguished":null,"body":"i love this music!","created_utc":"1420070401","downs":0,"name":"t1_cnas908","link_id":"t3_2qx5b6","score_hidden":false,"edited":false,"subreddit_id":"t5_2sokd","controversiality":0,"gilded":0,"author_flair_text":null,"author_flair_css_class":null,"ups":1,"retrieved_on":1425124282,"parent_id":"t1_cnap6jp","subreddit":"explainlikeimfive"}
{"created_utc":"1420070401","downs":0,"body":"You mean the village hidden in filler complaints, right?","archived":false,"distinguished":null,"id":"cnas909","score":2,"author":"noitnemid","score_hidden":false,"link_id":"t3_2qup35","name":"t1_cnas909","retrieved_on":1425124282,"ups":2,"gilded":0,"author_flair_text":"","author_flair_css_class":"deihand","subreddit_id":"t5_2quts","edited":false,"controversiality":0,"subreddit":"Naruto","parent_id":"t1_cnald9n"}
{"score_hidden":false,"link_id":"t3_2qyp3l","name":"t1_cnas90a","downs":0,"created_utc":"1420070401","body":"I always forget how to bold on mobile. ","archived":false,"id":"cnas90a","distinguished":null,"author":"highvoltorb","score":2,"subreddit":"hockey","parent_id":"t1_cnas1fe","ups":2,"retrieved_on":1425124282,"author_flair_text":"CBJAlt1NHL","gilded":0,"author_flair_css_class":"CBJAlt1NHL","edited":false,"subreddit_id":"t5_2qiel","controversiality":0}
{"controversiality":0,"edited":false,"subreddit_id":"t5_32vyu","ups":1,"retrieved_on":1425124282,"author_flair_css_class":null,"author_flair_text":null,"gilded":0,"subreddit":"GCXRep","parent_id":"t1_cnajnze","id":"cnas90b","distinguished":null,"archived":false,"score":1,"author":"[deleted]","downs":0,"created_utc":"1420070401","body":"[deleted]","link_id":"t3_2qxljk","name":"t1_cnas90b","score_hidden":false}
{"subreddit":"Games","parent_id":"t1_cnas5ud","retrieved_on":1425124282,"ups":1,"author_flair_css_class":null,"gilded":0,"author_flair_text":null,"controversiality":0,"subreddit_id":"t5_2qhwp","edited":false,"score_hidden":false,"link_id":"t3_2qxl90","name":"t1_cnas90c","downs":0,"created_utc":"1420070401","body":"If you enjoy deep, 100 hour RPGs, then definitely worth the money.","distinguished":null,"id":"cnas90c","archived":false,"score":1,"author":"Crodface"}
{"score_hidden":false,"name":"t1_cnas90d","link_id":"t3_2qy6z1","body":"[deleted]","downs":0,"created_utc":"1420070401","author":"[deleted]","score":1,"archived":false,"distinguished":null,"id":"cnas90d","parent_id":"t1_cnaqtxv","subreddit":"BBW","gilded":0,"author_flair_text":null,"author_flair_css_class":null,"ups":1,"retrieved_on":1425124282,"subreddit_id":"t5_2qrqw","edited":false,"controversiality":0}
{"subreddit":"knives","parent_id":"t1_cnaqs9i","ups":1,"retrieved_on":1425124282,"gilded":0,"author_flair_text":null,"author_flair_css_class":null,"edited":false,"subreddit_id":"t5_2qzyn","controversiality":0,"score_hidden":false,"link_id":"t3_2qy4jn","name":"t1_cnas90e","downs":0,"created_utc":"1420070401","body":"Haha awesome man I got it from my grandpa this Christmas as well.","archived":false,"distinguished":null,"id":"cnas90e","score":1,"author":"MadagascarDifficulty"}
{"id":"cnas90f","distinguished":null,"archived":false,"author":"FreeSoul789","score":3,"created_utc":"1420070401","downs":0,"body":"I completely agree. I've spent that long staring at it sober..","link_id":"t3_2qy171","name":"t1_cnas90f","score_hidden":false,"controversiality":0,"subreddit_id":"t5_2qhvj","edited":false,"retrieved_on":1425124282,"ups":3,"author_flair_css_class":null,"gilded":0,"author_flair_text":null,"subreddit":"LSD","parent_id":"t1_cnaqrew"}
{"score_hidden":false,"link_id":"t3_2qy21w","name":"t1_cnas90g","created_utc":"1420070401","downs":0,"body":">>If a woman wants to give up a child for adoption with a named father, she is unable to do so without the father's consent.\n\n>That is easy enough to do. Simply don't name the father.\n\nWomen are *only* not financially responsible *if* there is no named father. If the father isn't named, he's not on the hook for child support either, so *it doesn't matter*.\n\nYou're deliberately removing context and responding to sentences that go together to form an overall argument separately in a way that does not make sense. At this point you're being intentionally misleading to twist this into what you want it to be instead of actually participating in the spirit of the argument. ","archived":false,"id":"cnas90g","distinguished":null,"author":"dewprisms","score":17,"subreddit":"changemyview","parent_id":"t1_cnarzyw","retrieved_on":1425124282,"ups":17,"author_flair_text":"3\u2206","gilded":0,"author_flair_css_class":" points","edited":false,"subreddit_id":"t5_2w2s8","controversiality":0}
{"score_hidden":false,"link_id":"t3_2qxty0","name":"t1_cnas90h","created_utc":"1420070401","downs":0,"body":"I haven't. Still trying to get someone to commit. \n\nWhere are you located?","distinguished":null,"id":"cnas90h","archived":false,"score":1,"author":"TimDisaster","subreddit":"beertrade","parent_id":"t1_cnarxyo","retrieved_on":1425124282,"ups":1,"author_flair_css_class":"repLevel4","gilded":0,"author_flair_text":null,"controversiality":0,"subreddit_id":"t5_2rgco","edited":false}
{"parent_id":"t3_2qy7at","subreddit":"funny","gilded":0,"author_flair_text":null,"author_flair_css_class":null,"retrieved_on":1425124282,"ups":1,"subreddit_id":"t5_2qh33","edited":false,"controversiality":0,"score_hidden":false,"name":"t1_cnas90i","link_id":"t3_2qy7at","body":"Wheredugit?","downs":0,"created_utc":"1420070401","score":1,"author":"deephaven","archived":false,"distinguished":null,"id":"cnas90i"}
{"created_utc":"1420070401","downs":0,"body":"It's a religion that doesn't have a set in stone creed. so I'm assuming there's a few more.","archived":false,"distinguished":null,"id":"cnas90j","score":2,"author":"Vamking12","score_hidden":false,"link_id":"t3_2qy44e","name":"t1_cnas90j","retrieved_on":1425124282,"ups":2,"author_flair_text":"Pumpkin Pump/Pimp/Pie","gilded":0,"author_flair_css_class":"","edited":false,"subreddit_id":"t5_2vizz","controversiality":0,"subreddit":"TumblrInAction","parent_id":"t1_cnan3hv"}
{"controversiality":0,"subreddit_id":"t5_2t0xk","edited":false,"ups":2,"retrieved_on":1425124282,"author_flair_css_class":"","author_flair_text":"Lazlow","gilded":0,"subreddit":"GrandTheftAutoV","parent_id":"t3_2qx0qa","distinguished":null,"id":"cnas90k","archived":false,"score":2,"author":"marklar7","created_utc":"1420070401","downs":0,"body":"\"Hey Rocky, Watch me board this train.\" \n\"Again?\"\n\"Presto!\"","link_id":"t3_2qx0qa","name":"t1_cnas90k","score_hidden":false}
{"created_utc":"1420070401","downs":0,"body":"Roofers, the only people on a job site more savage than the rock people.","archived":false,"id":"cnas90l","distinguished":null,"score":2,"author":"Movepeck","score_hidden":false,"link_id":"t3_2qy8r4","name":"t1_cnas90l","retrieved_on":1425124282,"ups":2,"author_flair_text":null,"gilded":0,"author_flair_css_class":null,"subreddit_id":"t5_2qh1i","edited":false,"controversiality":0,"subreddit":"AskReddit","parent_id":"t1_cnaqrf6"}
{"name":"t1_cnas90m","link_id":"t3_2qx8kh","score_hidden":false,"author":"pregnanthollywood","score":-1,"archived":false,"id":"cnas90m","distinguished":null,"body":"You are a gentleman and a scholar... I don't know why this is such a fucking hard concept to understand for some people. The police are part of society, not above it.","created_utc":"1420070401","downs":0,"parent_id":"t1_cnarwqe","subreddit":"news","edited":false,"subreddit_id":"t5_2qh3l","controversiality":0,"author_flair_text":null,"gilded":0,"author_flair_css_class":null,"retrieved_on":1425124282,"ups":-1}
{"score_hidden":false,"link_id":"t3_2qxrkx","name":"t1_cnas90n","created_utc":"1420070401","downs":0,"body":"My math prof doesn't do rides, he says \"look at the people who put those rides together, theyre all stoned\"","distinguished":null,"id":"cnas90n","archived":false,"score":7,"author":"submaRED","subreddit":"WTF","parent_id":"t1_cnaly8u","ups":7,"retrieved_on":1425124282,"author_flair_css_class":null,"author_flair_text":null,"gilded":0,"controversiality":0,"subreddit_id":"t5_2qh61","edited":false}
{"score":1,"author":"CarpeAeonem","distinguished":null,"id":"cnas90o","archived":false,"body":"Agreed! You should get it while it's on sale. ","created_utc":"1420070401","downs":0,"name":"t1_cnas90o","link_id":"t3_2q8qx6","score_hidden":false,"controversiality":0,"subreddit_id":"t5_2vs7z","edited":false,"author_flair_css_class":"stagsilhouette","author_flair_text":"","gilded":0,"retrieved_on":1425124282,"ups":1,"parent_id":"t1_cnas1x6","subreddit":"HannibalTV"}
{"controversiality":0,"edited":false,"subreddit_id":"t5_2qh0u","ups":1,"retrieved_on":1425124282,"author_flair_css_class":null,"gilded":0,"author_flair_text":null,"subreddit":"pics","parent_id":"t3_2qxggo","id":"cnas90p","distinguished":null,"archived":false,"score":1,"author":"asdjfweaiv","created_utc":"1420070401","downs":0,"body":"Tumblr is leaking again.","link_id":"t3_2qxggo","name":"t1_cnas90p","score_hidden":false}
{"archived":false,"id":"cnas90q","distinguished":null,"score":0,"author":"uncannylizard","created_utc":"1420070401","downs":0,"body":"The vast majority of countries in the world recognize the state of Palestine btw, in addition to the state of Israel.","link_id":"t3_2qxiaz","name":"t1_cnas90q","score_hidden":false,"edited":false,"subreddit_id":"t5_2qh13","controversiality":0,"ups":0,"retrieved_on":1425124282,"gilded":0,"author_flair_text":null,"author_flair_css_class":null,"subreddit":"worldnews","parent_id":"t1_cnahbvw"}
{"link_id":"t3_2qyn3p","name":"t1_cnas90r","score_hidden":false,"id":"cnas90r","distinguished":null,"archived":false,"author":"[deleted]","score":2,"created_utc":"1420070401","downs":0,"body":"[deleted]","subreddit":"Mustang","parent_id":"t3_2qyn3p","controversiality":0,"edited":false,"subreddit_id":"t5_2qqel","ups":2,"retrieved_on":1425124282,"author_flair_css_class":null,"author_flair_text":null,"gilded":0}
{"score_hidden":false,"link_id":"t3_2qy0eu","name":"t1_cnas90s","created_utc":"1420070402","downs":0,"body":"Thank you, I certainly am!","distinguished":null,"id":"cnas90s","archived":false,"author":"gingerguitarx92x","score":2,"subreddit":"guitarpedals","parent_id":"t1_cnaq8ts","retrieved_on":1425124282,"ups":2,"author_flair_css_class":null,"gilded":0,"author_flair_text":null,"controversiality":0,"subreddit_id":"t5_2r0bp","edited":false}
{"name":"t1_cnas90t","link_id":"t3_2qxm8n","score_hidden":false,"score":1,"author":"billj457","distinguished":null,"id":"cnas90t","archived":false,"body":"Chappelle: https://www.youtube.com/watch?v=4B93BoC9ylg","created_utc":"1420070402","downs":0,"parent_id":"t1_cnaiag9","subreddit":"BMW","controversiality":0,"edited":false,"subreddit_id":"t5_2qn3a","author_flair_css_class":"","author_flair_text":"2009 E90 335xi 6MT","gilded":0,"ups":1,"retrieved_on":1425124282}
{"subreddit":"movies","parent_id":"t3_2qyjda","controversiality":0,"subreddit_id":"t5_2qh3s","edited":false,"retrieved_on":1425124282,"ups":1,"author_flair_css_class":null,"author_flair_text":null,"gilded":0,"link_id":"t3_2qyjda","name":"t1_cnas90u","score_hidden":false,"distinguished":null,"id":"cnas90u","archived":false,"author":"kylionsfan","score":1,"created_utc":"1420070402","downs":0,"body":"Goonies"}
{"link_id":"t3_2e7eti","name":"t1_cnas90v","score_hidden":false,"archived":false,"id":"cnas90v","distinguished":null,"score":1,"author":"[deleted]","created_utc":"1420070402","downs":0,"body":"[deleted]","subreddit":"Games","parent_id":"t1_cnark1x","edited":false,"subreddit_id":"t5_2qhwp","controversiality":0,"retrieved_on":1425124282,"ups":1,"gilded":0,"author_flair_text":null,"author_flair_css_class":null}
{"subreddit_id":"t5_2stl8","edited":false,"controversiality":0,"ups":1,"retrieved_on":1425124282,"author_flair_text":"Developer of the /r/SRGG","gilded":0,"author_flair_css_class":"ao-kuang","subreddit":"Smite","parent_id":"t3_2qynia","archived":false,"distinguished":null,"id":"cnas90x","author":"MrRangerLP","score":1,"created_utc":"1420070402","downs":0,"body":"Finish my Masters grind for 1v1 Joust","link_id":"t3_2qynia","name":"t1_cnas90x","score_hidden":false}
{"subreddit":"BabyBumps","parent_id":"t3_2qxxgp","retrieved_on":1425124282,"ups":2,"gilded":0,"author_flair_text":null,"author_flair_css_class":null,"edited":false,"subreddit_id":"t5_2s7cl","controversiality":0,"score_hidden":false,"link_id":"t3_2qxxgp","name":"t1_cnas90y","created_utc":"1420070402","downs":0,"body":"I thought you wanted to name your baby Primrose. I was like, \"hmm, I don't hate it.\"","archived":false,"distinguished":null,"id":"cnas90y","author":"-purple-is-a-fruit-","score":2}
{"subreddit_id":"t5_2z5u0","edited":false,"controversiality":0,"ups":1,"retrieved_on":1425124282,"gilded":0,"author_flair_text":"Dirt | Sergei | Simetra | Sledge","author_flair_css_class":"","subreddit":"randomsuperpowers","parent_id":"t1_cnas75o","archived":false,"distinguished":null,"id":"cnas90z","author":"Mace55555","score":1,"downs":0,"created_utc":"1420070402","body":"[Slightly stronger than an RPG.]","link_id":"t3_2qs1ie","name":"t1_cnas90z","score_hidden":false}
{"subreddit":"funny","parent_id":"t3_2qxtg0","ups":1,"retrieved_on":1425124282,"gilded":0,"author_flair_text":null,"author_flair_css_class":null,"subreddit_id":"t5_2qh33","edited":false,"controversiality":0,"score_hidden":false,"link_id":"t3_2qxtg0","name":"t1_cnas910","created_utc":"1420070402","downs":0,"body":"[deleted]","archived":false,"distinguished":null,"id":"cnas910","score":1,"author":"[deleted]"}
{"author_flair_text":null,"gilded":0,"author_flair_css_class":null,"retrieved_on":1425124282,"ups":1,"edited":false,"subreddit_id":"t5_2qh1i","controversiality":0,"parent_id":"t3_2qys1t","subreddit":"AskReddit","body":"I don't know 100% why, but, for me, I delete comments if I was wrong about something. Like, if I misread a question and answered what I misread or I misinterpreted something. I'm not going to delete it just because I got 299\u2640489242049t4bit43\u2665 downvotes. ","created_utc":"1420070402","downs":0,"score":1,"author":"[deleted]","archived":false,"distinguished":null,"id":"cnas911","score_hidden":false,"name":"t1_cnas911","link_id":"t3_2qys1t"}
{"parent_id":"t1_cnajcvn","subreddit":"devils","author_flair_text":"#11 - Pain Train Gionta","gilded":0,"author_flair_css_class":"Home11","ups":3,"retrieved_on":1425124282,"subreddit_id":"t5_2roo0","edited":false,"controversiality":0,"score_hidden":false,"name":"t1_cnas912","link_id":"t3_2qxx2l","body":"I'll try to find a good pair at my NYE party. Will report back. ","downs":0,"created_utc":"1420070402","author":"GreasyBastard_","score":3,"archived":false,"distinguished":null,"id":"cnas912"}
{"gilded":0,"author_flair_text":"RCUS, yo","author_flair_css_class":"","retrieved_on":1425124282,"ups":2,"subreddit_id":"t5_2riuy","edited":false,"controversiality":0,"parent_id":"t3_2qyqhj","subreddit":"Reformed","body":"I love it. Okay, based upon point (6), is it right for a Christian to say, \"it is not me doing the sin, but sin in me\" [Romans 7:17]? Or is the passage saying something quite different than what Ryle understands it to mean?","created_utc":"1420070402","downs":0,"author":"BSMason","score":2,"archived":false,"id":"cnas913","distinguished":null,"score_hidden":false,"name":"t1_cnas913","link_id":"t3_2qyqhj"}
{"created_utc":"1420070402","downs":0,"body":"I like this idea, though just to confirm though technically if 6 bosses dropped loot you needed but lost, does that mean you get 24 counter points?\n\nIf you lose even using counters, does that mean its lost for the duration of the raid? Like\n\nKargath drops something you need, lose loot, get +4 on roll, butcher drops weapon, you still lose, does the counter apply or would you get +8 for the next boss as you still lost?","distinguished":null,"id":"cnas914","archived":false,"author":"Deftest366","score":1,"score_hidden":false,"link_id":"t3_2qylyq","name":"t1_cnas914","ups":1,"retrieved_on":1425124282,"author_flair_css_class":"horde-paladin","author_flair_text":"","gilded":0,"controversiality":0,"subreddit_id":"t5_2qio8","edited":false,"subreddit":"wow","parent_id":"t3_2qylyq"}
{"ups":4,"retrieved_on":1425124282,"author_flair_text":null,"gilded":0,"author_flair_css_class":null,"edited":false,"subreddit_id":"t5_2v4ay","controversiality":0,"subreddit":"Stacked","parent_id":"t3_2qxyqy","created_utc":"1420070402","downs":0,"body":"Yes.","archived":false,"distinguished":null,"id":"cnas915","score":4,"author":"amolad","score_hidden":false,"link_id":"t3_2qxyqy","name":"t1_cnas915"}
{"parent_id":"t3_2qx5c4","subreddit":"Android","edited":false,"subreddit_id":"t5_2qlqh","controversiality":0,"gilded":0,"author_flair_text":"Nexus 5 CM12","author_flair_css_class":"userGray","ups":0,"retrieved_on":1425124282,"name":"t1_cnas916","link_id":"t3_2qx5c4","score_hidden":false,"author":"Tropiux","score":0,"archived":false,"id":"cnas916","distinguished":null,"body":"I just wish Google dropped support for Android < 4.0 already. ","created_utc":"1420070402","downs":0}
{"link_id":"t3_2qxpv2","name":"t1_cnas917","score_hidden":false,"id":"cnas917","distinguished":null,"archived":false,"score":2,"author":"flufgun","created_utc":"1420070402","downs":0,"body":"[](/hellohuman)MS paint plagiarism is best plagiarism!","subreddit":"MLPLounge","parent_id":"t1_cnak0cy","controversiality":0,"edited":false,"subreddit_id":"t5_2t403","ups":2,"retrieved_on":1425124282,"author_flair_css_class":"lyra","gilded":0,"author_flair_text":"Lyra"}
{"parent_id":"t1_cnarr0q","subreddit":"falcons","subreddit_id":"t5_2ql17","edited":false,"controversiality":0,"author_flair_text":null,"gilded":0,"author_flair_css_class":null,"retrieved_on":1425124282,"ups":3,"name":"t1_cnas918","link_id":"t3_2qy1f3","score_hidden":false,"author":"ATL84","score":3,"archived":false,"id":"cnas918","distinguished":null,"body":"Haha guilty. But I've heard some people say they weren't thrilled about guys like McDaniels and Del Rio as well. Won't pass judgement until I see how this all plays out","created_utc":"1420070402","downs":0}
{"subreddit_id":"t5_2ty3s","edited":false,"controversiality":0,"ups":1,"retrieved_on":1425124282,"gilded":0,"author_flair_text":null,"author_flair_css_class":null,"subreddit":"dayz","parent_id":"t3_2qylol","archived":false,"distinguished":null,"id":"cnas919","score":1,"author":"Arnasx","created_utc":"1420070403","downs":0,"body":"Unfortunately at this time of point you can have the best CPU, GPU available to buy and you still would not get 30 FPS in Cities. The game is only optimized for specific CPU's and GPU's that the developers use.","link_id":"t3_2qylol","name":"t1_cnas919","score_hidden":false}
{"body":"Have You Tried Turning It Off And On Again?","downs":0,"created_utc":"1420070403","author":"A_french_chinese_man","score":1,"id":"cnas91a","distinguished":null,"archived":false,"score_hidden":false,"name":"t1_cnas91a","link_id":"t3_2qxfa5","author_flair_css_class":null,"gilded":0,"author_flair_text":null,"retrieved_on":1425124282,"ups":1,"controversiality":0,"edited":false,"subreddit_id":"t5_2qh1i","parent_id":"t3_2qxfa5","subreddit":"AskReddit"}
{"retrieved_on":1425124282,"ups":1,"author_flair_css_class":null,"gilded":0,"author_flair_text":null,"controversiality":0,"edited":1420071816,"subreddit_id":"t5_2qh1i","subreddit":"AskReddit","parent_id":"t3_2qykcw","downs":0,"created_utc":"1420070403","body":"My Great to the power of 6 ..or 7 grandfather came over here from Germany around 1776. On the ship ride over his mother dies. \n\nTwo weeks off the boat his father dies. He was only around 9 years old. \n\nHe then was sold as an \"indigent servant\" he earned his independence by fighting in the revolutionary war. \n\nHe moved from ohio to near Pittsburgh, lived to be 101 years old. ","id":"cnas91b","distinguished":null,"archived":false,"author":"TomHanksDied","score":1,"score_hidden":false,"link_id":"t3_2qykcw","name":"t1_cnas91b"}
{"edited":false,"subreddit_id":"t5_2qhr3","controversiality":0,"retrieved_on":1425124282,"ups":1,"gilded":0,"author_flair_text":"2001 Pontiac Firebird","author_flair_css_class":"","subreddit":"Autos","parent_id":"t3_2qjwg1","archived":false,"id":"cnas91c","distinguished":null,"author":"blazefalcon","score":1,"created_utc":"1420070403","downs":0,"body":"Dodge Rampage, pretty much any pre-80s Japanese cars, original VW Scirocco, Porsche 928, clean old Beetles, any Nissan Z series but that's more understandable. \n\nOh, and FJ Cruisers. They're just neat. ","link_id":"t3_2qjwg1","name":"t1_cnas91c","score_hidden":false}
{"author_flair_text":"Gustav1985","gilded":0,"author_flair_css_class":"cmdr","ups":1,"retrieved_on":1425124282,"edited":false,"subreddit_id":"t5_2vi60","controversiality":0,"parent_id":"t3_2qynaq","subreddit":"EliteDangerous","body":"I had one to kill pirates in an unclaimed system so when I was there all I had to do wall drop in to USS and if I wasn't attacked I would scan the ships there and if they came up with no sub faction I shot them add it counted. ","created_utc":"1420070403","downs":0,"score":1,"author":"Gustav55","archived":false,"id":"cnas91d","distinguished":null,"score_hidden":false,"name":"t1_cnas91d","link_id":"t3_2qynaq"}
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32382/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32382/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32383
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32383/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32383/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32383/events
|
https://github.com/pandas-dev/pandas/issues/32383
| 573,523,736
|
MDU6SXNzdWU1NzM1MjM3MzY=
| 32,383
|
pd.read_json() leads to a segmentation fault
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/29821823?v=4",
"events_url": "https://api.github.com/users/gambingo/events{/privacy}",
"followers_url": "https://api.github.com/users/gambingo/followers",
"following_url": "https://api.github.com/users/gambingo/following{/other_user}",
"gists_url": "https://api.github.com/users/gambingo/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/gambingo",
"id": 29821823,
"login": "gambingo",
"node_id": "MDQ6VXNlcjI5ODIxODIz",
"organizations_url": "https://api.github.com/users/gambingo/orgs",
"received_events_url": "https://api.github.com/users/gambingo/received_events",
"repos_url": "https://api.github.com/users/gambingo/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/gambingo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gambingo/subscriptions",
"type": "User",
"url": "https://api.github.com/users/gambingo"
}
|
[
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 7
| 2020-03-01T10:37:30Z
| 2020-04-12T21:50:14Z
| 2020-04-12T21:50:14Z
|
NONE
| null |
#### Code Sample
The following code leads to either a segmentation fault or a bus error:
```python
def load_dataframe(name):
...
df_json = db.dataframes.find_one({"_id": name})["df"]
df = pd.read_json(df_json)
return df
```
But the following workaround fixes it:
```python
def load_dataframe(name):
...
df_json = db.dataframes.find_one({"_id": name})["df"]
df = pd.DataFrame().from_dict(json.loads(df_json))
return df
```
#### Problem description
I am storing several jsonified dataframes in MongoDB. Trying to go straight from the json to the dataframe leads to either a segmentation fault or a bus error. I am storying several dataframes, but confusingly it only happens with one dataframe and not the others. The problem dataframe is identical in nature to other dataframes (same column names and data types). Unfortunately, it's not shareable but happy to answer any questions I can.
#### Output of ``pd.show_versions()``
Note: I am using the latest pandas, 1.0.1. I downgraded to pandas 0.25.3 and had the same issue.
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.0.final.0
python-bits : 64
OS : Darwin
OS-release : 17.7.0
machine : x86_64
processor : i386
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.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 : 2.11.1
IPython : 7.11.1
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32383/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32383/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32384
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32384/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32384/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32384/events
|
https://github.com/pandas-dev/pandas/issues/32384
| 573,547,595
|
MDU6SXNzdWU1NzM1NDc1OTU=
| 32,384
|
`DataFrame.groupby.apply` keeps group-by column in values
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"events_url": "https://api.github.com/users/MarcoGorelli/events{/privacy}",
"followers_url": "https://api.github.com/users/MarcoGorelli/followers",
"following_url": "https://api.github.com/users/MarcoGorelli/following{/other_user}",
"gists_url": "https://api.github.com/users/MarcoGorelli/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/MarcoGorelli",
"id": 33491632,
"login": "MarcoGorelli",
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"organizations_url": "https://api.github.com/users/MarcoGorelli/orgs",
"received_events_url": "https://api.github.com/users/MarcoGorelli/received_events",
"repos_url": "https://api.github.com/users/MarcoGorelli/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/MarcoGorelli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MarcoGorelli/subscriptions",
"type": "User",
"url": "https://api.github.com/users/MarcoGorelli"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-03-01T13:32:12Z
| 2020-03-01T14:58:47Z
| 2020-03-01T14:58:47Z
|
MEMBER
| null |
#### Code Sample, a copy-pastable example if possible
```python
>>> import pandas as pd
>>> df = pd.DataFrame({'d': [1.0, 1.0, 1.0, 2.0, 2.0, 2.0], 'v': [1.0, 2.0, 3.0, 4.0, 5.0, 6.0]})
>>> df.groupby('d').sum()
v
d
1.0 6.0
2.0 15.0
>>> df.groupby('d').apply(sum)
d v
d
1.0 3.0 6.0
2.0 6.0 15.0
```
#### Problem description
[this should explain **why** the current behaviour is a problem and why the expected output is a better solution.]
**Note**: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates!
**Note**: Many problems can be resolved by simply upgrading `pandas` to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if `master` addresses this issue, but that is not necessary.
For documentation-related issues, you can check the latest versions of the docs on `master` here:
https://pandas-docs.github.io/pandas-docs-travis/
If the issue has not been resolved there, go ahead and file it in the issue tracker.
#### Expected Output
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : e6ead5587fce2df844bbe568b63a150c47954fdd
python : 3.7.6.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-88-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_GB.UTF-8
LOCALE : en_GB.UTF-8
pandas : 0.26.0.dev0+2391.ge6ead5587.dirty
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.1.0.post20200119
Cython : 0.29.14
pytest : 5.3.5
hypothesis : 5.5.1
sphinx : 2.3.1
blosc : None
feather : None
xlsxwriter : 1.2.7
lxml.etree : 4.5.0
html5lib : 1.0.1
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.12.0
pandas_datareader: None
bs4 : 4.8.2
bottleneck : 1.3.1
fastparquet : 0.3.3
gcsfs : None
lxml.etree : 4.5.0
matplotlib : 3.1.3
numexpr : 2.7.1
odfpy : None
openpyxl : 3.0.1
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
pytest : 5.3.5
pyxlsb : None
s3fs : 0.4.0
scipy : 1.4.1
sqlalchemy : 1.3.13
tables : 3.6.1
tabulate : 0.8.6
xarray : 0.15.0
xlrd : 1.2.0
xlwt : 1.3.0
xlsxwriter : 1.2.7
numba : 0.48.0
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32384/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32384/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32385
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32385/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32385/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32385/events
|
https://github.com/pandas-dev/pandas/issues/32385
| 573,568,794
|
MDU6SXNzdWU1NzM1Njg3OTQ=
| 32,385
|
BUG: Rolling functions doesn't work on decreasing variable index
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1970226?v=4",
"events_url": "https://api.github.com/users/leftys/events{/privacy}",
"followers_url": "https://api.github.com/users/leftys/followers",
"following_url": "https://api.github.com/users/leftys/following{/other_user}",
"gists_url": "https://api.github.com/users/leftys/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/leftys",
"id": 1970226,
"login": "leftys",
"node_id": "MDQ6VXNlcjE5NzAyMjY=",
"organizations_url": "https://api.github.com/users/leftys/orgs",
"received_events_url": "https://api.github.com/users/leftys/received_events",
"repos_url": "https://api.github.com/users/leftys/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/leftys/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leftys/subscriptions",
"type": "User",
"url": "https://api.github.com/users/leftys"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
}
| 1
| 2020-03-01T15:48:28Z
| 2020-03-11T01:51:04Z
| 2020-03-11T01:51:04Z
|
CONTRIBUTOR
| null |
#### Code Sample
```python
def test_rolling_on_decreasing_index(self):
# GH-19248
index = [
Timestamp("20190101 09:00:00"),
Timestamp("20190101 09:00:02"),
Timestamp("20190101 09:00:03"),
Timestamp("20190101 09:00:05"),
Timestamp("20190101 09:00:06"),
]
df = DataFrame({"column": [3, 4, 4, 2, 1]}, index=reversed(index))
result = df.rolling("2s").min()
expected = DataFrame(
{"column": [3.0, 4.0, 4.0, 2.0, 1.0]}, index=reversed(index)
)
# actual incorrect output is [3, 3, 3, 2, 1]
tm.assert_frame_equal(result, expected)
```
#### Problem description
Rolling window operations on variable decreasing index don't work even after https://github.com/pandas-dev/pandas/pull/28297. The reason for this is that the `calculate_variable_window_bounds` function doesn't work with decreasing index. Tested with latest master (~version 1.0.1).
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32385/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32385/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32386
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32386/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32386/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32386/events
|
https://github.com/pandas-dev/pandas/pull/32386
| 573,569,424
|
MDExOlB1bGxSZXF1ZXN0MzgyMDYwNzM3
| 32,386
|
BUG: Fix rolling functions with variable windows on decreasing index
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1970226?v=4",
"events_url": "https://api.github.com/users/leftys/events{/privacy}",
"followers_url": "https://api.github.com/users/leftys/followers",
"following_url": "https://api.github.com/users/leftys/following{/other_user}",
"gists_url": "https://api.github.com/users/leftys/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/leftys",
"id": 1970226,
"login": "leftys",
"node_id": "MDQ6VXNlcjE5NzAyMjY=",
"organizations_url": "https://api.github.com/users/leftys/orgs",
"received_events_url": "https://api.github.com/users/leftys/received_events",
"repos_url": "https://api.github.com/users/leftys/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/leftys/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leftys/subscriptions",
"type": "User",
"url": "https://api.github.com/users/leftys"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "d4c5f9",
"default": false,
"description": "rolling, ewma, expanding",
"id": 1045950827,
"name": "Window",
"node_id": "MDU6TGFiZWwxMDQ1OTUwODI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Window"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
}
| 6
| 2020-03-01T15:52:32Z
| 2020-03-11T01:54:20Z
| 2020-03-11T01:51:04Z
|
CONTRIBUTOR
| null |
- [x] Closes https://github.com/pandas-dev/pandas/issues/32385
- [x] tests updated & 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/32386/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32386/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32386.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32386",
"merged_at": "2020-03-11T01:51:03Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32386.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32386"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32387
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32387/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32387/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32387/events
|
https://github.com/pandas-dev/pandas/pull/32387
| 573,589,376
|
MDExOlB1bGxSZXF1ZXN0MzgyMDc1Mzk0
| 32,387
|
Plotting Int64 columns with nulled integers (NAType) fails #32073
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2225536?v=4",
"events_url": "https://api.github.com/users/jeandersonbc/events{/privacy}",
"followers_url": "https://api.github.com/users/jeandersonbc/followers",
"following_url": "https://api.github.com/users/jeandersonbc/following{/other_user}",
"gists_url": "https://api.github.com/users/jeandersonbc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jeandersonbc",
"id": 2225536,
"login": "jeandersonbc",
"node_id": "MDQ6VXNlcjIyMjU1MzY=",
"organizations_url": "https://api.github.com/users/jeandersonbc/orgs",
"received_events_url": "https://api.github.com/users/jeandersonbc/received_events",
"repos_url": "https://api.github.com/users/jeandersonbc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jeandersonbc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jeandersonbc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jeandersonbc"
}
|
[] |
closed
| false
| null |
[] | null | 3
| 2020-03-01T18:08:35Z
| 2020-03-03T10:48:21Z
| 2020-03-03T10:48:21Z
|
CONTRIBUTOR
| null |
- [x] closes #32073
- [ ] 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/32387/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32387/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32387.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32387",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32387.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32387"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32388
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32388/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32388/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32388/events
|
https://github.com/pandas-dev/pandas/pull/32388
| 573,601,277
|
MDExOlB1bGxSZXF1ZXN0MzgyMDg0Mjg3
| 32,388
|
Create CITATION.md
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/29508965?v=4",
"events_url": "https://api.github.com/users/ivalaginja/events{/privacy}",
"followers_url": "https://api.github.com/users/ivalaginja/followers",
"following_url": "https://api.github.com/users/ivalaginja/following{/other_user}",
"gists_url": "https://api.github.com/users/ivalaginja/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ivalaginja",
"id": 29508965,
"login": "ivalaginja",
"node_id": "MDQ6VXNlcjI5NTA4OTY1",
"organizations_url": "https://api.github.com/users/ivalaginja/orgs",
"received_events_url": "https://api.github.com/users/ivalaginja/received_events",
"repos_url": "https://api.github.com/users/ivalaginja/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ivalaginja/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ivalaginja/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ivalaginja"
}
|
[
{
"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 | 7
| 2020-03-01T19:29:10Z
| 2020-03-31T17:39:44Z
| 2020-03-31T17:39:44Z
|
CONTRIBUTOR
| null |
Addresses #24036 by adding a `CITATION.md` file to the repository.
I copied the citation instructions from here: https://pandas.io/about/citing.html
and added a section for the published software on Zenodo. Following [this recommendation](https://github.com/sherpa/sherpa/pull/634#issuecomment-553668211), I did this for the latest released version (v1.0.1) with a note for the user to go fetch the citation from Zenodo for the version they are actually using.
Tagging @TomAugspurger and @jreback since you were active in the linked issue.
I still recommend to update the citation request on the pandas website directly (https://pandas.io/about/citing.html), as well as on the Scipy website (https://www.scipy.org/citing.html#pandas), on https://pandas.pydata.org/ and maybe provide a `<package>.__citation__` variable as suggested [here](https://github.com/pandas-dev/pandas/issues/24036#issuecomment-585672595).
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32388/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32388/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32388.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32388",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32388.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32388"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32389
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32389/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32389/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32389/events
|
https://github.com/pandas-dev/pandas/pull/32389
| 573,769,857
|
MDExOlB1bGxSZXF1ZXN0MzgyMjE3MzIy
| 32,389
|
DOC: Reorganize Getting Started documentation pages
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10647082?v=4",
"events_url": "https://api.github.com/users/mroeschke/events{/privacy}",
"followers_url": "https://api.github.com/users/mroeschke/followers",
"following_url": "https://api.github.com/users/mroeschke/following{/other_user}",
"gists_url": "https://api.github.com/users/mroeschke/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/mroeschke",
"id": 10647082,
"login": "mroeschke",
"node_id": "MDQ6VXNlcjEwNjQ3MDgy",
"organizations_url": "https://api.github.com/users/mroeschke/orgs",
"received_events_url": "https://api.github.com/users/mroeschke/received_events",
"repos_url": "https://api.github.com/users/mroeschke/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/mroeschke/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mroeschke/subscriptions",
"type": "User",
"url": "https://api.github.com/users/mroeschke"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 7
| 2020-03-02T07:24:43Z
| 2020-03-11T22:22:19Z
| 2020-03-11T22:15:22Z
|
MEMBER
| null |
- [x] closes #32308
Issue Related:
- `getting_started/index.html` removes `10 minutes to pandas`, `Essential basic functionality` and `Intro to data structures` from the toctree and moves them as links in `user_guide/index.html`
- `getting_started/tutorials.html` now only references community tutorials
- the pandas cheatsheet is now referenced at the bottom `Tutorial` section of `getting_started/index.html`
Misc:
- Lowercases `Pandas` to `pandas`
- Some rephrasing
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32389/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32389/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32389.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32389",
"merged_at": "2020-03-11T22:15:21Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32389.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32389"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32390
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32390/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32390/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32390/events
|
https://github.com/pandas-dev/pandas/issues/32390
| 573,813,905
|
MDU6SXNzdWU1NzM4MTM5MDU=
| 32,390
|
hdf5 loading performance issue for non-sorted data in pandas 1.0.1
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10853125?v=4",
"events_url": "https://api.github.com/users/leo4183/events{/privacy}",
"followers_url": "https://api.github.com/users/leo4183/followers",
"following_url": "https://api.github.com/users/leo4183/following{/other_user}",
"gists_url": "https://api.github.com/users/leo4183/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/leo4183",
"id": 10853125,
"login": "leo4183",
"node_id": "MDQ6VXNlcjEwODUzMTI1",
"organizations_url": "https://api.github.com/users/leo4183/orgs",
"received_events_url": "https://api.github.com/users/leo4183/received_events",
"repos_url": "https://api.github.com/users/leo4183/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/leo4183/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leo4183/subscriptions",
"type": "User",
"url": "https://api.github.com/users/leo4183"
}
|
[
{
"color": "a10c02",
"default": false,
"description": "Memory or execution speed performance",
"id": 8935311,
"name": "Performance",
"node_id": "MDU6TGFiZWw4OTM1MzEx",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Performance"
},
{
"color": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
] |
open
| false
| null |
[] | null | 4
| 2020-03-02T08:53:47Z
| 2020-03-05T17:15:45Z
| null |
NONE
| null |
#### Problem Description
compared to the legacy pandas 0.2x.x, the most recent 1.0.1 version doesnt perform well in HDF5 file loading unless the conditioned column was sorted beforehand
```python
import os
import numpy as np
import pandas as pd
row = 6000
col = 2
start_date = '20000101'
freq = 'B'
ind = pd.date_range(start_date,periods=row,freq=freq)
a = pd.DataFrame(np.random.rand(row*col).reshape((row,-1)),index=ind)
a = a.reset_index(drop=False)
a.columns = ['date','x','y']
a = pd.concat([a]*2000)
a.sort_values('y').to_hdf(os.path.join(os.path.expanduser('~'),'hdf_test.h5'),key='df',data_columns=True,format='table')
a.sort_values('date').to_hdf(os.path.join(os.path.expanduser('~'),'hdf_test_sorted.h5'),key='df',data_columns=True,format='table')
# significantly slower in pandas 1.0.1 (this is not an issue in pandas 0.2x.x)
store = pd.HDFStore(os.path.join(os.path.expanduser('~'),'hdf_test.h5'),mode='r')
result = store.select('df',where="{0}>=20150101 & {0}<=20160730".format('date'),)
store.close()
# as fast as pandas 0.2x.x if data was sorted on the 'term' column
store = pd.HDFStore(os.path.join(os.path.expanduser('~'),'hdf_test_sorted.h5'),mode='r')
result = store.select('df',where="{0}>=20150101 & {0}<=20160730".format('date'),)
store.close()
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32390/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32390/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32391
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32391/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32391/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32391/events
|
https://github.com/pandas-dev/pandas/issues/32391
| 573,832,411
|
MDU6SXNzdWU1NzM4MzI0MTE=
| 32,391
|
> Not sure this is even supported by gcsfs - I don't see `encoding` as an available option there:
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6692352?v=4",
"events_url": "https://api.github.com/users/EgorBEremeev/events{/privacy}",
"followers_url": "https://api.github.com/users/EgorBEremeev/followers",
"following_url": "https://api.github.com/users/EgorBEremeev/following{/other_user}",
"gists_url": "https://api.github.com/users/EgorBEremeev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/EgorBEremeev",
"id": 6692352,
"login": "EgorBEremeev",
"node_id": "MDQ6VXNlcjY2OTIzNTI=",
"organizations_url": "https://api.github.com/users/EgorBEremeev/orgs",
"received_events_url": "https://api.github.com/users/EgorBEremeev/received_events",
"repos_url": "https://api.github.com/users/EgorBEremeev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/EgorBEremeev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/EgorBEremeev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/EgorBEremeev"
}
|
[] |
closed
| false
| null |
[] | null | 1
| 2020-03-02T09:23:25Z
| 2020-03-02T09:25:27Z
| 2020-03-02T09:24:34Z
|
NONE
| null |
> Not sure this is even supported by gcsfs - I don't see `encoding` as an available option there:
>
> https://github.com/dask/gcsfs/blob/523eb65b3e7feb05f9c10ce84523d1058716fecf/gcsfs/core.py#L1133
>
> Might need to start upstream if wanted to make this possible
Hi, @WillAyd
In the current gcsf master `GCSFileSystem.open()` has been removed and `fsspec.AbstractFileSystem.open()` has works instead:
https://github.com/intake/filesystem_spec/blob/4c66e096d32dafe264e2d6707992ee6935685944/fsspec/spec.py#L717
where applying of passed `encoding` for the text reading\writing is now implemented:
```
if "b" not in mode:
mode = mode.replace("t", "") + "b"
text_kwargs = {
k: kwargs.pop(k)
for k in ["encoding", "errors", "newline"]
if k in kwargs
}
return io.TextIOWrapper(
self.open(path, mode, block_size, **kwargs), **text_kwargs
)
```
[Note also this issue from gcsfs](https://github.com/dask/gcsfs/issues/142)
So, it looks that in `pandas` ignoring of `encoding` parameter happens because in the `pandas.io.gcs.get_filepath_or_buffer` the mode = 'rb' is passed to call of `GCSFileSystem.open(filepath_or_buffer, mode)`
Tracing back to the moment of the first actual setting the `mode` parameter we have stop on this line:
`pandas.io.common.py`
```
def get_filepath_or_buffer(
filepath_or_buffer, encoding=None, compression=None, mode=None
)
```
It is so, because in the call of `get_filepath_or_buffer()` performed from here
https://github.com/pandas-dev/pandas/blob/29d6b0232aab9576afa896ff5bab0b994760495a/pandas/io/parsers.py#L430
we do not pass value of `mode` and default `mode=None` works.
As I could suggest for read_csv() we need pass `mode=r` and for to_csv() we need pass `mode=w` in the call of `get_filepath_or_buffer()`. But I'm not sure where it's better to implement this change.
_Originally posted by @EgorBEremeev in https://github.com/pandas-dev/pandas/issues/26124#issuecomment-593121783_
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32391/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32391/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32392
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32392/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32392/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32392/events
|
https://github.com/pandas-dev/pandas/issues/32392
| 573,839,788
|
MDU6SXNzdWU1NzM4Mzk3ODg=
| 32,392
|
read_csv from Google Cloud Storage ignores encoding
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/6692352?v=4",
"events_url": "https://api.github.com/users/EgorBEremeev/events{/privacy}",
"followers_url": "https://api.github.com/users/EgorBEremeev/followers",
"following_url": "https://api.github.com/users/EgorBEremeev/following{/other_user}",
"gists_url": "https://api.github.com/users/EgorBEremeev/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/EgorBEremeev",
"id": 6692352,
"login": "EgorBEremeev",
"node_id": "MDQ6VXNlcjY2OTIzNTI=",
"organizations_url": "https://api.github.com/users/EgorBEremeev/orgs",
"received_events_url": "https://api.github.com/users/EgorBEremeev/received_events",
"repos_url": "https://api.github.com/users/EgorBEremeev/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/EgorBEremeev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/EgorBEremeev/subscriptions",
"type": "User",
"url": "https://api.github.com/users/EgorBEremeev"
}
|
[
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-12-26T13:57:50Z",
"closed_issues": 1768,
"created_at": "2020-05-29T23:47:32Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.2.x",
"due_on": "2020-12-15T08:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/73",
"id": 5479819,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73/labels",
"node_id": "MDk6TWlsZXN0b25lNTQ3OTgxOQ==",
"number": 73,
"open_issues": 0,
"state": "closed",
"title": "1.2",
"updated_at": "2021-04-13T15:46:43Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/73"
}
| 3
| 2020-03-02T09:35:03Z
| 2020-09-03T03:06:19Z
| 2020-09-03T03:06:19Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
dataframe = pd.read_csv('gs://mybucket/my_file', encoding = 'cp1251')
```
#### Problem description
Reading csv files which have encoding other than utf-8, like cp1251, from the Google Cloud Storage fails with error:
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 0: invalid continuation byte
the stacktrace from the Google Cloud Function environment:
> Traceback (most recent call last):
> File "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 383, in run_background_function
> _function_handler.invoke_user_function(event_object)
> File "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 217, in invoke_user_function
> return call_user_function(request_or_event)
> File "/env/local/lib/python3.7/site-packages/google/cloud/functions/worker.py", line 214, in call_user_function
> event_context.Context(**request_or_event.context))
> File "/user_code/main.py", line 60, in load_csv_to_bq
> na_filter=False)
> File "/env/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 676, in parser_f
> return _read(filepath_or_buffer, kwds)
> File "/env/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 448, in _read
> parser = TextFileReader(fp_or_buf, **kwds)
> File "/env/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 880, in __init__
> self._make_engine(self.engine)
> File "/env/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 1114, in _make_engine
> self._engine = CParserWrapper(self.f, **self.options)
> File "/env/local/lib/python3.7/site-packages/pandas/io/parsers.py", line 1891, in __init__
> self._reader = parsers.TextReader(src, **kwds)
> File "pandas/_libs/parsers.pyx", line 529, in pandas._libs.parsers.TextReader.__cinit__
> File "pandas/_libs/parsers.pyx", line 748, in pandas._libs.parsers.TextReader._get_header
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 0: invalid continuation byte
It looks that in `pandas` ignoring of `encoding` parameter happens, because in the `pandas.io.gcs.get_filepath_or_buffer` the `mode = 'rb'` is passed to call of `GCSFileSystem.open(filepath_or_buffer, mode)`
Tracing back to the moment of the first actual setting the `mode` parameter we have stop on this line:
`pandas.io.common.py`
```
def get_filepath_or_buffer(
filepath_or_buffer, encoding=None, compression=None, mode=None
)
```
, because in the call of `get_filepath_or_buffer()` performed from here
https://github.com/pandas-dev/pandas/blob/29d6b0232aab9576afa896ff5bab0b994760495a/pandas/io/parsers.py#L430-L432
we do not pass value of `mode` and default `mode=None` works.
But in the current gcsf master `GCSFileSystem.open()` has been removed and `fsspec.AbstractFileSystem.open()` [has works instead](https://github.com/intake/filesystem_spec/blob/4c66e096d32dafe264e2d6707992ee6935685944/fsspec/spec.py#L717):
where applying of passed `encoding` for the **text reading\writing** is now implemented:
```
if "b" not in mode:
mode = mode.replace("t", "") + "b"
text_kwargs = {
k: kwargs.pop(k)
for k in ["encoding", "errors", "newline"]
if k in kwargs
}
return io.TextIOWrapper(
self.open(path, mode, block_size, **kwargs), **text_kwargs
)
```
#### Expected Output
The encoding value passed into pd.read_csv() is applyied while reading from GCS, csv files are read.
As I could suggest for read_csv() we need pass `mode=r` and for to_csv() (see #26124) we need pass `mode=w` in the call of `get_filepath_or_buffer()`. But I'm not sure where in code it's better to implement this change.
#### Output of ``pd.show_versions()``
<details>
[paste the output of ``pd.show_versions()`` here below this line]
INSTALLED VERSIONS
------------------
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Linux
OS-release : 4.4.0
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : None
LOCALE : en_US.UTF-8
pandas : 1.0.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.2.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.10
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : 0.6.0
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : 0.13.1
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32392/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32392/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32393
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32393/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32393/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32393/events
|
https://github.com/pandas-dev/pandas/pull/32393
| 573,920,169
|
MDExOlB1bGxSZXF1ZXN0MzgyMzM4OTIz
| 32,393
|
DOC: change link to contributing guide in README.md
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/13159005?v=4",
"events_url": "https://api.github.com/users/simonjayhawkins/events{/privacy}",
"followers_url": "https://api.github.com/users/simonjayhawkins/followers",
"following_url": "https://api.github.com/users/simonjayhawkins/following{/other_user}",
"gists_url": "https://api.github.com/users/simonjayhawkins/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/simonjayhawkins",
"id": 13159005,
"login": "simonjayhawkins",
"node_id": "MDQ6VXNlcjEzMTU5MDA1",
"organizations_url": "https://api.github.com/users/simonjayhawkins/orgs",
"received_events_url": "https://api.github.com/users/simonjayhawkins/received_events",
"repos_url": "https://api.github.com/users/simonjayhawkins/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/simonjayhawkins/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/simonjayhawkins/subscriptions",
"type": "User",
"url": "https://api.github.com/users/simonjayhawkins"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-03-02T11:47:08Z
| 2020-04-13T14:39:34Z
| 2020-04-08T10:32:14Z
|
MEMBER
| null |
xref https://github.com/pandas-dev/pandas/pull/32068#issuecomment-593362224
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32393/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32393/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32393.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32393",
"merged_at": "2020-04-08T10:32:14Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32393.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32393"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32394
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32394/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32394/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32394/events
|
https://github.com/pandas-dev/pandas/issues/32394
| 574,025,812
|
MDU6SXNzdWU1NzQwMjU4MTI=
| 32,394
|
pd.to_numeric(..., errors="coerce") failing silently when strings contain "uint64"
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/190342?v=4",
"events_url": "https://api.github.com/users/buhrmann/events{/privacy}",
"followers_url": "https://api.github.com/users/buhrmann/followers",
"following_url": "https://api.github.com/users/buhrmann/following{/other_user}",
"gists_url": "https://api.github.com/users/buhrmann/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/buhrmann",
"id": 190342,
"login": "buhrmann",
"node_id": "MDQ6VXNlcjE5MDM0Mg==",
"organizations_url": "https://api.github.com/users/buhrmann/orgs",
"received_events_url": "https://api.github.com/users/buhrmann/received_events",
"repos_url": "https://api.github.com/users/buhrmann/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/buhrmann/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/buhrmann/subscriptions",
"type": "User",
"url": "https://api.github.com/users/buhrmann"
}
|
[
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10944368?v=4",
"events_url": "https://api.github.com/users/roberthdevries/events{/privacy}",
"followers_url": "https://api.github.com/users/roberthdevries/followers",
"following_url": "https://api.github.com/users/roberthdevries/following{/other_user}",
"gists_url": "https://api.github.com/users/roberthdevries/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/roberthdevries",
"id": 10944368,
"login": "roberthdevries",
"node_id": "MDQ6VXNlcjEwOTQ0MzY4",
"organizations_url": "https://api.github.com/users/roberthdevries/orgs",
"received_events_url": "https://api.github.com/users/roberthdevries/received_events",
"repos_url": "https://api.github.com/users/roberthdevries/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/roberthdevries/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/roberthdevries/subscriptions",
"type": "User",
"url": "https://api.github.com/users/roberthdevries"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/10944368?v=4",
"events_url": "https://api.github.com/users/roberthdevries/events{/privacy}",
"followers_url": "https://api.github.com/users/roberthdevries/followers",
"following_url": "https://api.github.com/users/roberthdevries/following{/other_user}",
"gists_url": "https://api.github.com/users/roberthdevries/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/roberthdevries",
"id": 10944368,
"login": "roberthdevries",
"node_id": "MDQ6VXNlcjEwOTQ0MzY4",
"organizations_url": "https://api.github.com/users/roberthdevries/orgs",
"received_events_url": "https://api.github.com/users/roberthdevries/received_events",
"repos_url": "https://api.github.com/users/roberthdevries/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/roberthdevries/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/roberthdevries/subscriptions",
"type": "User",
"url": "https://api.github.com/users/roberthdevries"
}
] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-03-02T14:49:11Z
| 2020-03-15T00:38:58Z
| 2020-03-15T00:38:58Z
|
NONE
| null |
#### Problem description
When trying to coerce strings to numeric values using `to_numeric()`, the occurrence of the substring "uint64" (but not any other dtype-like substring it seems) leads to silent failure to coerce.
```python
strs = ["32", "64", "uint32", "float64", "sdnfonsdf uint32 knsdf", "sdnfonsdf uint64 knsdf", "uint64"]
print([pd.to_numeric(s, errors="coerce") for s in strs])
pd.to_numeric(pd.Series(["32", "64", "uint64"]), errors="coerce")
```
```bash
[32, 64, nan, nan, nan, 'sdnfonsdf uint64 knsdf', 'uint64']
0 32
1 64
2 uint64
dtype: object
```
#### Expected Output
```bash
[32, 64, nan, nan, nan, nan, nan]
0 32.0
1 64.0
2 NaN
dtype: float64
```
Seems to fail equally in 0.25.3 and 1.0...
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
pandas : 0.25.3
numpy : 1.17.3
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.1.0.post20200119
Cython : None
pytest : 5.3.4
hypothesis : None
sphinx : 2.3.1
blosc : None
feather : None
xlsxwriter : None
lxml.etree : 4.4.1
html5lib : None
pymysql : 0.9.3
psycopg2 : 2.8.4 (dt dec pq3 ext lo64)
jinja2 : 2.10.3
IPython : 7.11.1
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : 4.4.1
matplotlib : 3.1.2
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.14.1
pytables : None
s3fs : None
scipy : 1.4.1
sqlalchemy : 1.3.12
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/32394/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32394/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32395
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32395/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32395/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32395/events
|
https://github.com/pandas-dev/pandas/issues/32395
| 574,077,507
|
MDU6SXNzdWU1NzQwNzc1MDc=
| 32,395
|
assignment with datetime64[ns, UTC] raises TypeError
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/17039092?v=4",
"events_url": "https://api.github.com/users/Lmmejia11/events{/privacy}",
"followers_url": "https://api.github.com/users/Lmmejia11/followers",
"following_url": "https://api.github.com/users/Lmmejia11/following{/other_user}",
"gists_url": "https://api.github.com/users/Lmmejia11/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/Lmmejia11",
"id": 17039092,
"login": "Lmmejia11",
"node_id": "MDQ6VXNlcjE3MDM5MDky",
"organizations_url": "https://api.github.com/users/Lmmejia11/orgs",
"received_events_url": "https://api.github.com/users/Lmmejia11/received_events",
"repos_url": "https://api.github.com/users/Lmmejia11/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/Lmmejia11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Lmmejia11/subscriptions",
"type": "User",
"url": "https://api.github.com/users/Lmmejia11"
}
|
[
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
"name": "Timeseries",
"node_id": "MDU6TGFiZWwyMTE4NDA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timeseries"
},
{
"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": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-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"
}
| 4
| 2020-03-02T16:06:07Z
| 2020-05-25T17:39:42Z
| 2020-05-25T17:39:42Z
|
NONE
| null |
#### Code Sample
```python
# Your code here
import datetime, pandas as pd
data = [[datetime.datetime(2020, 2, 28, 13, 51, 27, tzinfo=datetime.timezone.utc)],
[datetime.datetime(2020, 2, 28, 13, 51, 27, tzinfo=datetime.timezone.utc)],
[datetime.datetime(2020, 2, 28, 13, 51, 27, tzinfo=datetime.timezone.utc)],
[datetime.datetime(2020, 2, 28, 13, 51, 27, tzinfo=datetime.timezone.utc)]]
df = pd.DataFrame(data, columns=['cd']) # dtype: datetime64[ns, UTC]
df2 = pd.DataFrame(index=df.index)
df2.loc[:,'cd2'] = df['cd'] # no error
df2.loc[df.index,'cd3'] = df['cd'] # error
df2.loc[df.index,'cd2'] = df['cd'] # no error
```
#### Problem description
If you try to assign datetime values (with zone and indexes) to a column, it will raise TypeError: data type not understood.
No errors raise with index ':', or when the column already has the correct type. Note that this only happens if the datetime has zone information. With tzinfo=None, no errors occur.
#### Output of ``pd.show_versions()``
I noticed this bug in version 1.0.1
No errors occur in 0.25.3
INSTALLED VERSIONS
------------------
commit : None
pandas : 1.0.1
numpy : 1.16.4
pytz : 2019.1
dateutil : 2.8.0
pip : 20.0.1
setuptools : 45.1.0
Cython : None
pytest : None
hypothesis : None
sphinx : 2.4.2
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.8.0
pandas_datareader: None
bs4 : 4.8.2
bottleneck : None
fastparquet : None
gcsfs : 0.6.0
lxml.etree : None
matplotlib : 3.1.0
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.2.0
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : 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/32395/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32395/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32396
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32396/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32396/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32396/events
|
https://github.com/pandas-dev/pandas/pull/32396
| 574,114,714
|
MDExOlB1bGxSZXF1ZXN0MzgyNDk5NjIw
| 32,396
|
Added figsize for autocorrelation_plot and lag_plot (#31650)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10119969?v=4",
"events_url": "https://api.github.com/users/jqmviegas/events{/privacy}",
"followers_url": "https://api.github.com/users/jqmviegas/followers",
"following_url": "https://api.github.com/users/jqmviegas/following{/other_user}",
"gists_url": "https://api.github.com/users/jqmviegas/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jqmviegas",
"id": 10119969,
"login": "jqmviegas",
"node_id": "MDQ6VXNlcjEwMTE5OTY5",
"organizations_url": "https://api.github.com/users/jqmviegas/orgs",
"received_events_url": "https://api.github.com/users/jqmviegas/received_events",
"repos_url": "https://api.github.com/users/jqmviegas/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jqmviegas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jqmviegas/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jqmviegas"
}
|
[
{
"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": 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
| 2020-03-02T17:03:21Z
| 2020-07-17T11:24:05Z
| 2020-07-17T11:24:05Z
|
CONTRIBUTOR
| null |
- closes #31650
- Passed pandas.tests.plotting.test_misc.py
- Now creating new axes with "fig, ax = plt.subplots(1, 1, figsize=figsize)"
- Also changed plotting.lag_plot regarding the same issue
- Figure size is only changed if no axis parameter is given
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32396/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32396/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32396.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32396",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32396.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32396"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32397
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32397/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32397/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32397/events
|
https://github.com/pandas-dev/pandas/pull/32397
| 574,120,607
|
MDExOlB1bGxSZXF1ZXN0MzgyNTA0NDAz
| 32,397
|
TST: add message check to pytest.raises (tests/arrays/test_boolean.py)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/51447420?v=4",
"events_url": "https://api.github.com/users/ShilpaSugan/events{/privacy}",
"followers_url": "https://api.github.com/users/ShilpaSugan/followers",
"following_url": "https://api.github.com/users/ShilpaSugan/following{/other_user}",
"gists_url": "https://api.github.com/users/ShilpaSugan/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/ShilpaSugan",
"id": 51447420,
"login": "ShilpaSugan",
"node_id": "MDQ6VXNlcjUxNDQ3NDIw",
"organizations_url": "https://api.github.com/users/ShilpaSugan/orgs",
"received_events_url": "https://api.github.com/users/ShilpaSugan/received_events",
"repos_url": "https://api.github.com/users/ShilpaSugan/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/ShilpaSugan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShilpaSugan/subscriptions",
"type": "User",
"url": "https://api.github.com/users/ShilpaSugan"
}
|
[
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-03-02T17:13:06Z
| 2020-03-03T12:58:21Z
| 2020-03-03T12:31:31Z
|
CONTRIBUTOR
| null |
- [x] ref #30999
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] Added in an error message
|
{
"+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/32397/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32397/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32397.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32397",
"merged_at": "2020-03-03T12:31:31Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32397.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32397"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32398
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32398/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32398/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32398/events
|
https://github.com/pandas-dev/pandas/pull/32398
| 574,210,803
|
MDExOlB1bGxSZXF1ZXN0MzgyNTc4MTM4
| 32,398
|
CLN: Avoid unnecessary values_from_object
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 4
| 2020-03-02T19:57:40Z
| 2020-03-03T01:51:08Z
| 2020-03-03T01:36:19Z
|
MEMBER
| null |
xref #27165.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32398/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32398/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32398.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32398",
"merged_at": "2020-03-03T01:36:19Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32398.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32398"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32399
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32399/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32399/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32399/events
|
https://github.com/pandas-dev/pandas/pull/32399
| 574,312,528
|
MDExOlB1bGxSZXF1ZXN0MzgyNjU5ODEx
| 32,399
|
Backport PR #32104 on branch 1.0.x (BUG: Pickle NA objects)
|
{
"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": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
}
| 0
| 2020-03-02T23:21:19Z
| 2020-03-03T01:27:02Z
| 2020-03-03T01:27:02Z
|
NONE
| null |
Backport PR #32104: BUG: Pickle NA objects
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32399/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32399/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32399.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32399",
"merged_at": "2020-03-03T01:27:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32399.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32399"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32400
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32400/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32400/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32400/events
|
https://github.com/pandas-dev/pandas/pull/32400
| 574,312,557
|
MDExOlB1bGxSZXF1ZXN0MzgyNjU5ODM2
| 32,400
|
CLN: remove unused values from interpolate 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": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-03-02T23:21:24Z
| 2020-03-03T03:01:35Z
| 2020-03-03T02:58: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/32400/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32400/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32400.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32400",
"merged_at": "2020-03-03T02:58:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32400.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32400"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/32401
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32401/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32401/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32401/events
|
https://github.com/pandas-dev/pandas/pull/32401
| 574,314,386
|
MDExOlB1bGxSZXF1ZXN0MzgyNjYxMzc0
| 32,401
|
HDFStore: Fix empty result of keys() method on non-pandas hdf5 file
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/10944368?v=4",
"events_url": "https://api.github.com/users/roberthdevries/events{/privacy}",
"followers_url": "https://api.github.com/users/roberthdevries/followers",
"following_url": "https://api.github.com/users/roberthdevries/following{/other_user}",
"gists_url": "https://api.github.com/users/roberthdevries/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/roberthdevries",
"id": 10944368,
"login": "roberthdevries",
"node_id": "MDQ6VXNlcjEwOTQ0MzY4",
"organizations_url": "https://api.github.com/users/roberthdevries/orgs",
"received_events_url": "https://api.github.com/users/roberthdevries/received_events",
"repos_url": "https://api.github.com/users/roberthdevries/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/roberthdevries/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/roberthdevries/subscriptions",
"type": "User",
"url": "https://api.github.com/users/roberthdevries"
}
|
[
{
"color": "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": "5319e7",
"default": false,
"description": "read_hdf, HDFStore",
"id": 47229190,
"name": "IO HDF5",
"node_id": "MDU6TGFiZWw0NzIyOTE5MA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20HDF5"
}
] |
closed
| false
| null |
[] | null | 10
| 2020-03-02T23:26:12Z
| 2020-06-14T15:32:11Z
| 2020-06-14T15:32:10Z
|
CONTRIBUTOR
| null |
First try to get pandas style tables, if there are none, return the list of non-pandas (hdf5 native) tables in the file (if any)
- [x] closes #29916
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32401/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32401/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32401.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32401",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32401.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32401"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32402
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32402/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32402/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32402/events
|
https://github.com/pandas-dev/pandas/issues/32402
| 574,317,967
|
MDU6SXNzdWU1NzQzMTc5Njc=
| 32,402
|
BUG: overflow on pd.Timedelta(nanoseconds=) constructor
|
{
"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": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "Timedelta data type",
"id": 49597148,
"name": "Timedelta",
"node_id": "MDU6TGFiZWw0OTU5NzE0OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timedelta"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 0
| 2020-03-02T23:36:34Z
| 2020-03-04T14:22:36Z
| 2020-03-04T14:22:36Z
|
CONTRIBUTOR
| null |
```
In [1]: pd.__version__
Out[1]: '1.1.0.dev0+570.g9a02c3503
```
It appears we are overflowing when using nanoseconds= keyword for Timedelta. This works just fine when passing smaller values or passing as the first positional arg.
```
In [3]: pd.Timedelta(nanoseconds=1e10)
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-3-d56d2f0a71ff> in <module>
----> 1 pd.Timedelta(nanoseconds=1e10)
~/pandas/pandas/_libs/tslibs/timedeltas.pyx in pandas._libs.tslibs.timedeltas.Timedelta.__new__()
ValueError: Could not convert object to NumPy timedelta
# ok if by default constructor
In [4]: pd.Timedelta(1e10)
Out[4]: Timedelta('0 days 00:00:10')
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32402/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32402/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32403
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32403/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32403/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32403/events
|
https://github.com/pandas-dev/pandas/pull/32403
| 574,320,374
|
MDExOlB1bGxSZXF1ZXN0MzgyNjY2MzQ4
| 32,403
|
TYP: internals
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "ea91a4",
"default": false,
"description": "type annotations, mypy/pyright type checking",
"id": 1280988427,
"name": "Typing",
"node_id": "MDU6TGFiZWwxMjgwOTg4NDI3",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Typing"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-02T23:43:42Z
| 2020-03-03T15:43:27Z
| 2020-03-03T13:32:41Z
|
MEMBER
| null |
some of these are a real bear, in particular `SingleBlockManager.__init__`
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32403/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32403/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32403.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32403",
"merged_at": "2020-03-03T13:32:41Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32403.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32403"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32404
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32404/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32404/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32404/events
|
https://github.com/pandas-dev/pandas/pull/32404
| 574,370,862
|
MDExOlB1bGxSZXF1ZXN0MzgyNzA3NjI0
| 32,404
|
Add missing newline
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/55477181?v=4",
"events_url": "https://api.github.com/users/davidwales/events{/privacy}",
"followers_url": "https://api.github.com/users/davidwales/followers",
"following_url": "https://api.github.com/users/davidwales/following{/other_user}",
"gists_url": "https://api.github.com/users/davidwales/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/davidwales",
"id": 55477181,
"login": "davidwales",
"node_id": "MDQ6VXNlcjU1NDc3MTgx",
"organizations_url": "https://api.github.com/users/davidwales/orgs",
"received_events_url": "https://api.github.com/users/davidwales/received_events",
"repos_url": "https://api.github.com/users/davidwales/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/davidwales/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidwales/subscriptions",
"type": "User",
"url": "https://api.github.com/users/davidwales"
}
|
[
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 2
| 2020-03-03T02:19:04Z
| 2020-03-03T03:51:41Z
| 2020-03-03T03:49:54Z
|
CONTRIBUTOR
| null |
The line ">>> idx.isin([1, 4]) array([ True, False, False])" is was not rendered properly, because it was missing a newline above it.
https://pandas.pydata.org/docs/reference/api/pandas.Index.isin.html
- [ ] 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/32404/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32404/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32404.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32404",
"merged_at": "2020-03-03T03:49:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32404.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32404"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32405
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32405/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32405/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32405/events
|
https://github.com/pandas-dev/pandas/pull/32405
| 574,388,758
|
MDExOlB1bGxSZXF1ZXN0MzgyNzIxOTQ0
| 32,405
|
CLN: remove unreachable branch in Index._union
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "207de5",
"default": false,
"description": null,
"id": 211029535,
"name": "Clean",
"node_id": "MDU6TGFiZWwyMTEwMjk1MzU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Clean"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 1
| 2020-03-03T03:20:40Z
| 2020-03-03T16:12:34Z
| 2020-03-03T16:11:54Z
|
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/32405/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32405/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32405.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32405",
"merged_at": "2020-03-03T16:11:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32405.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32405"
}
|
|
https://api.github.com/repos/pandas-dev/pandas/issues/32406
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32406/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32406/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32406/events
|
https://github.com/pandas-dev/pandas/pull/32406
| 574,401,256
|
MDExOlB1bGxSZXF1ZXN0MzgyNzMxNzIz
| 32,406
|
CLN: remove is_period_arraylike, is_datetime_arraylike
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "b60205",
"default": false,
"description": "Internal Consistency of API/Behavior",
"id": 1741841389,
"name": "API - Consistency",
"node_id": "MDU6TGFiZWwxNzQxODQxMzg5",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20-%20Consistency"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 6
| 2020-03-03T04:04:22Z
| 2020-03-07T15:11:18Z
| 2020-03-07T10:33:24Z
|
MEMBER
| null |
There are better alternatives
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32406/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32406/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32406.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32406",
"merged_at": "2020-03-07T10:33:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32406.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32406"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32407
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32407/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32407/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32407/events
|
https://github.com/pandas-dev/pandas/issues/32407
| 574,563,307
|
MDU6SXNzdWU1NzQ1NjMzMDc=
| 32,407
|
MemoryError, Python 32bit, Error when reading a large file
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/22345593?v=4",
"events_url": "https://api.github.com/users/SidoShiro/events{/privacy}",
"followers_url": "https://api.github.com/users/SidoShiro/followers",
"following_url": "https://api.github.com/users/SidoShiro/following{/other_user}",
"gists_url": "https://api.github.com/users/SidoShiro/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/SidoShiro",
"id": 22345593,
"login": "SidoShiro",
"node_id": "MDQ6VXNlcjIyMzQ1NTkz",
"organizations_url": "https://api.github.com/users/SidoShiro/orgs",
"received_events_url": "https://api.github.com/users/SidoShiro/received_events",
"repos_url": "https://api.github.com/users/SidoShiro/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/SidoShiro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SidoShiro/subscriptions",
"type": "User",
"url": "https://api.github.com/users/SidoShiro"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "5319e7",
"default": false,
"description": "read_csv, to_csv",
"id": 47229171,
"name": "IO CSV",
"node_id": "MDU6TGFiZWw0NzIyOTE3MQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20CSV"
},
{
"color": "0e8a16",
"default": false,
"description": "32-bit systems",
"id": 563047854,
"name": "32bit",
"node_id": "MDU6TGFiZWw1NjMwNDc4NTQ=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/32bit"
},
{
"color": "f2f074",
"default": false,
"description": "Warnings that appear or should be added to pandas",
"id": 1628184320,
"name": "Warnings",
"node_id": "MDU6TGFiZWwxNjI4MTg0MzIw",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Warnings"
}
] |
open
| false
| null |
[] | null | 1
| 2020-03-03T10:24:11Z
| 2021-07-29T06:17:04Z
| null |
NONE
| null |
#### Code Sample
```python
import pandas as pd
path = 'dataset.gz'
df = pd.read_csv(path, sep = ';', compression = 'gzip')
print(sys.getsizeof(df ) / 1024 / 1024, " Mb")
```
#### Code Output (Problem)
```
---------------------------------------------------------------------------
MemoryError Traceback (most recent call last)
<ipython-input-13-b36dac541c6a> in <module>
2
3 path = 'dataset.gz'
----> 4 df = pd.read_csv(path, sep = ';', compression = 'gzip')
5 print(sys.getsizeof(df) / 1024 / 1024, " Mb")
~\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\io\parsers.py in parser_f(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, dialect, error_bad_lines, warn_bad_lines, delim_whitespace, low_memory, memory_map, float_precision)
674 )
675
--> 676 return _read(filepath_or_buffer, kwds)
677
678 parser_f.__name__ = name
~\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\io\parsers.py in _read(filepath_or_buffer, kwds)
452
453 try:
--> 454 data = parser.read(nrows)
455 finally:
456 parser.close()
~\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\io\parsers.py in read(self, nrows)
1131 def read(self, nrows=None):
1132 nrows = _validate_integer("nrows", nrows)
-> 1133 ret = self._engine.read(nrows)
1134
1135 # May alter columns / col_dict
~\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\io\parsers.py in read(self, nrows)
2035 def read(self, nrows=None):
2036 try:
-> 2037 data = self._reader.read(nrows)
2038 except StopIteration:
2039 if self._first_chunk:
pandas\_libs\parsers.pyx in pandas._libs.parsers.TextReader.read()
pandas\_libs\parsers.pyx in pandas._libs.parsers.TextReader._read_low_memory()
pandas\_libs\parsers.pyx in pandas._libs.parsers.TextReader._read_rows()
pandas\_libs\parsers.pyx in pandas._libs.parsers.TextReader._convert_column_data()
pandas\_libs\parsers.pyx in pandas._libs.parsers.TextReader._convert_tokens()
pandas\_libs\parsers.pyx in pandas._libs.parsers.TextReader._convert_with_dtype()
pandas\_libs\parsers.pyx in pandas._libs.parsers._try_int64()
MemoryError: Unable to allocate 1.00 MiB for an array with shape (131072,) and data type int64
```
#### Problem description
The pandas `read_csv` function got a memory error, this shouldn't happen (I have a 16 Gb RAM computer).
Meanwhile, I tried another python (conda) 3.7.4 which works fine but using pandas 0.25.1, it's currently my workaround.
#### Expected Output
From my workaround (Python 3.7.4, conda, pandas 0.25.1)
```
625.6165533065796 Mb
```
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS
------------------
commit : None
python : 3.8.2.final.0
python-bits : 32
OS : Windows
OS-release : 10
machine : AMD64
processor : Intel64 Family 6 Model 142 Stepping 12, GenuineIntel
byteorder : little
LC_ALL : None
LANG : None
LOCALE : fr_FR.cp1252
pandas : 1.0.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 41.2.0
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.1
IPython : 7.13.0
pandas_datareader: None
bs4 : 4.8.2
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : 0.4.0
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : 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/32407/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32407/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32408
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32408/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32408/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32408/events
|
https://github.com/pandas-dev/pandas/pull/32408
| 574,604,501
|
MDExOlB1bGxSZXF1ZXN0MzgyODk4NDYz
| 32,408
|
Properly handle missing attributes in query/eval strings
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/3627481?v=4",
"events_url": "https://api.github.com/users/alexmojaki/events{/privacy}",
"followers_url": "https://api.github.com/users/alexmojaki/followers",
"following_url": "https://api.github.com/users/alexmojaki/following{/other_user}",
"gists_url": "https://api.github.com/users/alexmojaki/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/alexmojaki",
"id": 3627481,
"login": "alexmojaki",
"node_id": "MDQ6VXNlcjM2Mjc0ODE=",
"organizations_url": "https://api.github.com/users/alexmojaki/orgs",
"received_events_url": "https://api.github.com/users/alexmojaki/received_events",
"repos_url": "https://api.github.com/users/alexmojaki/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/alexmojaki/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alexmojaki/subscriptions",
"type": "User",
"url": "https://api.github.com/users/alexmojaki"
}
|
[
{
"color": "ffa0ff",
"default": false,
"description": "Incorrect or improved errors from pandas",
"id": 42670965,
"name": "Error Reporting",
"node_id": "MDU6TGFiZWw0MjY3MDk2NQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Error%20Reporting"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-07-28T18:13:47Z",
"closed_issues": 2378,
"created_at": "2019-12-02T12:52:48Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "",
"due_on": "2020-08-01T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/68",
"id": 4894670,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68/labels",
"node_id": "MDk6TWlsZXN0b25lNDg5NDY3MA==",
"number": 68,
"open_issues": 0,
"state": "closed",
"title": "1.1",
"updated_at": "2021-07-17T17:25:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/68"
}
| 9
| 2020-03-03T11:33:08Z
| 2020-04-10T19:31:01Z
| 2020-04-10T19:30:56Z
|
CONTRIBUTOR
| null |
Consider this script:
```python
import pandas as pd
pd.eval("pd.thing")
```
Currently it raises an error like this:
```
File "/home/alex/work/pandas/pandas/core/computation/expr.py", line 640, in visit_Attribute
raise ValueError(f"Invalid Attribute context {ctx.__name__}")
AttributeError: 'Load' object has no attribute '__name__'
```
Adding `__class__` to that line changes the error to the more sensible:
ValueError: Invalid Attribute context Load
Re-raising the original error gives what's really needed:
```
File "/home/alex/work/pandas/pandas/core/computation/expr.py", line 631, in visit_Attribute
v = getattr(resolved, attr)
File "/home/alex/work/pandas/pandas/__init__.py", line 260, in __getattr__
raise AttributeError(f"module 'pandas' has no attribute '{name}'")
AttributeError: module 'pandas' has no attribute 'thing'
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32408/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32408/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32408.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32408",
"merged_at": "2020-04-10T19:30:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/32408.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32408"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32409
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32409/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32409/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32409/events
|
https://github.com/pandas-dev/pandas/issues/32409
| 574,639,058
|
MDU6SXNzdWU1NzQ2MzkwNTg=
| 32,409
|
pandas1.0.1 has trouble with certain column names
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/3863744?v=4",
"events_url": "https://api.github.com/users/jeremy-rutman/events{/privacy}",
"followers_url": "https://api.github.com/users/jeremy-rutman/followers",
"following_url": "https://api.github.com/users/jeremy-rutman/following{/other_user}",
"gists_url": "https://api.github.com/users/jeremy-rutman/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jeremy-rutman",
"id": 3863744,
"login": "jeremy-rutman",
"node_id": "MDQ6VXNlcjM4NjM3NDQ=",
"organizations_url": "https://api.github.com/users/jeremy-rutman/orgs",
"received_events_url": "https://api.github.com/users/jeremy-rutman/received_events",
"repos_url": "https://api.github.com/users/jeremy-rutman/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jeremy-rutman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jeremy-rutman/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jeremy-rutman"
}
|
[
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stack/Unstack, Explode",
"id": 13098779,
"name": "Reshaping",
"node_id": "MDU6TGFiZWwxMzA5ODc3OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Reshaping"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
closed
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/44148580?v=4",
"events_url": "https://api.github.com/users/rivera-fernando/events{/privacy}",
"followers_url": "https://api.github.com/users/rivera-fernando/followers",
"following_url": "https://api.github.com/users/rivera-fernando/following{/other_user}",
"gists_url": "https://api.github.com/users/rivera-fernando/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rivera-fernando",
"id": 44148580,
"login": "rivera-fernando",
"node_id": "MDQ6VXNlcjQ0MTQ4NTgw",
"organizations_url": "https://api.github.com/users/rivera-fernando/orgs",
"received_events_url": "https://api.github.com/users/rivera-fernando/received_events",
"repos_url": "https://api.github.com/users/rivera-fernando/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rivera-fernando/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rivera-fernando/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rivera-fernando"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/44148580?v=4",
"events_url": "https://api.github.com/users/rivera-fernando/events{/privacy}",
"followers_url": "https://api.github.com/users/rivera-fernando/followers",
"following_url": "https://api.github.com/users/rivera-fernando/following{/other_user}",
"gists_url": "https://api.github.com/users/rivera-fernando/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/rivera-fernando",
"id": 44148580,
"login": "rivera-fernando",
"node_id": "MDQ6VXNlcjQ0MTQ4NTgw",
"organizations_url": "https://api.github.com/users/rivera-fernando/orgs",
"received_events_url": "https://api.github.com/users/rivera-fernando/received_events",
"repos_url": "https://api.github.com/users/rivera-fernando/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/rivera-fernando/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rivera-fernando/subscriptions",
"type": "User",
"url": "https://api.github.com/users/rivera-fernando"
}
] |
{
"closed_at": "2021-07-02T07:59:17Z",
"closed_issues": 2396,
"created_at": "2020-11-11T19:05:43Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "on-merge: backport to 1.3.x",
"due_on": "2021-06-30T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/80",
"id": 6095818,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80/labels",
"node_id": "MDk6TWlsZXN0b25lNjA5NTgxOA==",
"number": 80,
"open_issues": 1,
"state": "closed",
"title": "1.3",
"updated_at": "2021-08-25T20:34:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/80"
}
| 11
| 2020-03-03T12:37:59Z
| 2021-01-20T18:57:32Z
| 2021-01-20T18:57:32Z
|
NONE
| null |
#### Code Sample, a copy-pastable example if possible
```python
df = pd.read_json(file_path,lines=True)
TypeError: unhashable type: ‘dict’ . `
```
#### Problem description
Pandas1.0.1 with python3.7 hits the above for json containing dicts containing the key "last_status_change_at" and possibly others, while pandas0.25.3 with python3.7 does not. I haven't checked yet with python3.6.
#### Expected Output
no unhashableness
#### Output of ``pd.show_versions()``
<details>
INSTALLED VERSIONS (pandas 1.0.1 which hits error)
------------------
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Darwin
OS-release : 18.7.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 : 1.0.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 19.3.1
setuptools : 42.0.2
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : 7.12.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : 1.4.1
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : None
INSTALLED VERSIONS (pandas0.25.3 which doesnt hit error)
------------------
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Darwin
OS-release : 18.7.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.3
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 19.3.1
setuptools : 42.0.2
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : 7.12.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : 3.1.3
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.16.0
pytables : None
s3fs : None
scipy : 1.4.1
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/32409/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32409/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32410
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32410/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32410/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32410/events
|
https://github.com/pandas-dev/pandas/pull/32410
| 574,671,399
|
MDExOlB1bGxSZXF1ZXN0MzgyOTUzNTg3
| 32,410
|
BUG: fixes plotting with nullable integers (#32073)
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/2225536?v=4",
"events_url": "https://api.github.com/users/jeandersonbc/events{/privacy}",
"followers_url": "https://api.github.com/users/jeandersonbc/followers",
"following_url": "https://api.github.com/users/jeandersonbc/following{/other_user}",
"gists_url": "https://api.github.com/users/jeandersonbc/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jeandersonbc",
"id": 2225536,
"login": "jeandersonbc",
"node_id": "MDQ6VXNlcjIyMjU1MzY=",
"organizations_url": "https://api.github.com/users/jeandersonbc/orgs",
"received_events_url": "https://api.github.com/users/jeandersonbc/received_events",
"repos_url": "https://api.github.com/users/jeandersonbc/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jeandersonbc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jeandersonbc/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jeandersonbc"
}
|
[
{
"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": "8cc645",
"default": false,
"description": "Related to pd.NA and nullable extension arrays",
"id": 1817503692,
"name": "NA - MaskedArrays",
"node_id": "MDU6TGFiZWwxODE3NTAzNjky",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/NA%20-%20MaskedArrays"
}
] |
closed
| false
| null |
[] | null | 4
| 2020-03-03T13:33:42Z
| 2020-05-08T16:07:39Z
| 2020-05-08T16:07:38Z
|
CONTRIBUTOR
| null |
- [x] closes #32073
- [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/32410/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32410/timeline
| null | 0
|
{
"diff_url": "https://github.com/pandas-dev/pandas/pull/32410.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/32410",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/32410.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/32410"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32411
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32411/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32411/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32411/events
|
https://github.com/pandas-dev/pandas/issues/32411
| 574,741,020
|
MDU6SXNzdWU1NzQ3NDEwMjA=
| 32,411
|
Implement Index.__array_ufunc__
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/1312546?v=4",
"events_url": "https://api.github.com/users/TomAugspurger/events{/privacy}",
"followers_url": "https://api.github.com/users/TomAugspurger/followers",
"following_url": "https://api.github.com/users/TomAugspurger/following{/other_user}",
"gists_url": "https://api.github.com/users/TomAugspurger/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/TomAugspurger",
"id": 1312546,
"login": "TomAugspurger",
"node_id": "MDQ6VXNlcjEzMTI1NDY=",
"organizations_url": "https://api.github.com/users/TomAugspurger/orgs",
"received_events_url": "https://api.github.com/users/TomAugspurger/received_events",
"repos_url": "https://api.github.com/users/TomAugspurger/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TomAugspurger/subscriptions",
"type": "User",
"url": "https://api.github.com/users/TomAugspurger"
}
|
[
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "0052cc",
"default": false,
"description": "pandas objects compatability with Numpy or Python functions",
"id": 76865106,
"name": "Compat",
"node_id": "MDU6TGFiZWw3Njg2NTEwNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Compat"
},
{
"color": "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"
}
] |
open
| false
| null |
[] |
{
"closed_at": null,
"closed_issues": 786,
"created_at": "2015-01-13T10:53:19Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/953992?v=4",
"events_url": "https://api.github.com/users/jreback/events{/privacy}",
"followers_url": "https://api.github.com/users/jreback/followers",
"following_url": "https://api.github.com/users/jreback/following{/other_user}",
"gists_url": "https://api.github.com/users/jreback/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jreback",
"id": 953992,
"login": "jreback",
"node_id": "MDQ6VXNlcjk1Mzk5Mg==",
"organizations_url": "https://api.github.com/users/jreback/orgs",
"received_events_url": "https://api.github.com/users/jreback/received_events",
"repos_url": "https://api.github.com/users/jreback/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jreback/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jreback/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jreback"
},
"description": "Changes that would be nice to have in the next release. These issues are not blocking. They will be pushed to the next release if no one has time to fix them.",
"due_on": null,
"html_url": "https://github.com/pandas-dev/pandas/milestone/32",
"id": 933188,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32/labels",
"node_id": "MDk6TWlsZXN0b25lOTMzMTg4",
"number": 32,
"open_issues": 1053,
"state": "open",
"title": "Contributions Welcome",
"updated_at": "2021-11-21T00:50:06Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/32"
}
| 3
| 2020-03-03T15:17:58Z
| 2020-09-17T19:39:55Z
| null |
CONTRIBUTOR
| null |
It'd be similar to `Series.__array_ufunc__`, (extract array, apply ufunc, box in index with name) with the exception that
1. No alignment when operating between multiple indexes
2. We'd need to decide whether Index or Series defers when calling ufuncs on inputs of mixed index and series. Check what binops does.
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32411/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32411/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32412
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32412/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32412/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32412/events
|
https://github.com/pandas-dev/pandas/issues/32412
| 574,784,351
|
MDU6SXNzdWU1NzQ3ODQzNTE=
| 32,412
|
DEPR: _ndarray_values vs to_numpy vs __array__
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[] |
closed
| false
| null |
[] | null | 0
| 2020-03-03T16:21:56Z
| 2020-03-20T03:51:43Z
| 2020-03-20T03:51:43Z
|
MEMBER
| null |
Is there a clear explanation for when to use one of these instead of another?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32412/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32412/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32413
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32413/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32413/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32413/events
|
https://github.com/pandas-dev/pandas/issues/32413
| 574,791,463
|
MDU6SXNzdWU1NzQ3OTE0NjM=
| 32,413
|
Object dtype gives ValueError in _maybe_cast_with_dtype
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/59438347?v=4",
"events_url": "https://api.github.com/users/david33n/events{/privacy}",
"followers_url": "https://api.github.com/users/david33n/followers",
"following_url": "https://api.github.com/users/david33n/following{/other_user}",
"gists_url": "https://api.github.com/users/david33n/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/david33n",
"id": 59438347,
"login": "david33n",
"node_id": "MDQ6VXNlcjU5NDM4MzQ3",
"organizations_url": "https://api.github.com/users/david33n/orgs",
"received_events_url": "https://api.github.com/users/david33n/received_events",
"repos_url": "https://api.github.com/users/david33n/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/david33n/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/david33n/subscriptions",
"type": "User",
"url": "https://api.github.com/users/david33n"
}
|
[
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
open
| false
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/5862228?v=4",
"events_url": "https://api.github.com/users/cgarciae/events{/privacy}",
"followers_url": "https://api.github.com/users/cgarciae/followers",
"following_url": "https://api.github.com/users/cgarciae/following{/other_user}",
"gists_url": "https://api.github.com/users/cgarciae/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cgarciae",
"id": 5862228,
"login": "cgarciae",
"node_id": "MDQ6VXNlcjU4NjIyMjg=",
"organizations_url": "https://api.github.com/users/cgarciae/orgs",
"received_events_url": "https://api.github.com/users/cgarciae/received_events",
"repos_url": "https://api.github.com/users/cgarciae/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cgarciae/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cgarciae/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cgarciae"
}
|
[
{
"avatar_url": "https://avatars.githubusercontent.com/u/5862228?v=4",
"events_url": "https://api.github.com/users/cgarciae/events{/privacy}",
"followers_url": "https://api.github.com/users/cgarciae/followers",
"following_url": "https://api.github.com/users/cgarciae/following{/other_user}",
"gists_url": "https://api.github.com/users/cgarciae/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/cgarciae",
"id": 5862228,
"login": "cgarciae",
"node_id": "MDQ6VXNlcjU4NjIyMjg=",
"organizations_url": "https://api.github.com/users/cgarciae/orgs",
"received_events_url": "https://api.github.com/users/cgarciae/received_events",
"repos_url": "https://api.github.com/users/cgarciae/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/cgarciae/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cgarciae/subscriptions",
"type": "User",
"url": "https://api.github.com/users/cgarciae"
}
] | null | 7
| 2020-03-03T16:32:56Z
| 2021-07-29T06:18:06Z
| null |
NONE
| null |
####
```python
import pandas as pd
import numpy as np
frame = pd.DataFrame(index=pd.Index([1, np.nan]))
fixed_index = frame.index.where(frame.index.notna(), 'a' + frame.reset_index().index.astype(str))
Traceback (most recent call last):
File "<input>", line 4, in <module>
File "C:\Users\Miniconda3\envs\testbed_dtype\lib\site-packages\pandas\core\indexes\base.py", line 3791, in where
return self._shallow_copy_with_infer(values, dtype=dtype)
File "C:\Users\Miniconda3\envs\testbed_dtype\lib\site-packages\pandas\core\indexes\base.py", line 567, in _shallow_copy_with_infer
return Index(values, **attributes)
File "C:\Users\Miniconda3\envs\testbed_dtype\lib\site-packages\pandas\core\indexes\base.py", line 385, in __new__
data = _maybe_cast_with_dtype(data, dtype, copy)
File "C:\Users\Miniconda3\envs\testbed_dtype\lib\site-packages\pandas\core\indexes\base.py", line 5457, in _maybe_cast_with_dtype
data = data.astype(dtype)
ValueError: could not convert string to float: 'a1'
```
#### Problem description
Data is being cast to incorrect dtype based on inferred dtype and gives a ValueError.
Issue was not present in pandas==0.25.3
#### Expected Output
With pandas==0.25.3
fixed_index
Index([1.0, 'a1'], dtype='object')
#### Output of ``pd.show_versions()``
python : 3.7.6.final.0
pandas : 1.0.1
numpy : 1.18.1
pytz : 2019.3
dateutil : 2.8.1
pip : 20.0.2
setuptools : 45.2.0.post20200210
Cython : None
pytest : None
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : None
IPython : None
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : 3.0.3
pandas_gbq : None
pyarrow : None
pytables : None
pytest : None
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : 1.3.0
xlsxwriter : None
numba : None
</details>
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32413/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32413/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32414
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32414/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32414/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32414/events
|
https://github.com/pandas-dev/pandas/issues/32414
| 574,797,179
|
MDU6SXNzdWU1NzQ3OTcxNzk=
| 32,414
|
EA: fillna should accept same type
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "d7e102",
"default": false,
"description": "np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate",
"id": 2822342,
"name": "Missing-data",
"node_id": "MDU6TGFiZWwyODIyMzQy",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Missing-data"
},
{
"color": "e11d21",
"default": false,
"description": "Categorical Data Type",
"id": 78527356,
"name": "Categorical",
"node_id": "MDU6TGFiZWw3ODUyNzM1Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Categorical"
},
{
"color": "0e8a16",
"default": true,
"description": null,
"id": 717120670,
"name": "good first issue",
"node_id": "MDU6TGFiZWw3MTcxMjA2NzA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/good%20first%20issue"
},
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
},
{
"color": "cdea3c",
"default": false,
"description": "Unit test(s) needed to prevent regressions",
"id": 986278782,
"name": "Needs Tests",
"node_id": "MDU6TGFiZWw5ODYyNzg3ODI=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Needs%20Tests"
}
] |
open
| 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"
}
| 10
| 2020-03-03T16:41:33Z
| 2021-08-21T01:09:48Z
| null |
MEMBER
| null |
```
cat = pd.Categorical(["A", "B", None, "A"])
ser = pd.Series(cat).fillna("B")
>>> filled = cat.fillna(ser) # <-- works
>>> cat.fillna(filled)
TypeError: 'value' parameter must be a scalar, dict or Series, but you passed a Categorical
```
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32414/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32414/timeline
| null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/32415
|
https://api.github.com/repos/pandas-dev/pandas
|
https://api.github.com/repos/pandas-dev/pandas/issues/32415/labels{/name}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32415/comments
|
https://api.github.com/repos/pandas-dev/pandas/issues/32415/events
|
https://github.com/pandas-dev/pandas/issues/32415
| 574,828,726
|
MDU6SXNzdWU1NzQ4Mjg3MjY=
| 32,415
|
RLS: 1.0.2
|
{
"avatar_url": "https://avatars.githubusercontent.com/u/8078968?v=4",
"events_url": "https://api.github.com/users/jbrockmendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jbrockmendel/followers",
"following_url": "https://api.github.com/users/jbrockmendel/following{/other_user}",
"gists_url": "https://api.github.com/users/jbrockmendel/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jbrockmendel",
"id": 8078968,
"login": "jbrockmendel",
"node_id": "MDQ6VXNlcjgwNzg5Njg=",
"organizations_url": "https://api.github.com/users/jbrockmendel/orgs",
"received_events_url": "https://api.github.com/users/jbrockmendel/received_events",
"repos_url": "https://api.github.com/users/jbrockmendel/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jbrockmendel/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbrockmendel/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jbrockmendel"
}
|
[
{
"color": "006b75",
"default": false,
"description": null,
"id": 131473665,
"name": "Release",
"node_id": "MDU6TGFiZWwxMzE0NzM2NjU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Release"
}
] |
closed
| false
| null |
[] |
{
"closed_at": "2020-03-16T02:29:08Z",
"closed_issues": 155,
"created_at": "2020-02-03T09:13:39Z",
"creator": {
"avatar_url": "https://avatars.githubusercontent.com/u/1020496?v=4",
"events_url": "https://api.github.com/users/jorisvandenbossche/events{/privacy}",
"followers_url": "https://api.github.com/users/jorisvandenbossche/followers",
"following_url": "https://api.github.com/users/jorisvandenbossche/following{/other_user}",
"gists_url": "https://api.github.com/users/jorisvandenbossche/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/jorisvandenbossche",
"id": 1020496,
"login": "jorisvandenbossche",
"node_id": "MDQ6VXNlcjEwMjA0OTY=",
"organizations_url": "https://api.github.com/users/jorisvandenbossche/orgs",
"received_events_url": "https://api.github.com/users/jorisvandenbossche/received_events",
"repos_url": "https://api.github.com/users/jorisvandenbossche/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/jorisvandenbossche/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jorisvandenbossche/subscriptions",
"type": "User",
"url": "https://api.github.com/users/jorisvandenbossche"
},
"description": "on-merge: backport to 1.0.x",
"due_on": "2020-03-11T07:00:00Z",
"html_url": "https://github.com/pandas-dev/pandas/milestone/70",
"id": 5065490,
"labels_url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70/labels",
"node_id": "MDk6TWlsZXN0b25lNTA2NTQ5MA==",
"number": 70,
"open_issues": 0,
"state": "closed",
"title": "1.0.2",
"updated_at": "2021-07-28T05:52:28Z",
"url": "https://api.github.com/repos/pandas-dev/pandas/milestones/70"
}
| 12
| 2020-03-03T17:34:08Z
| 2020-05-26T12:39:17Z
| 2020-03-15T20:51:03Z
|
MEMBER
| null |
@pandas-dev/pandas-core think end of this week?
|
{
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/32415/reactions"
}
|
https://api.github.com/repos/pandas-dev/pandas/issues/32415/timeline
| null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.