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/21412 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21412/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21412/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21412/events | https://github.com/pandas-dev/pandas/pull/21412 | 330,994,606 | MDExOlB1bGxSZXF1ZXN0MTkzODQxNjYx | 21,412 | BUG: Categorical.__setitem__ allows for tuple assignment | {
"avatar_url": "https://avatars.githubusercontent.com/u/4369343?v=4",
"events_url": "https://api.github.com/users/alysivji/events{/privacy}",
"followers_url": "https://api.github.com/users/alysivji/followers",
"following_url": "https://api.github.com/users/alysivji/following{/other_user}",
"gists_url": "http... | [
{
"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": "e11d21",
"default": false,
"description": "Categori... | closed | false | null | [] | null | 3 | 2018-06-10T19:16:09Z | 2018-07-16T22:48:17Z | 2018-07-16T22:48:17Z | CONTRIBUTOR | null | - [x] closes #20439
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Pretty straightforward fix in the `__setitem__` method
While I was looking into this, I discovered a bug that does not allow for the creation of mixed-dtype Categoricals, if... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21412/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21412/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21412.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21412",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/21412.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21412"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21413 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21413/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21413/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21413/events | https://github.com/pandas-dev/pandas/pull/21413 | 330,998,166 | MDExOlB1bGxSZXF1ZXN0MTkzODQzODY5 | 21,413 | add dropna=False to crosstab example | {
"avatar_url": "https://avatars.githubusercontent.com/u/13538640?v=4",
"events_url": "https://api.github.com/users/testvinder/events{/privacy}",
"followers_url": "https://api.github.com/users/testvinder/followers",
"following_url": "https://api.github.com/users/testvinder/following{/other_user}",
"gists_url"... | [
{
"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": "e11d21",
"default": false,
"description": "Categorical Data Type... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 11 | 2018-06-10T20:03:30Z | 2018-06-12T11:50:42Z | 2018-06-12T11:31:11Z | CONTRIBUTOR | null | ```
>>> foo = pd.Categorical(['a', 'b'], categories=['a', 'b', 'c'])
>>> bar = pd.Categorical(['d', 'e'], categories=['d', 'e', 'f'])
>>> crosstab(foo, bar) # 'c' and 'f' are not represented in the data,
... # but they still will be counted in the output
col_0 d e f
row_0
a 1 0 ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21413/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21413/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21413.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21413",
"merged_at": "2018-06-12T11:31:11Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21413.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21413"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21414 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21414/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21414/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21414/events | https://github.com/pandas-dev/pandas/pull/21414 | 330,998,196 | MDExOlB1bGxSZXF1ZXN0MTkzODQzODkw | 21,414 | Doc Fixes | {
"avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4",
"events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}",
"followers_url": "https://api.github.com/users/alimcmaster1/followers",
"following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}",
"gist... | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 2 | 2018-06-10T20:03:53Z | 2018-06-11T22:43:09Z | 2018-06-11T11:28:55Z | CONTRIBUTOR | null | Minor doc fixes - make casing consistent and tense | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21414/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21414/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21414.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21414",
"merged_at": "2018-06-11T11:28:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21414.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21414"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21415 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21415/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21415/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21415/events | https://github.com/pandas-dev/pandas/pull/21415 | 331,005,185 | MDExOlB1bGxSZXF1ZXN0MTkzODQ4MTUz | 21,415 | Doc Fixes | {
"avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4",
"events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}",
"followers_url": "https://api.github.com/users/alimcmaster1/followers",
"following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}",
"gist... | [
{
"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": "0b02e1",
"default": false,
"description": "Related to indexing o... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 7 | 2018-06-10T21:45:11Z | 2018-06-24T22:28:33Z | 2018-06-12T11:28:38Z | CONTRIBUTOR | null | Closes <#21308>
Note : Defined Levels section was added in the "Notes" section opposed to "See Also".
Description of "See Also" section [here](https://numpydoc.readthedocs.io/en/latest/format.html), suggests it should really link to other functions etc.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21415/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21415/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21415.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21415",
"merged_at": "2018-06-12T11:28:38Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21415.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21415"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21416 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21416/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21416/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21416/events | https://github.com/pandas-dev/pandas/issues/21416 | 331,022,488 | MDU6SXNzdWUzMzEwMjI0ODg= | 21,416 | BUG: Cannot create Categorial of mixed dtypes/tuples if first element is not a tuple | {
"avatar_url": "https://avatars.githubusercontent.com/u/4369343?v=4",
"events_url": "https://api.github.com/users/alysivji/events{/privacy}",
"followers_url": "https://api.github.com/users/alysivji/followers",
"following_url": "https://api.github.com/users/alysivji/following{/other_user}",
"gists_url": "http... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtyp... | closed | false | null | [] | null | 5 | 2018-06-11T01:48:40Z | 2019-10-06T22:02:43Z | 2019-10-06T22:02:43Z | CONTRIBUTOR | null | #### Code Sample, a copy-pastable example if possible
It's possible to create a Categorical of mixed dtypes, with at least one tuple, if the first element is a tuple.
```console
s = pd.Categorical([('a', 'a'), ('a', 'b'), ('b', 'a'), 'c'])
s
Out[21]:
[(a, a), (a, b), (b, a), c]
Categories (4, object): [(a,... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21416/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21416/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21417 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21417/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21417/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21417/events | https://github.com/pandas-dev/pandas/issues/21417 | 331,030,743 | MDU6SXNzdWUzMzEwMzA3NDM= | 21,417 | Additional calls to function when using GroupBy.apply with multiple index | {
"avatar_url": "https://avatars.githubusercontent.com/u/2075535?v=4",
"events_url": "https://api.github.com/users/semigodking/events{/privacy}",
"followers_url": "https://api.github.com/users/semigodking/followers",
"following_url": "https://api.github.com/users/semigodking/following{/other_user}",
"gists_ur... | [
{
"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": "0052cc",
"default": false,
"description": null,
"id": ... | closed | false | null | [] | {
"closed_at": "2019-07-19T00:34:29Z",
"closed_issues": 1289,
"created_at": "2018-10-23T02:34:15Z",
"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/j... | 6 | 2018-06-11T02:56:32Z | 2019-01-26T15:20:01Z | 2018-06-11T11:09:04Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
df = pd.DataFrame([[1, 2, 3], [2, 2, 3]], columns=['a', 'b', 'c'])
def t(df):
print(df)
print('-' * 10)
return None
g = df.groupby(by=['a', 'b'])
g.apply(t)
print(g.groups)
g.apply(lambda x:print(x.index))
``... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21417/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21417/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21418 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21418/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21418/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21418/events | https://github.com/pandas-dev/pandas/issues/21418 | 331,053,980 | MDU6SXNzdWUzMzEwNTM5ODA= | 21,418 | Resample function wrong interpolation | {
"avatar_url": "https://avatars.githubusercontent.com/u/40159509?v=4",
"events_url": "https://api.github.com/users/peppusnight/events{/privacy}",
"followers_url": "https://api.github.com/users/peppusnight/followers",
"following_url": "https://api.github.com/users/peppusnight/following{/other_user}",
"gists_u... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "207de5",
"default": false,
"description": "resample method",
"i... | open | false | null | [] | null | 2 | 2018-06-11T05:54:01Z | 2021-02-17T14:53:53Z | null | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
from datetime import datetime
import pytz
import numpy as np
import matplotlib.pyplot as plt
def convert_2_datetime(timestamp, timezoneid):
"""
:param timestamp: UTC format in milliseconds (data.index.values)
... | {
"+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/21418/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21418/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21419 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21419/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21419/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21419/events | https://github.com/pandas-dev/pandas/issues/21419 | 331,074,733 | MDU6SXNzdWUzMzEwNzQ3MzM= | 21,419 | Group by column which contains None | {
"avatar_url": "https://avatars.githubusercontent.com/u/2075535?v=4",
"events_url": "https://api.github.com/users/semigodking/events{/privacy}",
"followers_url": "https://api.github.com/users/semigodking/followers",
"following_url": "https://api.github.com/users/semigodking/following{/other_user}",
"gists_ur... | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | null | 2 | 2018-06-11T07:33:02Z | 2018-06-26T02:38:00Z | 2018-06-11T11:07:40Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
df = pd.DataFrame([[None, 1], [None, 1]], columns=['a', 'b'])
grouped = df.groupby('a')
print(len(grouped.groups))
print(grouped.groups)
df = pd.DataFrame([[None, 1], [1, 1]], columns=['a', 'b'])
grouped = df.groupby('a')
pri... | {
"+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/21419/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21419/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21420 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21420/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21420/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21420/events | https://github.com/pandas-dev/pandas/issues/21420 | 331,088,864 | MDU6SXNzdWUzMzEwODg4NjQ= | 21,420 | Cannot select rows based on value in column | {
"avatar_url": "https://avatars.githubusercontent.com/u/29179747?v=4",
"events_url": "https://api.github.com/users/varora02/events{/privacy}",
"followers_url": "https://api.github.com/users/varora02/followers",
"following_url": "https://api.github.com/users/varora02/following{/other_user}",
"gists_url": "htt... | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | null | 2 | 2018-06-11T08:21:42Z | 2018-06-11T11:05:40Z | 2018-06-11T11:05:33Z | NONE | null | #### Code Sample
<img width="1024" alt="screen shot 2018-06-11 at 1 45 11 pm" src="https://user-images.githubusercontent.com/29179747/41220253-692300a2-6d7e-11e8-9848-c59e5ff4aa31.png">
```python
Running
df.loc[df.Days > 75, :]
```
#### Problem description
Returns ValueError: Cannot index with multidimens... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21420/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21420/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21421 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21421/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21421/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21421/events | https://github.com/pandas-dev/pandas/pull/21421 | 331,172,991 | MDExOlB1bGxSZXF1ZXN0MTkzOTY5MTM2 | 21,421 | DOC: fix grammar of deprecation message | {
"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{/othe... | [
{
"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": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 1 | 2018-06-11T12:42:58Z | 2018-06-11T15:19:23Z | 2018-06-11T15:14: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/21421/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21421/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21421.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21421",
"merged_at": "2018-06-11T15:14:48Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21421.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21421"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/21422 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21422/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21422/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21422/events | https://github.com/pandas-dev/pandas/issues/21422 | 331,190,559 | MDU6SXNzdWUzMzExOTA1NTk= | 21,422 | to_datetime function not working with %Y.%m.%d %H format | {
"avatar_url": "https://avatars.githubusercontent.com/u/5310424?v=4",
"events_url": "https://api.github.com/users/johan12345/events{/privacy}",
"followers_url": "https://api.github.com/users/johan12345/followers",
"following_url": "https://api.github.com/users/johan12345/following{/other_user}",
"gists_url":... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "AFEEEE",
"default": false,
"description": null,
"id": 211840,
... | open | false | null | [] | {
"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",
... | 13 | 2018-06-11T13:32:18Z | 2020-07-31T14:33:45Z | null | CONTRIBUTOR | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
import datetime as dt
print(dt.datetime.strptime('2012.01.01 1', '%Y.%m.%d %H'))
# -> 2012-01-01 01:00:00
print(pd.to_datetime('2012.01.01 1', format='%Y.%m.%d %H'))
# -> ValueError: time data '2012.01.01 1' doesn't match for... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21422/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21422/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21423 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21423/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21423/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21423/events | https://github.com/pandas-dev/pandas/pull/21423 | 331,209,097 | MDExOlB1bGxSZXF1ZXN0MTkzOTk2NTQ3 | 21,423 | API: re-allow duplicate index level names | {
"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{/othe... | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "207de5",
"default": false,
"description": nu... | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 9 | 2018-06-11T14:18:25Z | 2018-07-02T15:43:56Z | 2018-06-29T00:39:46Z | MEMBER | null | One possible solution for https://github.com/pandas-dev/pandas/issues/19029
WIP (need to clean up tests and possibly re-add some ones that have been removed in https://github.com/pandas-dev/pandas/pull/18882) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21423/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21423/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21423.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21423",
"merged_at": "2018-06-29T00:39:46Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21423.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21423"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21424 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21424/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21424/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21424/events | https://github.com/pandas-dev/pandas/issues/21424 | 331,221,996 | MDU6SXNzdWUzMzEyMjE5OTY= | 21,424 | 'where' fails for single str index when reading DataFrame from an HDF file; 'in set' does not work in 'where' | {
"avatar_url": "https://avatars.githubusercontent.com/u/20497083?v=4",
"events_url": "https://api.github.com/users/vss888/events{/privacy}",
"followers_url": "https://api.github.com/users/vss888/followers",
"following_url": "https://api.github.com/users/vss888/following{/other_user}",
"gists_url": "https://a... | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
},
{
"color": "5319e7",
... | 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/jorisva... | 3 | 2018-06-11T14:49:20Z | 2018-06-13T16:17:28Z | 2018-06-11T23:55:54Z | NONE | null | #### Copy-pastable examples:
```python
import pandas as pd
fileName = 'temp/df.h5'
#### Example 1
t = pd.DataFrame(data={'k':['A','B','C'],
'x':[ 1., 2., 3.]})
t.set_index(['k'], inplace=True)
t.sort_index(inplace=True)
t.to_hdf(fileName, 't', format='table')
t2 = pd.read_hdf(... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21424/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21424/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21425 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21425/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21425/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21425/events | https://github.com/pandas-dev/pandas/issues/21425 | 331,237,701 | MDU6SXNzdWUzMzEyMzc3MDE= | 21,425 | BUG: DataFrame.pivot fails on multiple columns to set as index | {
"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{/othe... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stac... | 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/j... | 4 | 2018-06-11T15:26:44Z | 2020-02-09T21:57:29Z | 2020-02-09T21:57:29Z | MEMBER | null | I am not sure anymore if `DataFrame.pivot` actually supports multiple columns to set as `index`/`columns` (it should), but in any case this error is very confusing:
```
In [1]: df = pd.DataFrame({'lev1': [1, 1, 1, 1,2, 2, 2,2], 'lev2': [1, 1, 2, 2, 1, 1, 2, 2], 'lev3': [1, 2, 1, 2, 1, 2, 1, 2], 'values': range(8)})... | {
"+1": 7,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 7,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21425/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21425/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21426 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21426/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21426/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21426/events | https://github.com/pandas-dev/pandas/issues/21426 | 331,243,456 | MDU6SXNzdWUzMzEyNDM0NTY= | 21,426 | BUG: .nlargest with unsigned integers | {
"avatar_url": "https://avatars.githubusercontent.com/u/9717992?v=4",
"events_url": "https://api.github.com/users/eoincondron/events{/privacy}",
"followers_url": "https://api.github.com/users/eoincondron/followers",
"following_url": "https://api.github.com/users/eoincondron/following{/other_user}",
"gists_ur... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtyp... | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 13 | 2018-06-11T15:41:31Z | 2018-06-15T17:21:37Z | 2018-06-15T17:21:37Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
pd.Series(np.array([0, 0, 0, 100, 1000, 10000, 100], dtype='uint32')).nlargest(5)
0 0
1 0
2 0
5 10000
4 1000
```
#### Problem description
`nlargest` favours `0` above positive values. Common to both `uint32` and `... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 1,
"laugh": 0,
"rocket": 0,
"total_count": 1,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21426/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21426/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21427 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21427/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21427/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21427/events | https://github.com/pandas-dev/pandas/pull/21427 | 331,287,932 | MDExOlB1bGxSZXF1ZXN0MTk0MDU1OTk0 | 21,427 | disallow normalize=True with Tick classes | {
"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... | [
{
"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": "ffa0ff",
"default": false,
"description": "Incorrect or improved er... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 7 | 2018-06-11T17:53:10Z | 2018-06-22T03:27:57Z | 2018-06-14T10:18:24Z | MEMBER | null | The problem: allowing `Tick` objects with `normalize=True` causes addition to lose monotonicity/associativity
```
ts = pd.Timestamp.now()
tick = pd.offsets.Minute(n=4, normalize=True)
>>> ts
Timestamp('2018-06-11 10:50:14.419655')
>>> ts + tick
Timestamp('2018-06-11 00:00:00')
```
- [x] closes #21434
- [x... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21427/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21427/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21427.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21427",
"merged_at": "2018-06-14T10:18:24Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21427.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21427"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21428 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21428/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21428/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21428/events | https://github.com/pandas-dev/pandas/issues/21428 | 331,307,015 | MDU6SXNzdWUzMzEzMDcwMTU= | 21,428 | DataFrame[np.nan] raises TypeError with non-unique columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://ap... | [
{
"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": "d7... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 0 | 2018-06-11T18:50:24Z | 2018-07-07T14:24:57Z | 2018-07-07T14:24:57Z | MEMBER | null | #### Code Sample, a copy-pastable example if possible
```python
In [2]: pd.DataFrame(index=range(3), columns=[1, 2, float('nan'), 2])[float('nan')]
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-inpu... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21428/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21428/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21429 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21429/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21429/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21429/events | https://github.com/pandas-dev/pandas/issues/21429 | 331,307,069 | MDU6SXNzdWUzMzEzMDcwNjk= | 21,429 | Reindex docs question / clarification | {
"avatar_url": "https://avatars.githubusercontent.com/u/714528?v=4",
"events_url": "https://api.github.com/users/bzier/events{/privacy}",
"followers_url": "https://api.github.com/users/bzier/followers",
"following_url": "https://api.github.com/users/bzier/following{/other_user}",
"gists_url": "https://api.gi... | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | open | false | null | [] | null | 4 | 2018-06-11T18:50:32Z | 2021-06-20T04:39:49Z | null | NONE | null | From the bottom of the reindex docs [here](http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.reindex.html); relevant docs source [here](https://github.com/pandas-dev/pandas/blob/9d61ab5aae0dd4ca3f805275c6a8ebcaeef77d64/pandas/core/generic.py#L3605):
>The index entries that did not have a value i... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21429/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21429/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21430 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21430/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21430/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21430/events | https://github.com/pandas-dev/pandas/issues/21430 | 331,318,054 | MDU6SXNzdWUzMzEzMTgwNTQ= | 21,430 | Unexpected Results with Integer Arithmetic | {
"avatar_url": "https://avatars.githubusercontent.com/u/21090016?v=4",
"events_url": "https://api.github.com/users/SirWillae/events{/privacy}",
"followers_url": "https://api.github.com/users/SirWillae/followers",
"following_url": "https://api.github.com/users/SirWillae/following{/other_user}",
"gists_url": "... | [
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
}
] | closed | false | null | [] | null | 1 | 2018-06-11T19:25:44Z | 2018-06-11T21:06:49Z | 2018-06-11T21:06:49Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import pandas as pd
import numpy as np
df = pd.DataFrame({'x': range(7)}, dtype = np.uint8)
df['y'] = 50706 + 9993 * (df.x - 3)
df['yTrue'] = 50706 + 9993 * (df.x - 3.)
print(df)
print(f'dtype of y is {df.y.dtype}')
```
#### Problem descripti... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21430/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21430/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21431 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21431/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21431/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21431/events | https://github.com/pandas-dev/pandas/pull/21431 | 331,371,920 | MDExOlB1bGxSZXF1ZXN0MTk0MTE5ODM2 | 21,431 | BUG: Nrows cannot be zero for read_csv. Fixes #21141 | {
"avatar_url": "https://avatars.githubusercontent.com/u/395294?v=4",
"events_url": "https://api.github.com/users/cgopalan/events{/privacy}",
"followers_url": "https://api.github.com/users/cgopalan/followers",
"following_url": "https://api.github.com/users/cgopalan/following{/other_user}",
"gists_url": "https... | [
{
"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": "r... | closed | false | null | [] | null | 15 | 2018-06-11T22:24:38Z | 2018-06-13T00:49:17Z | 2018-06-12T23:02:36Z | NONE | null | - [x] closes #21141
- [x] tests added / passed
- [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/21431/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21431/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21431.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21431",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/21431.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21431"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21432 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21432/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21432/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21432/events | https://github.com/pandas-dev/pandas/pull/21432 | 331,386,716 | MDExOlB1bGxSZXF1ZXN0MTk0MTMwOTE4 | 21,432 | BUG: Fix Series.nlargest for integer boundary values | {
"avatar_url": "https://avatars.githubusercontent.com/u/5332445?v=4",
"events_url": "https://api.github.com/users/jschendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jschendel/followers",
"following_url": "https://api.github.com/users/jschendel/following{/other_user}",
"gists_url": "h... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtyp... | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 7 | 2018-06-11T23:37:11Z | 2018-06-29T14:50:52Z | 2018-06-15T17:21:37Z | MEMBER | null | - [X] closes #21426
- [X] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [X] whatsnew entry
Also added some similar tests for float and datetimelike dtypes to ensure that the behavior is as desired. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21432/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21432/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21432.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21432",
"merged_at": "2018-06-15T17:21:37Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21432.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21432"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21433 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21433/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21433/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21433/events | https://github.com/pandas-dev/pandas/pull/21433 | 331,390,379 | MDExOlB1bGxSZXF1ZXN0MTk0MTMzNDY4 | 21,433 | DOC: Add 0.23.2 whatsnew template | {
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https:/... | [
{
"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": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 1 | 2018-06-11T23:56:19Z | 2018-06-29T14:45:57Z | 2018-06-12T00:15:30Z | MEMBER | null | Title is self-explanatory.
Copied (almost) directly from #21001.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21433/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21433/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21433.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21433",
"merged_at": "2018-06-12T00:15:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21433.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21433"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21434 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21434/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21434/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21434/events | https://github.com/pandas-dev/pandas/issues/21434 | 331,398,065 | MDU6SXNzdWUzMzEzOTgwNjU= | 21,434 | Tick with normalize=True should be disallowed | {
"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... | [
{
"color": "AD7FA8",
"default": false,
"description": null,
"id": 35818298,
"name": "API Design",
"node_id": "MDU6TGFiZWwzNTgxODI5OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/API%20Design"
},
{
"color": "ffa0ff",
"default": false,
"description": "I... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 0 | 2018-06-12T00:44:37Z | 2018-06-26T08:17:13Z | 2018-06-14T10:18:24Z | MEMBER | null | See #21427
The issue is that a (non-`Day`) `Tick` object with `normalize=True` breaks addition monotonicity/associativity:
```
now = pd.Timestamp.now()
tick = pd.offsets.Minute(n=3, normalize=True)
>>> now
Timestamp('2018-06-11 17:38:10.135400')
>>> now + tick
Timestamp('2018-06-11 00:00:00')
>>> now ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21434/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21434/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21435 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21435/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21435/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21435/events | https://github.com/pandas-dev/pandas/pull/21435 | 331,473,911 | MDExOlB1bGxSZXF1ZXN0MTk0MTkyNDgw | 21,435 | DOC: follow 0.23.1 template for 0.23.2 whatsnew | {
"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{/othe... | [
{
"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": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 3 | 2018-06-12T07:45:09Z | 2018-06-29T14:46:19Z | 2018-06-12T07:54:12Z | MEMBER | null | xref https://github.com/pandas-dev/pandas/pull/21433 (@gfyoung we changed some things since the v0.23.1.txt file was added) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21435/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21435/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21435.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21435",
"merged_at": "2018-06-12T07:54:12Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21435.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21435"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21436 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21436/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21436/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21436/events | https://github.com/pandas-dev/pandas/issues/21436 | 331,478,286 | MDU6SXNzdWUzMzE0NzgyODY= | 21,436 | pip install fails on ppc64le | {
"avatar_url": "https://avatars.githubusercontent.com/u/15922770?v=4",
"events_url": "https://api.github.com/users/thilo-maurer/events{/privacy}",
"followers_url": "https://api.github.com/users/thilo-maurer/followers",
"following_url": "https://api.github.com/users/thilo-maurer/following{/other_user}",
"gist... | [
{
"color": "75507B",
"default": false,
"description": "Library building on various platforms",
"id": 129350,
"name": "Build",
"node_id": "MDU6TGFiZWwxMjkzNTA=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Build"
}
] | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 1 | 2018-06-12T07:59:22Z | 2018-06-26T15:02:18Z | 2018-06-26T15:02:18Z | NONE | null | Installing pandas using `pip install pandas` fails on architecture ppc64le.
```
$> pip install pandas --user
Collecting pandas
Using cached https://files.pythonhosted.org/packages/45/12/1e1ba99fb65df9f7f3724d3232feef35cc044d18604d57492d561e90219f/pandas-0.23.0.tar.gz
Collecting python-dateutil>=2.5.0 (from pan... | {
"+1": 2,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 2,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21436/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21436/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21437 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21437/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21437/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21437/events | https://github.com/pandas-dev/pandas/issues/21437 | 331,478,886 | MDU6SXNzdWUzMzE0Nzg4ODY= | 21,437 | `.diff(axis=1)` gives `NaNs` with different types. | {
"avatar_url": "https://avatars.githubusercontent.com/u/9717992?v=4",
"events_url": "https://api.github.com/users/eoincondron/events{/privacy}",
"followers_url": "https://api.github.com/users/eoincondron/followers",
"following_url": "https://api.github.com/users/eoincondron/following{/other_user}",
"gists_ur... | [
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "006... | closed | false | null | [] | null | 3 | 2018-06-12T08:01:18Z | 2020-09-28T17:42:00Z | 2020-09-28T17:41:59Z | NONE | null |
```python
df = pd.DataFrame({'a': np.arange(3, dtype='float32'), 'b': np.arange(3, dtype='float64')})
df.diff(axis=1)
a b
0 NaN NaN
1 NaN NaN
2 NaN NaN
df = pd.DataFrame({'a': np.arange(3, dtype='int32'), 'b': np.arange(3, dtype='int64')})
df.diff(axis=1)
a b
0 NaN NaN
1 NaN NaN
2 NaN NaN
```
####... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21437/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21437/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21438 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21438/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21438/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21438/events | https://github.com/pandas-dev/pandas/pull/21438 | 331,502,954 | MDExOlB1bGxSZXF1ZXN0MTk0MjE0MzEy | 21,438 | Fix flake8 in conf.py | {
"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{/othe... | [
{
"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": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 0 | 2018-06-12T09:12:50Z | 2018-06-12T09:15:17Z | 2018-06-12T09:15:13Z | MEMBER | null | Sorry, I missed this in the PR of @datapythonista (for some reason travis was not run there) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21438/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21438/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21438.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21438",
"merged_at": "2018-06-12T09:15:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21438.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21438"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21439 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21439/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21439/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21439/events | https://github.com/pandas-dev/pandas/issues/21439 | 331,514,563 | MDU6SXNzdWUzMzE1MTQ1NjM= | 21,439 | Grouping by Categorical columns results in undesirable shape | {
"avatar_url": "https://avatars.githubusercontent.com/u/32527307?v=4",
"events_url": "https://api.github.com/users/cissy7125/events{/privacy}",
"followers_url": "https://api.github.com/users/cissy7125/followers",
"following_url": "https://api.github.com/users/cissy7125/following{/other_user}",
"gists_url": "... | [] | closed | false | null | [] | null | 4 | 2018-06-12T09:45:13Z | 2018-06-12T15:20:21Z | 2018-06-12T15:20:20Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
# Your code here
df = pd.DataFrame([['A1', 'B1', 0, 3],
['A1', 'B1', 1, 2],
['A2', 'B1', 2, 6],
['A2', 'B1', 3, 9],
['A2', 'B1', 4, 2]
], columns=['A', ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21439/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21439/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21440 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21440/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21440/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21440/events | https://github.com/pandas-dev/pandas/pull/21440 | 331,609,386 | MDExOlB1bGxSZXF1ZXN0MTk0Mjk2NzIy | 21,440 | DOC: Add favicon to doc pages | {
"avatar_url": "https://avatars.githubusercontent.com/u/4560057?v=4",
"events_url": "https://api.github.com/users/joelostblom/events{/privacy}",
"followers_url": "https://api.github.com/users/joelostblom/followers",
"following_url": "https://api.github.com/users/joelostblom/following{/other_user}",
"gists_ur... | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 2 | 2018-06-12T14:20:38Z | 2018-06-13T07:58:37Z | 2018-06-13T07:57:30Z | CONTRIBUTOR | null | This is a suggestion for adding a favicon to the doc pages. Having a favicon makes the pandas browser tabs easier to locate, especially with many open tabs or many pinned tabs.
I used the image from the pandas-dev GitHub organization, cropped some of the bars to make it appear less cluttered in the small favicon for... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21440/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21440/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21440.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21440",
"merged_at": "2018-06-13T07:57:30Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21440.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21440"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21441 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21441/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21441/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21441/events | https://github.com/pandas-dev/pandas/issues/21441 | 331,612,777 | MDU6SXNzdWUzMzE2MTI3Nzc= | 21,441 | first_valid_index fails when dataframe has non-unique row index | {
"avatar_url": "https://avatars.githubusercontent.com/u/869232?v=4",
"events_url": "https://api.github.com/users/adamklein/events{/privacy}",
"followers_url": "https://api.github.com/users/adamklein/followers",
"following_url": "https://api.github.com/users/adamklein/following{/other_user}",
"gists_url": "ht... | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e1... | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 1 | 2018-06-12T14:28:29Z | 2018-06-20T10:33:08Z | 2018-06-20T10:33:08Z | CONTRIBUTOR | null | #### Code Sample, a copy-pastable example if possible
```python
In [2]: import pandas as pd
In [3]: pd.__version__
Out[3]: '0.23.0rc2'
In [4]: x = pd.DataFrame({'b': [1,2,3]}, index=[1,1,2])
In [5]: x
Out[5]:
b
1 1
1 2
2 3
In [6]: x.first_valid_index()
-------------------------------------... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21441/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21441/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21442 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21442/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21442/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21442/events | https://github.com/pandas-dev/pandas/pull/21442 | 331,632,629 | MDExOlB1bGxSZXF1ZXN0MTk0MzE0OTc3 | 21,442 | 0.23.1 backports 2 | {
"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}",
"gi... | [
{
"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 | [] | null | 2 | 2018-06-12T15:12:13Z | 2018-06-12T16:30:42Z | 2018-06-12T16:29:56Z | 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/21442/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21442/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21442.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21442",
"merged_at": "2018-06-12T16:29:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21442.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21442"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/21443 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21443/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21443/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21443/events | https://github.com/pandas-dev/pandas/issues/21443 | 331,641,519 | MDU6SXNzdWUzMzE2NDE1MTk= | 21,443 | Merge with Categorical as join key + how='inner' returns wrong output | {
"avatar_url": "https://avatars.githubusercontent.com/u/29611093?v=4",
"events_url": "https://api.github.com/users/TartySG/events{/privacy}",
"followers_url": "https://api.github.com/users/TartySG/followers",
"following_url": "https://api.github.com/users/TartySG/following{/other_user}",
"gists_url": "https:... | [
{
"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": "009800",
"de... | closed | false | null | [] | null | 1 | 2018-06-12T15:32:43Z | 2018-06-12T19:20:41Z | 2018-06-12T19:20:28Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
df = pd.DataFrame([['A', 1],
['B', 2],
['B', 3],
['A', 4]], columns=['Col1', 'Col2'])
df['Col1'] = pd.Categorical(df.Col1)
```

```python
pd.merg... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21443/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21443/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21444 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21444/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21444/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21444/events | https://github.com/pandas-dev/pandas/pull/21444 | 331,646,916 | MDExOlB1bGxSZXF1ZXN0MTk0MzI2MTU3 | 21,444 | Resolves Issue 21344: provide a timedelta in a non-string format | {
"avatar_url": "https://avatars.githubusercontent.com/u/8939021?v=4",
"events_url": "https://api.github.com/users/drewmassey/events{/privacy}",
"followers_url": "https://api.github.com/users/drewmassey/followers",
"following_url": "https://api.github.com/users/drewmassey/following{/other_user}",
"gists_url":... | [
{
"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": "Timedelt... | closed | false | null | [] | null | 3 | 2018-06-12T15:45:49Z | 2018-11-23T03:29:45Z | 2018-11-23T03:29:45Z | NONE | null | - [x] closes #21344
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This extends the API - and there is a judgement call about how to treat nanosecond-resolution pd.Timedelta() objects in the context of datetime.timedelta() 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/21444/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21444/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21444.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21444",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/21444.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21444"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21445 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21445/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21445/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21445/events | https://github.com/pandas-dev/pandas/issues/21445 | 331,648,915 | MDU6SXNzdWUzMzE2NDg5MTU= | 21,445 | Setting types on DataFrame constructor not working, while setting them after construction does. | {
"avatar_url": "https://avatars.githubusercontent.com/u/20728609?v=4",
"events_url": "https://api.github.com/users/acburigo/events{/privacy}",
"followers_url": "https://api.github.com/users/acburigo/followers",
"following_url": "https://api.github.com/users/acburigo/following{/other_user}",
"gists_url": "htt... | [
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "009... | closed | false | null | [] | null | 8 | 2018-06-12T15:50:43Z | 2018-06-18T16:22:07Z | 2018-06-18T16:22:07Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
In [1]: import pandas as pd
In [2]: pd.DataFrame(columns=['a', 'b'], dtype={'a': str, 'b': int})
---------------------------------------------------------------------------
TypeError Traceback (most recent call last... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21445/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21445/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21446 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21446/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21446/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21446/events | https://github.com/pandas-dev/pandas/pull/21446 | 331,667,681 | MDExOlB1bGxSZXF1ZXN0MTk0MzQyMjU0 | 21,446 | DOC: 0.23.1 release | {
"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}",
"gi... | [] | closed | false | null | [] | {
"closed_at": "2018-06-13T03:57:35Z",
"closed_issues": 107,
"created_at": "2018-04-14T14:52:46Z",
"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/jr... | 1 | 2018-06-12T16:42:40Z | 2018-06-12T17:00:56Z | 2018-06-12T16:42:56Z | 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/21446/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21446/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21446.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21446",
"merged_at": "2018-06-12T16:42:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21446.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21446"
} | |
https://api.github.com/repos/pandas-dev/pandas/issues/21447 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21447/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21447/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21447/events | https://github.com/pandas-dev/pandas/pull/21447 | 331,670,057 | MDExOlB1bGxSZXF1ZXN0MTk0MzQ0MDY4 | 21,447 | perf improvements in tslibs.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... | [
{
"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": "a10c02",
"default": false,
"description": "Memory or... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 4 | 2018-06-12T16:49:49Z | 2018-06-22T03:27:54Z | 2018-06-15T17:19:04Z | MEMBER | null | Removes an unnecessary call to `frequencies.to_offset`, one of the last few non-cython dependencies in the file.
will post asv results when available. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21447/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21447/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21447.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21447",
"merged_at": "2018-06-15T17:19:04Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21447.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21447"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21448 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21448/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21448/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21448/events | https://github.com/pandas-dev/pandas/issues/21448 | 331,691,106 | MDU6SXNzdWUzMzE2OTExMDY= | 21,448 | Index.get_indexer_non_unique misbehaves when passed a CategoricalIndex | {
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e1... | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 0 | 2018-06-12T17:54:40Z | 2018-06-13T13:24:02Z | 2018-06-13T13:24:02Z | MEMBER | null | #### Code Sample, a copy-pastable example if possible
```python
In [2]: idx = pd.CategoricalIndex(['a', 'a', 'b', 'b', 'c', 'a'], categories=['c', 'a', 'b', 'e
...: '], dtype='category')
In [3]: key = ['a', 'b']
In [4]: idx.get_indexer_non_unique(key)
Out[4]: (array([0, 1, 5, 2, 3]), array([], dtype=int6... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21448/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21448/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21449 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21449/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21449/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21449/events | https://github.com/pandas-dev/pandas/pull/21449 | 331,694,055 | MDExOlB1bGxSZXF1ZXN0MTk0MzYyMjUz | 21,449 | DOC: Fixed warning in doc build [ci skip] | {
"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}",
"gi... | [
{
"color": "3465A4",
"default": false,
"description": null,
"id": 134699,
"name": "Docs",
"node_id": "MDU6TGFiZWwxMzQ2OTk=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Docs"
}
] | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 1 | 2018-06-12T18:03:10Z | 2018-06-13T08:18:33Z | 2018-06-13T07:55:54Z | CONTRIBUTOR | null | [ci skip] | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21449/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21449/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21449.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21449",
"merged_at": "2018-06-13T07:55:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21449.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21449"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21450 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21450/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21450/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21450/events | https://github.com/pandas-dev/pandas/issues/21450 | 331,708,639 | MDU6SXNzdWUzMzE3MDg2Mzk= | 21,450 | Python -00 test is fragile to PATH | {
"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}",
"gi... | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "5319e7",
"default": false,
"description": ... | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 3 | 2018-06-12T18:46:48Z | 2018-06-13T10:25:59Z | 2018-06-13T10:25:59Z | CONTRIBUTOR | null | https://github.com/pandas-dev/pandas/blob/ab668b0a56a9f2aee959bde787e9a0af4068d7a7/pandas/tests/test_downstream.py#L60
that assumes that first `python` on the PATH is the one running the tests, which it may not be (e.g. if doing `./venv/bin/python`
We should replace `python` with something like `sys.executable`. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21450/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21450/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21451 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21451/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21451/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21451/events | https://github.com/pandas-dev/pandas/pull/21451 | 331,719,026 | MDExOlB1bGxSZXF1ZXN0MTk0MzgxMzE3 | 21,451 | PERF: Use ccalendar.get_days_in_month over tslib.monthrange | {
"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... | [
{
"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": "a10c02",
"default": false,
"description": "Memory or... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 3 | 2018-06-12T19:19:24Z | 2018-06-13T14:43:49Z | 2018-06-13T10:32:55Z | MEMBER | null | asv looks like a wash, probably to be expected since these calls make up such a small part of the methods they are used in.
tslibs.resolution uses the stdlib calendar.monthrange instead of tslib.monthrange, so the perf bump should be bigger there. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21451/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21451/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21451.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21451",
"merged_at": "2018-06-13T10:32:55Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21451.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21451"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21452 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21452/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21452/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21452/events | https://github.com/pandas-dev/pandas/pull/21452 | 331,721,795 | MDExOlB1bGxSZXF1ZXN0MTk0MzgzNDM5 | 21,452 | PERF: typing and cdefs for tslibs.resolution | {
"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... | [
{
"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": "a10c02",
"default": false,
"description": "Memory or... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 4 | 2018-06-12T19:28:29Z | 2018-06-22T03:27:55Z | 2018-06-14T10:12:02Z | MEMBER | null | Moving things lower-level will help improve performance (due in part to better Cython compilation). | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21452/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21452/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21452.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21452",
"merged_at": "2018-06-14T10:12:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21452.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21452"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21453 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21453/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21453/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21453/events | https://github.com/pandas-dev/pandas/pull/21453 | 331,745,402 | MDExOlB1bGxSZXF1ZXN0MTk0NDAxNTAw | 21,453 | Fix tests fragile to PATH | {
"avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4",
"events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}",
"followers_url": "https://api.github.com/users/alimcmaster1/followers",
"following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}",
"gist... | [
{
"color": "a2bca7",
"default": false,
"description": "Continuous Integration",
"id": 48070600,
"name": "CI",
"node_id": "MDU6TGFiZWw0ODA3MDYwMA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/CI"
},
{
"color": "5319e7",
"default": false,
"description": ... | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 2 | 2018-06-12T20:40:42Z | 2018-08-11T18:10:13Z | 2018-06-13T10:25:59Z | CONTRIBUTOR | null | Closes #21450
Get path of current python interpreter running opposed to one on users path.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21453/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21453/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21453.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21453",
"merged_at": "2018-06-13T10:25:59Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21453.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21453"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21454 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21454/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21454/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21454/events | https://github.com/pandas-dev/pandas/issues/21454 | 331,748,432 | MDU6SXNzdWUzMzE3NDg0MzI= | 21,454 | pd.read_json converts large floats to inf | {
"avatar_url": "https://avatars.githubusercontent.com/u/7929511?v=4",
"events_url": "https://api.github.com/users/mtrudeau314/events{/privacy}",
"followers_url": "https://api.github.com/users/mtrudeau314/followers",
"following_url": "https://api.github.com/users/mtrudeau314/following{/other_user}",
"gists_ur... | [
{
"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... | open | false | null | [] | null | 2 | 2018-06-12T20:50:01Z | 2021-06-20T04:44:56Z | null | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
pd.DataFrame({'A': [np.finfo(np.float64).max]}).to_json(orient='table')
'{"schema": {"fields":[{"name":"index","type":"integer"},{"name":"A","type":"number"}],"primaryKey":["index"],"pandas_version":"0.20.0"}, "data": [{"index":0,"A":1.797693135e+30... | {
"+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/21454/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21454/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21455 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21455/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21455/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21455/events | https://github.com/pandas-dev/pandas/issues/21455 | 331,808,054 | MDU6SXNzdWUzMzE4MDgwNTQ= | 21,455 | Potential version 23 upgrade bug with pd.to_sql on Windows 7? | {
"avatar_url": "https://avatars.githubusercontent.com/u/39680717?v=4",
"events_url": "https://api.github.com/users/jwnich93/events{/privacy}",
"followers_url": "https://api.github.com/users/jwnich93/followers",
"following_url": "https://api.github.com/users/jwnich93/following{/other_user}",
"gists_url": "htt... | [] | 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/jorisva... | 5 | 2018-06-13T01:22:47Z | 2018-06-18T22:24:11Z | 2018-06-18T22:24:10Z | NONE | null | Potential version 23 upgrade bug with pd.to_sql on Windows 7?
#### Code Sample, a copy-pastable example if possible
pd.to_sql('TEST_TABLE', con=con, if_exists = 'replace')
worked fine but then failed immedietly after i upgraded to version 23.
i downgraded to version 22, and now it works fine like a charm, but... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21455/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21455/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21456 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21456/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21456/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21456/events | https://github.com/pandas-dev/pandas/pull/21456 | 331,860,696 | MDExOlB1bGxSZXF1ZXN0MTk0NDg0Mzk5 | 21,456 | API/BUG: Raise when int-dtype coercions fail | {
"avatar_url": "https://avatars.githubusercontent.com/u/9273653?v=4",
"events_url": "https://api.github.com/users/gfyoung/events{/privacy}",
"followers_url": "https://api.github.com/users/gfyoung/followers",
"following_url": "https://api.github.com/users/gfyoung/following{/other_user}",
"gists_url": "https:/... | [
{
"color": "e102d8",
"default": false,
"description": "Unexpected or buggy dtype conversions",
"id": 31404521,
"name": "Dtype Conversions",
"node_id": "MDU6TGFiZWwzMTQwNDUyMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Dtype%20Conversions"
},
{
"color": "ffa... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 7 | 2018-06-13T06:39:59Z | 2020-12-20T17:34:52Z | 2018-06-20T10:35:11Z | MEMBER | null | Related to the Index and Series constructors.
Closes #15832.
cc @ucals (since this is mostly based off what you did in #15859) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21456/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21456/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21456.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21456",
"merged_at": "2018-06-20T10:35:10Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21456.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21456"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21457 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21457/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21457/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21457/events | https://github.com/pandas-dev/pandas/pull/21457 | 331,894,253 | MDExOlB1bGxSZXF1ZXN0MTk0NTA4NjYw | 21,457 | BUG: fix get_indexer_non_unique with CategoricalIndex key | {
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e1... | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 1 | 2018-06-13T08:34:17Z | 2018-06-29T14:48:15Z | 2018-06-13T13:24:02Z | MEMBER | null | - [x] closes #21448
- [x] tests added / passed
- [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/21457/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21457/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21457.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21457",
"merged_at": "2018-06-13T13:24:02Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21457.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21457"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21458 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21458/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21458/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21458/events | https://github.com/pandas-dev/pandas/issues/21458 | 331,932,698 | MDU6SXNzdWUzMzE5MzI2OTg= | 21,458 | Using series.str with compiled regular expressions. Problem with is_re | {
"avatar_url": "https://avatars.githubusercontent.com/u/19408607?v=4",
"events_url": "https://api.github.com/users/florentguymartin/events{/privacy}",
"followers_url": "https://api.github.com/users/florentguymartin/followers",
"following_url": "https://api.github.com/users/florentguymartin/following{/other_use... | [] | closed | false | null | [] | null | 3 | 2018-06-13T10:22:27Z | 2018-06-13T12:03:38Z | 2018-06-13T11:28:24Z | NONE | null | I am using pandas 0.23.1 with python 3.6.4
```
import pandas as pd
import regex as re
s = pd.Series(['foo', 'bar'])
pat = re.compile('a')
s.str.replace(pat, ' ')
```
Raises the error
```
---------------------------------------------------------------------------
TypeError Trac... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21458/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21458/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21459 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21459/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21459/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21459/events | https://github.com/pandas-dev/pandas/issues/21459 | 331,963,750 | MDU6SXNzdWUzMzE5NjM3NTA= | 21,459 | DataFrame.resample week with DST | {
"avatar_url": "https://avatars.githubusercontent.com/u/16164344?v=4",
"events_url": "https://api.github.com/users/maartenhollenga/events{/privacy}",
"followers_url": "https://api.github.com/users/maartenhollenga/followers",
"following_url": "https://api.github.com/users/maartenhollenga/following{/other_user}"... | [
{
"color": "5319e7",
"default": false,
"description": "Timezone data dtype",
"id": 60458168,
"name": "Timezones",
"node_id": "MDU6TGFiZWw2MDQ1ODE2OA==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Timezones"
},
{
"color": "207de5",
"default": false,
"des... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 2 | 2018-06-13T12:00:35Z | 2018-10-03T15:25:45Z | 2018-10-03T15:25:45Z | NONE | null | #### Code Sample
```python
import pandas
import pytz
dataframe_1 = pandas.DataFrame(index=pandas.DatetimeIndex(
['2017-03-04 00:00', '2017-03-05 00:00', '2017-03-06 00:00', '2017-03-07 00:00', '2017-03-08 00:00'],
tz=pytz.timezone('Europe/Amsterdam')),
data=[11, 12, 13, 14, 15])
resampled_1 = da... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21459/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21459/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21460 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21460/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21460/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21460/events | https://github.com/pandas-dev/pandas/issues/21460 | 331,969,441 | MDU6SXNzdWUzMzE5Njk0NDE= | 21,460 | How to replicate a pivot_table WITHOUT using a pivot table | {
"avatar_url": "https://avatars.githubusercontent.com/u/21087061?v=4",
"events_url": "https://api.github.com/users/uds5501/events{/privacy}",
"followers_url": "https://api.github.com/users/uds5501/followers",
"following_url": "https://api.github.com/users/uds5501/following{/other_user}",
"gists_url": "https:... | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | null | 2 | 2018-06-13T12:18:37Z | 2018-06-13T12:44:03Z | 2018-06-13T12:38:44Z | CONTRIBUTOR | null | #### Code Sample, a copy-pastable example if possible
```python
# Your code here
idx = [np.nan, 'low', 'high', 'low', np.nan]
col = [np.nan, 'A', 'B', np.nan, 'A']
df = pd.DataFrame({
... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21460/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21460/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21461 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21461/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21461/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21461/events | https://github.com/pandas-dev/pandas/issues/21461 | 331,993,762 | MDU6SXNzdWUzMzE5OTM3NjI= | 21,461 | Issue with head() on custom dtype | {
"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_ur... | [
{
"color": "6138b5",
"default": false,
"description": "Extending pandas with custom dtypes or arrays.",
"id": 849023693,
"name": "ExtensionArray",
"node_id": "MDU6TGFiZWw4NDkwMjM2OTM=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/ExtensionArray"
}
] | closed | false | null | [] | {
"closed_at": 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/jorisva... | 12 | 2018-06-13T13:25:38Z | 2018-06-18T12:37:13Z | 2018-06-13T20:12:19Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
class NumPyBackedExtensionArrayMixin(ExtensionArray):
"""
Geo-Specific Extension Array Mixin
"""
@property
def dtype(self):
"""The dtype for this extension array, GeoType"""
return self._dtype
@classmet... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21461/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21461/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21462 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21462/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21462/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21462/events | https://github.com/pandas-dev/pandas/pull/21462 | 332,015,226 | MDExOlB1bGxSZXF1ZXN0MTk0NjAxOTg3 | 21,462 | Removing an un-needed conditional in np_datetime_strings.c | {
"avatar_url": "https://avatars.githubusercontent.com/u/21087061?v=4",
"events_url": "https://api.github.com/users/uds5501/events{/privacy}",
"followers_url": "https://api.github.com/users/uds5501/followers",
"following_url": "https://api.github.com/users/uds5501/following{/other_user}",
"gists_url": "https:... | [
{
"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,
... | closed | false | null | [] | null | 12 | 2018-06-13T14:16:25Z | 2018-11-23T03:26:42Z | 2018-11-23T03:26:42Z | CONTRIBUTOR | null |
- [x] closes #21422
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
PS: I was not able to build this properly on my setup, so would wait for the test builds to run.
Also, in which version should I put a whatsnew entry in? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21462/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21462/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21462.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21462",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/21462.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21462"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21463 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21463/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21463/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21463/events | https://github.com/pandas-dev/pandas/issues/21463 | 332,016,922 | MDU6SXNzdWUzMzIwMTY5MjI= | 21,463 | Resample function documentation does not explain 'how' argument | {
"avatar_url": "https://avatars.githubusercontent.com/u/17951720?v=4",
"events_url": "https://api.github.com/users/MikeWoodward/events{/privacy}",
"followers_url": "https://api.github.com/users/MikeWoodward/followers",
"following_url": "https://api.github.com/users/MikeWoodward/following{/other_user}",
"gist... | [
{
"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": 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/jorisva... | 1 | 2018-06-13T14:20:00Z | 2018-06-13T18:07:42Z | 2018-06-13T18:07:41Z | NONE | null | Current documentation for resample function does not document 'how' argument:
[Resample documentation](https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.resample.html)
Previous versions of Pandas did document this argument:
[Old resample documentation](https://pandas.pydata.org/pandas-doc... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21463/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21463/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21464 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21464/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21464/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21464/events | https://github.com/pandas-dev/pandas/issues/21464 | 332,041,571 | MDU6SXNzdWUzMzIwNDE1NzE= | 21,464 | set_index fails on enum | {
"avatar_url": "https://avatars.githubusercontent.com/u/16296708?v=4",
"events_url": "https://api.github.com/users/kasuteru/events{/privacy}",
"followers_url": "https://api.github.com/users/kasuteru/followers",
"following_url": "https://api.github.com/users/kasuteru/following{/other_user}",
"gists_url": "htt... | [
{
"color": "009800",
"default": false,
"description": "Duplicate issue or pull request",
"id": 40153326,
"name": "Duplicate Report",
"node_id": "MDU6TGFiZWw0MDE1MzMyNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Duplicate%20Report"
}
] | closed | false | null | [] | null | 2 | 2018-06-13T15:14:45Z | 2018-06-13T16:01:12Z | 2018-06-13T16:01:02Z | CONTRIBUTOR | null | #### Code Sample
Create an Enum as described in the [Python docs](https://docs.python.org/3/library/enum.html), then create a dataframe and try to set multiindex:
```python
from enum import Enum
import pandas as pd
class Method(Enum):
LINEAR = 1
CONSTANT= 2
df = pd.DataFrame(data={"a":[Metho... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21464/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21464/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21465 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21465/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21465/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21465/events | https://github.com/pandas-dev/pandas/pull/21465 | 332,066,962 | MDExOlB1bGxSZXF1ZXN0MTk0NjQxNDk0 | 21,465 | DOC : Update generic.py | {
"avatar_url": "https://avatars.githubusercontent.com/u/21087061?v=4",
"events_url": "https://api.github.com/users/uds5501/events{/privacy}",
"followers_url": "https://api.github.com/users/uds5501/followers",
"following_url": "https://api.github.com/users/uds5501/following{/other_user}",
"gists_url": "https:... | [] | closed | false | null | [] | null | 2 | 2018-06-13T16:15:12Z | 2018-06-13T18:07:59Z | 2018-06-13T18:07:58Z | CONTRIBUTOR | null | Included documentation for 'how' in DataFrame.resample
- [x] closes #21463
- [ ] tests added / passed
- [ ] 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/21465/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21465/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21465.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21465",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/21465.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21465"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21466 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21466/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21466/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21466/events | https://github.com/pandas-dev/pandas/issues/21466 | 332,067,688 | MDU6SXNzdWUzMzIwNjc2ODg= | 21,466 | Hdf5/ TimedeltaIndex storing not working property (table format) | {
"avatar_url": "https://avatars.githubusercontent.com/u/11762070?v=4",
"events_url": "https://api.github.com/users/JerSefJeTu/events{/privacy}",
"followers_url": "https://api.github.com/users/JerSefJeTu/followers",
"following_url": "https://api.github.com/users/JerSefJeTu/following{/other_user}",
"gists_url"... | [
{
"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": "read_hdf, HDFStore",
... | open | false | null | [] | null | 2 | 2018-06-13T16:17:07Z | 2020-04-01T03:22:53Z | null | NONE | null | #### When i save DataFrame with method to_hdf and i passed parameter format="table" I get strange behavior when I read the file, because my index is a different datatype than I recorded a file.
~~~python
import pandas as pd
import numpy as np
df = pd.DataFrame(np.random.normal(size=(10,5)))
df.index = pd.timed... | {
"+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/21466/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21466/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21467 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21467/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21467/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21467/events | https://github.com/pandas-dev/pandas/pull/21467 | 332,085,341 | MDExOlB1bGxSZXF1ZXN0MTk0NjU1NTUx | 21,467 | Adding Multiindex support to dataframe pivot function(Fixes #21425) | {
"avatar_url": "https://avatars.githubusercontent.com/u/21965025?v=4",
"events_url": "https://api.github.com/users/NikhilKumarM/events{/privacy}",
"followers_url": "https://api.github.com/users/NikhilKumarM/followers",
"following_url": "https://api.github.com/users/NikhilKumarM/following{/other_user}",
"gist... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stac... | closed | false | null | [] | null | 23 | 2018-06-13T17:09:24Z | 2019-02-06T03:30:56Z | 2019-02-06T03:30:55Z | CONTRIBUTOR | null | - [x] closes #21425
- [x] tests added/passed:
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew : Now dataframe.pivot function can take multiple columns as index
Added extra case to handle indexing on multiple colums in dataframe.pivot 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/21467/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21467/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21467.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21467",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/21467.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21467"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21468 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21468/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21468/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21468/events | https://github.com/pandas-dev/pandas/issues/21468 | 332,156,358 | MDU6SXNzdWUzMzIxNTYzNTg= | 21,468 | Feature request: adding read_ods function | {
"avatar_url": "https://avatars.githubusercontent.com/u/12762442?v=4",
"events_url": "https://api.github.com/users/Foadsf/events{/privacy}",
"followers_url": "https://api.github.com/users/Foadsf/followers",
"following_url": "https://api.github.com/users/Foadsf/following{/other_user}",
"gists_url": "https://a... | [
{
"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": "06909A",
"default": false,
"description": "IO issue... | closed | false | null | [] | null | 2 | 2018-06-13T20:42:53Z | 2018-06-13T22:18:15Z | 2018-06-13T21:07:27Z | NONE | null | It came to me as a surprise that Pandas has builtin `read_excel` function but it is not able to read `.ods` fils natively | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21468/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21468/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21469 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21469/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21469/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21469/events | https://github.com/pandas-dev/pandas/issues/21469 | 332,192,619 | MDU6SXNzdWUzMzIxOTI2MTk= | 21,469 | Series (but not DataFrame) combine_first() loses timezone information | {
"avatar_url": "https://avatars.githubusercontent.com/u/546210?v=4",
"events_url": "https://api.github.com/users/Liam3851/events{/privacy}",
"followers_url": "https://api.github.com/users/Liam3851/followers",
"following_url": "https://api.github.com/users/Liam3851/following{/other_user}",
"gists_url": "https... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on s... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 4 | 2018-06-13T22:50:38Z | 2018-07-02T23:54:23Z | 2018-07-02T23:54:23Z | CONTRIBUTOR | null | #### Code Sample, a copy-pastable example if possible
```python
dts1 = pd.date_range('20150101','20150105',tz='UTC')
df1 = pd.DataFrame({'DATE':dts1})
dts2 = pd.date_range('20150103','20150105',tz='UTC')
df2 = pd.DataFrame({'DATE':dts2})
df = df1.combine_first(df2) ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21469/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21469/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21470 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21470/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21470/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21470/events | https://github.com/pandas-dev/pandas/issues/21470 | 332,201,264 | MDU6SXNzdWUzMzIyMDEyNjQ= | 21,470 | Index created from empty generator raises TypeError | {
"avatar_url": "https://avatars.githubusercontent.com/u/546210?v=4",
"events_url": "https://api.github.com/users/Liam3851/events{/privacy}",
"followers_url": "https://api.github.com/users/Liam3851/followers",
"following_url": "https://api.github.com/users/Liam3851/following{/other_user}",
"gists_url": "https... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used ... | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 0 | 2018-06-13T23:32:21Z | 2018-06-18T22:43:28Z | 2018-06-18T22:43:28Z | CONTRIBUTOR | null | #### Code Sample, a copy-pastable example if possible
```python
# returns Index([], dtype='object')
pd.Index([])
# returns Index(['a', 'b', 'c'], dtype='object')
pd.Index(x for x in ['a', 'b', 'c'])
# raises TypeError: Cannot infer number of levels from empty list
pd.Index(x for x in [])
```
#### Pro... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21470/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21470/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21471 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21471/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21471/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21471/events | https://github.com/pandas-dev/pandas/issues/21471 | 332,207,625 | MDU6SXNzdWUzMzIyMDc2MjU= | 21,471 | to_csv regression in 0.23.1 | {
"avatar_url": "https://avatars.githubusercontent.com/u/9382463?v=4",
"events_url": "https://api.github.com/users/francois-a/events{/privacy}",
"followers_url": "https://api.github.com/users/francois-a/followers",
"following_url": "https://api.github.com/users/francois-a/following{/other_user}",
"gists_url":... | [
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": ... | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 12 | 2018-06-14T00:10:00Z | 2018-06-19T16:58:31Z | 2018-06-19T16:58:30Z | NONE | null | Writing to gzip no longer works with 0.23.1:
```
with gzip.open('test.txt.gz', 'wt') as f:
pd.DataFrame([0,1],index=['a','b'], columns=['c']).to_csv(f, sep='\t')
```
produces corrupted output. This works fine in 0.23.0.
Presumably this is related to #21241 and #21118. | {
"+1": 3,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 3,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21471/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21471/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21472 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21472/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21472/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21472/events | https://github.com/pandas-dev/pandas/pull/21472 | 332,225,806 | MDExOlB1bGxSZXF1ZXN0MTk0NzYwOTgx | 21,472 | BUG #21374: Fix divison with complex numbers in eval() method | {
"avatar_url": "https://avatars.githubusercontent.com/u/10814987?v=4",
"events_url": "https://api.github.com/users/fillipe-gsm/events{/privacy}",
"followers_url": "https://api.github.com/users/fillipe-gsm/followers",
"following_url": "https://api.github.com/users/fillipe-gsm/following{/other_user}",
"gists_u... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, ... | closed | false | null | [] | null | 5 | 2018-06-14T02:07:36Z | 2018-09-25T16:49:20Z | 2018-09-25T16:49:20Z | NONE | null | - [ ] closes #21374
- [ ] tests added / passed
```python
data = {"a": [1 + 2j], "b": [1 + 1j]}
df = pd.DataFrame(data = data)
df.eval("a/b")
```
Expected output:
```python
df["a"]/df["b"]
0 (1.5+0.5j)
dtype: complex128
```
New result:
```python
df.eval("a/b")
0 (1.5+0.5j)
dtype: complex128
... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21472/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21472/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21472.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21472",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/21472.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21472"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21473 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21473/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21473/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21473/events | https://github.com/pandas-dev/pandas/issues/21473 | 332,275,347 | MDU6SXNzdWUzMzIyNzUzNDc= | 21,473 | what is the different of str and object? when date.series.astype() | {
"avatar_url": "https://avatars.githubusercontent.com/u/30951670?v=4",
"events_url": "https://api.github.com/users/falseform/events{/privacy}",
"followers_url": "https://api.github.com/users/falseform/followers",
"following_url": "https://api.github.com/users/falseform/following{/other_user}",
"gists_url": "... | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | null | 1 | 2018-06-14T07:03:15Z | 2018-06-14T11:25:40Z | 2018-06-14T11:25:29Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
relatedobjid
5328242781
5328280661
5328282538
5328350087
5328398153
5328452557
5328452719
5328454338
5328463804
5328511640
5328512890
5328517629
5328535452
5328541156
aa=pd.read_clipboard()
##i want the following result
a1=','.joi... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21473/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21473/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21474 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21474/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21474/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21474/events | https://github.com/pandas-dev/pandas/issues/21474 | 332,324,718 | MDU6SXNzdWUzMzIzMjQ3MTg= | 21,474 | how to sort_index when having 2 levels columns | {
"avatar_url": "https://avatars.githubusercontent.com/u/40259547?v=4",
"events_url": "https://api.github.com/users/irlandxp/events{/privacy}",
"followers_url": "https://api.github.com/users/irlandxp/followers",
"following_url": "https://api.github.com/users/irlandxp/following{/other_user}",
"gists_url": "htt... | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | null | 1 | 2018-06-14T09:36:06Z | 2018-06-14T11:24:13Z | 2018-06-14T11:24:06Z | NONE | null | #### Code Sample, a copy-pastable example if possible
import pandas as pd
unames = ['user_id','gender','age','occupation','zip']
users = pd.read_table('D:/ProgramData/movielens/users.dat',sep='::', header=None, names=unames)
rnames = ['user_id','movie_id','rating','timestamp']
ratings = pd.read_table('D:/Progr... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21474/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21474/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21475 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21475/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21475/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21475/events | https://github.com/pandas-dev/pandas/issues/21475 | 332,345,132 | MDU6SXNzdWUzMzIzNDUxMzI= | 21,475 | CLN: remove SimpleMock from pandas.util.testing | {
"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://... | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"d... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 2 | 2018-06-14T10:34:24Z | 2018-06-15T17:27:20Z | 2018-06-15T17:27:20Z | CONTRIBUTOR | null | not used anywhere | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21475/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21475/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21476 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21476/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21476/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21476/events | https://github.com/pandas-dev/pandas/issues/21476 | 332,369,811 | MDU6SXNzdWUzMzIzNjk4MTE= | 21,476 | inplace clipping does not account for mixed precision | {
"avatar_url": "https://avatars.githubusercontent.com/u/1529400?v=4",
"events_url": "https://api.github.com/users/crepererum/events{/privacy}",
"followers_url": "https://api.github.com/users/crepererum/followers",
"following_url": "https://api.github.com/users/crepererum/following{/other_user}",
"gists_url":... | [
{
"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": "4530B5",
"default": false,
"description": "Relating to inplace para... | open | false | null | [] | null | 2 | 2018-06-14T11:55:07Z | 2021-10-29T02:19:40Z | null | CONTRIBUTOR | null | #### Code Sample, a copy-pastable example if possible
This is just one case that can go wrong, but other edge cases are possible (see listing below)
```python
import numpy as np
import pandas as pd
series = pd.Series([0], dtype=np.float32)
upper = pd.Series([-np.finfo(np.float64).tiny], dtype=np.float64)
s... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21476/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21476/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21477 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21477/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21477/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21477/events | https://github.com/pandas-dev/pandas/pull/21477 | 332,372,336 | MDExOlB1bGxSZXF1ZXN0MTk0ODcwMjgw | 21,477 | BUG: inconsistency between replace dict using integers and using strings (#20656) | {
"avatar_url": "https://avatars.githubusercontent.com/u/13047435?v=4",
"events_url": "https://api.github.com/users/peterpanmj/events{/privacy}",
"followers_url": "https://api.github.com/users/peterpanmj/followers",
"following_url": "https://api.github.com/users/peterpanmj/following{/other_user}",
"gists_url"... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "5319e7",
"default": false,
"description": "String extension data ty... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 9 | 2018-06-14T12:03:13Z | 2018-08-09T10:51:59Z | 2018-08-09T10:51:54Z | CONTRIBUTOR | null | - [x] closes #20656
- [x] tests added / passed
- [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/21477/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21477/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21477.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21477",
"merged_at": "2018-08-09T10:51:54Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21477.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21477"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21478 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21478/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21478/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21478/events | https://github.com/pandas-dev/pandas/pull/21478 | 332,487,533 | MDExOlB1bGxSZXF1ZXN0MTk0OTU5MDQ1 | 21,478 | BUG/REG: file-handle object handled incorrectly in to_csv | {
"avatar_url": "https://avatars.githubusercontent.com/u/14131823?v=4",
"events_url": "https://api.github.com/users/minggli/events{/privacy}",
"followers_url": "https://api.github.com/users/minggli/followers",
"following_url": "https://api.github.com/users/minggli/following{/other_user}",
"gists_url": "https:... | [
{
"color": "e11d21",
"default": false,
"description": "Functionality that used to work in a prior pandas version",
"id": 32815646,
"name": "Regression",
"node_id": "MDU6TGFiZWwzMjgxNTY0Ng==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Regression"
},
{
"color": ... | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 8 | 2018-06-14T17:03:53Z | 2018-06-29T14:57:18Z | 2018-06-18T22:45:26Z | CONTRIBUTOR | null | - [x] closes #https://github.com/pandas-dev/pandas/issues/21471
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This error related to PR #21249 and https://github.com/pandas-dev/pandas/issues/21227. This is never supported use case and to use fi... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21478/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21478/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21478.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21478",
"merged_at": "2018-06-18T22:45:26Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21478.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21478"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21479 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21479/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21479/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21479/events | https://github.com/pandas-dev/pandas/issues/21479 | 332,491,713 | MDU6SXNzdWUzMzI0OTE3MTM= | 21,479 | handling compression: filename vs magic numbers | {
"avatar_url": "https://avatars.githubusercontent.com/u/2942215?v=4",
"events_url": "https://api.github.com/users/smsaladi/events{/privacy}",
"followers_url": "https://api.github.com/users/smsaladi/followers",
"following_url": "https://api.github.com/users/smsaladi/following{/other_user}",
"gists_url": "http... | [
{
"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": "06909A",
"default": false,
"description": "IO issue... | open | false | null | [] | null | 2 | 2018-06-14T17:17:27Z | 2020-05-02T04:23:45Z | null | CONTRIBUTOR | null | biopython/biopython#1686 is discussing reading in compressed files. pandas handles this pretty nicely (never run into issues myself), but it looks like the code infers the compression from the file extension.
https://github.com/pandas-dev/pandas/blob/v0.23.1/pandas/io/common.py#L238
Why do this over sniffing for... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21479/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21479/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21480 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21480/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21480/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21480/events | https://github.com/pandas-dev/pandas/issues/21480 | 332,492,884 | MDU6SXNzdWUzMzI0OTI4ODQ= | 21,480 | How does Pandas from python reads the timestamp to datetime64? (HDF5) | {
"avatar_url": "https://avatars.githubusercontent.com/u/38329059?v=4",
"events_url": "https://api.github.com/users/Arthurobdfv/events{/privacy}",
"followers_url": "https://api.github.com/users/Arthurobdfv/followers",
"following_url": "https://api.github.com/users/Arthurobdfv/following{/other_user}",
"gists_u... | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | null | 1 | 2018-06-14T17:21:34Z | 2018-06-14T17:23:33Z | 2018-06-14T17:23:21Z | NONE | null | I'm creating an application on C# that generates a hdf5 document with one row of the compound data being a timestamp (using unix timestamp), and i wish i could load this hdf5 in pandas and it load the timestamp column as a datetime64. I've tried to create the file from pandas and i saw it creates the dataset with a lot... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21480/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21480/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21481 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21481/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21481/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21481/events | https://github.com/pandas-dev/pandas/pull/21481 | 332,494,362 | MDExOlB1bGxSZXF1ZXN0MTk0OTY0MjQ1 | 21,481 | BUG: Fix Index construction when given empty generator (#21470). | {
"avatar_url": "https://avatars.githubusercontent.com/u/546210?v=4",
"events_url": "https://api.github.com/users/Liam3851/events{/privacy}",
"followers_url": "https://api.github.com/users/Liam3851/followers",
"following_url": "https://api.github.com/users/Liam3851/following{/other_user}",
"gists_url": "https... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "e11d21",
"default": false,
"description": "Functionality that used ... | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 4 | 2018-06-14T17:26:40Z | 2018-06-29T14:56:58Z | 2018-06-18T22:43:28Z | CONTRIBUTOR | null | - [ ] closes #21470
- [ ] tests added / passed
- [ ] 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/21481/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21481/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21481.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21481",
"merged_at": "2018-06-18T22:43:27Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21481.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21481"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21482 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21482/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21482/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21482/events | https://github.com/pandas-dev/pandas/pull/21482 | 332,495,310 | MDExOlB1bGxSZXF1ZXN0MTk0OTY1MDA3 | 21,482 | Removing SimpleMock test from pandas.util.testing | {
"avatar_url": "https://avatars.githubusercontent.com/u/21087061?v=4",
"events_url": "https://api.github.com/users/uds5501/events{/privacy}",
"followers_url": "https://api.github.com/users/uds5501/followers",
"following_url": "https://api.github.com/users/uds5501/following{/other_user}",
"gists_url": "https:... | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "207de5",
"d... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 7 | 2018-06-14T17:29:51Z | 2018-06-15T17:29:21Z | 2018-06-15T17:27:20Z | CONTRIBUTOR | null | Removing SimpleMock test
- [x] closes #21475
- [ ] tests added / passed
- [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/21482/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21482/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21482.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21482",
"merged_at": "2018-06-15T17:27:20Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21482.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21482"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21483 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21483/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21483/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21483/events | https://github.com/pandas-dev/pandas/issues/21483 | 332,499,832 | MDU6SXNzdWUzMzI0OTk4MzI= | 21,483 | is_list_like missing implementation | {
"avatar_url": "https://avatars.githubusercontent.com/u/38595255?v=4",
"events_url": "https://api.github.com/users/G-Demleitner/events{/privacy}",
"followers_url": "https://api.github.com/users/G-Demleitner/followers",
"following_url": "https://api.github.com/users/G-Demleitner/following{/other_user}",
"gist... | [] | 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/jorisva... | 1 | 2018-06-14T17:43:59Z | 2018-06-14T18:07:12Z | 2018-06-14T18:05:07Z | NONE | null | in `pandas_datareader` file `fred.py`you find:
```
from pandas.core.common import is_list_like
```
but it is not implemented any more. Some software relies on it, p.e. Orange3 Time Series
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21483/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21483/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21484 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21484/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21484/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21484/events | https://github.com/pandas-dev/pandas/issues/21484 | 332,529,416 | MDU6SXNzdWUzMzI1Mjk0MTY= | 21,484 | Timedelta.__bool__ incorrect for nanosecond-only timedeltas | {
"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}",
"gi... | [
{
"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": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 0 | 2018-06-14T19:14:11Z | 2018-06-18T22:39:39Z | 2018-06-18T22:39:39Z | CONTRIBUTOR | null | ```python
In [3]: bool(pd.Timedelta(nanoseconds=1))
Out[3]: False
In [4]: bool(pd.Timedelta(microseconds=1))
Out[4]: True
```
pr coming shortly. | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21484/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21484/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21485 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21485/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21485/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21485/events | https://github.com/pandas-dev/pandas/pull/21485 | 332,531,881 | MDExOlB1bGxSZXF1ZXN0MTk0OTkyNzY1 | 21,485 | BUG: Timedelta.__bool__ | {
"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}",
"gi... | [
{
"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": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 3 | 2018-06-14T19:22:11Z | 2018-06-29T14:56:38Z | 2018-06-18T22:39:39Z | CONTRIBUTOR | null | Closes #21484 | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21485/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21485/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21485.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21485",
"merged_at": "2018-06-18T22:39:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21485.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21485"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21486 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21486/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21486/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21486/events | https://github.com/pandas-dev/pandas/pull/21486 | 332,542,439 | MDExOlB1bGxSZXF1ZXN0MTk1MDAwODUw | 21,486 | API/COMPAT: support axis=None for logical reduction (reduce over all axes) | {
"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}",
"gi... | [
{
"color": "006b75",
"default": false,
"description": "Arithmetic, Comparison, and Logical operations",
"id": 47223669,
"name": "Numeric Operations",
"node_id": "MDU6TGFiZWw0NzIyMzY2OQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Numeric%20Operations"
},
{
"c... | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 4 | 2018-06-14T19:56:00Z | 2018-07-02T15:36:33Z | 2018-06-26T07:34:16Z | CONTRIBUTOR | null | - [x] closes #19976
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
This is the minimal fix, just to get np.all / np.any working again.
Some followup items:
1. Expand to all aggregations, not just logical ones
2. Do logical reductions blo... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21486/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21486/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21486.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21486",
"merged_at": "2018-06-26T07:34:16Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21486.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21486"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21487 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21487/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21487/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21487/events | https://github.com/pandas-dev/pandas/pull/21487 | 332,555,746 | MDExOlB1bGxSZXF1ZXN0MTk1MDExMTA4 | 21,487 | read_html: Handle colspan and rowspan | {
"avatar_url": "https://avatars.githubusercontent.com/u/10812?v=4",
"events_url": "https://api.github.com/users/adamhooper/events{/privacy}",
"followers_url": "https://api.github.com/users/adamhooper/followers",
"following_url": "https://api.github.com/users/adamhooper/following{/other_user}",
"gists_url": "... | [
{
"color": "4E9A06",
"default": false,
"description": null,
"id": 76812,
"name": "Enhancement",
"node_id": "MDU6TGFiZWw3NjgxMg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Enhancement"
},
{
"color": "006b75",
"default": false,
"description": "read_htm... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 18 | 2018-06-14T20:38:24Z | 2018-07-16T12:47:49Z | 2018-07-05T17:48:25Z | CONTRIBUTOR | null | This is essentially a rebased and squashed #17054 (mad props to @jowens
for doing all the hard thinking). My tweaks:
* test_computer_sales_page (see #17074) no longer tests for ParserError,
because the ParserError was a bug caused by missing colspan support.
Now, test that MultiIndex works as expected.
* I r... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21487/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21487/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21487.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21487",
"merged_at": "2018-07-05T17:48:25Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21487.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21487"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21488 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21488/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21488/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21488/events | https://github.com/pandas-dev/pandas/issues/21488 | 332,630,462 | MDU6SXNzdWUzMzI2MzA0NjI= | 21,488 | not able to read the whole content of a cell | {
"avatar_url": "https://avatars.githubusercontent.com/u/36016317?v=4",
"events_url": "https://api.github.com/users/saivenkatthatikonda7/events{/privacy}",
"followers_url": "https://api.github.com/users/saivenkatthatikonda7/followers",
"following_url": "https://api.github.com/users/saivenkatthatikonda7/followin... | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | {
"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/jorisva... | 3 | 2018-06-15T02:56:17Z | 2018-06-15T22:36:52Z | 2018-06-15T03:13:35Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
# Your code here
import pandas as pd
df = pd.read_excel('Financial Sample.xlsx')
print df
```
#### Problem description
My excel sheet has a column in which people can enter number of words but when i am reading it through pandas it is only ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21488/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21488/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21489 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21489/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21489/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21489/events | https://github.com/pandas-dev/pandas/issues/21489 | 332,638,873 | MDU6SXNzdWUzMzI2Mzg4NzM= | 21,489 | pandas.rolling.apply skip calling function if window contains any NaN | {
"avatar_url": "https://avatars.githubusercontent.com/u/30411713?v=4",
"events_url": "https://api.github.com/users/jwchi/events{/privacy}",
"followers_url": "https://api.github.com/users/jwchi/followers",
"following_url": "https://api.github.com/users/jwchi/following{/other_user}",
"gists_url": "https://api.... | [
{
"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": "0052cc",
"default": false,
"description": null,
"id": 344445... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 6 | 2018-06-15T03:57:58Z | 2018-10-07T21:46:08Z | 2018-10-07T21:46:08Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import numpy as np
import pandas as pd
# sample data with NaN
df = pd.DataFrame([np.arange(8) + i * 10 for i in range(3)]).T
df[0][3] = np.nan
df[1][2] = np.nan
df[2][6] = np.nan
print(df)
# sample function to apply to window
def my_std(x): ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21489/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21489/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21490 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21490/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21490/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21490/events | https://github.com/pandas-dev/pandas/pull/21490 | 332,651,738 | MDExOlB1bGxSZXF1ZXN0MTk1MDgxNTU4 | 21,490 | CLN: Index imports and 0.23.1 whatsnew | {
"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": "... | [
{
"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": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 2 | 2018-06-15T05:36:59Z | 2018-06-29T14:49:30Z | 2018-06-15T12:50:06Z | MEMBER | null | xref @jreback https://github.com/pandas-dev/pandas/pull/21216#discussion_r195367428 and cleaned up some formatting in the 0.23.1 whatsnew where GH issues references didn't hyperlink
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21490/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21490/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21490.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21490",
"merged_at": "2018-06-15T12:50:06Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21490.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21490"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21491 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21491/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21491/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21491/events | https://github.com/pandas-dev/pandas/pull/21491 | 332,659,292 | MDExOlB1bGxSZXF1ZXN0MTk1MDg3MDY4 | 21,491 | TST: Add unit tests for older timezone issues | {
"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": "... | [
{
"color": "C4A000",
"default": false,
"description": "pandas testing functions or related to the test suite",
"id": 127685,
"name": "Testing",
"node_id": "MDU6TGFiZWwxMjc2ODU=",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Testing"
},
{
"color": "5319e7",
"d... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 6 | 2018-06-15T06:25:05Z | 2018-06-26T07:44:36Z | 2018-06-18T22:34:30Z | MEMBER | null | - [x] closes #8616
- [x] closes #8910
- [x] closes #7825
- [x] closes #8306
- [x] closes #8531
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
In the spirit of your https://github.com/pandas-dev/pandas/pull/21407#issuecomment-396896678 @jreback, cleaned up some o... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21491/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21491/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21491.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21491",
"merged_at": "2018-06-18T22:34:28Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21491.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21491"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21492 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21492/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21492/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21492/events | https://github.com/pandas-dev/pandas/issues/21492 | 332,660,554 | MDU6SXNzdWUzMzI2NjA1NTQ= | 21,492 | [question] Coverage when "slow" tests are disabled. | {
"avatar_url": "https://avatars.githubusercontent.com/u/5723047?v=4",
"events_url": "https://api.github.com/users/cdluminate/events{/privacy}",
"followers_url": "https://api.github.com/users/cdluminate/followers",
"following_url": "https://api.github.com/users/cdluminate/following{/other_user}",
"gists_url":... | [
{
"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": "0052cc",
"d... | closed | false | null | [] | null | 4 | 2018-06-15T06:32:09Z | 2018-06-16T22:42:22Z | 2018-06-16T22:42:22Z | NONE | null | We are going to disable those "slow" tests on non-x86 architectures for Debian, such that the package build time could be significantly reduced (e.g. armhf, with "slow" = 6 hrs, without "slow" = 2 hrs).
Does that affect the code coverage? | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21492/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21492/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21493 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21493/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21493/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21493/events | https://github.com/pandas-dev/pandas/pull/21493 | 332,671,957 | MDExOlB1bGxSZXF1ZXN0MTk1MDk2NDMw | 21,493 | PERF: improve speed of nans in CategoricalIndex | {
"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"... | [
{
"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": "e11d21",
"default"... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 2 | 2018-06-15T07:26:33Z | 2018-07-02T23:24:25Z | 2018-06-15T12:51:18Z | CONTRIBUTOR | null | This is a minor follow-up to #21369.
```python
>>> n = 100_000
>>> ci = pd.CategoricalIndex(['a']*n + ['b']*n + ['c']*n + [np.nan])
>>> np.nan in ci
19.5 us # master
114 ns # this PR
```
Using ``self.hasnans`` to check for nans is faster than ``self.isna().any()`` because it's cached.
| {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21493/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21493/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21493.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21493",
"merged_at": "2018-06-15T12:51:18Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21493.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21493"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21494 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21494/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21494/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21494/events | https://github.com/pandas-dev/pandas/issues/21494 | 332,688,381 | MDU6SXNzdWUzMzI2ODgzODE= | 21,494 | Passing empty label list to df.drop() errors when index is non-unique | {
"avatar_url": "https://avatars.githubusercontent.com/u/1585156?v=4",
"events_url": "https://api.github.com/users/imre-kerr/events{/privacy}",
"followers_url": "https://api.github.com/users/imre-kerr/followers",
"following_url": "https://api.github.com/users/imre-kerr/following{/other_user}",
"gists_url": "h... | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e1... | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 5 | 2018-06-15T08:28:56Z | 2018-06-21T08:13:02Z | 2018-06-21T08:13:02Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
# Unique index works fine
In [8]: pd.DataFrame(index=[1,2,3]).drop([])
Out[8]:
Empty DataFrame
Columns: []
Index: [1, 2, 3]
# Non-unique index throws error
In [9]: pd.DataFrame(index=[1,1,2]).drop([])
----------------------------------------... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21494/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21494/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21495 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21495/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21495/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21495/events | https://github.com/pandas-dev/pandas/issues/21495 | 332,718,440 | MDU6SXNzdWUzMzI3MTg0NDA= | 21,495 | Worked in 0.22, ceased to work in 0.23: assigning varied values to a DataFrame column slice without the need to put [0] at the end | {
"avatar_url": "https://avatars.githubusercontent.com/u/7954786?v=4",
"events_url": "https://api.github.com/users/Pawel-Kranzberg/events{/privacy}",
"followers_url": "https://api.github.com/users/Pawel-Kranzberg/followers",
"following_url": "https://api.github.com/users/Pawel-Kranzberg/following{/other_user}",... | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | {
"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/jorisva... | 6 | 2018-06-15T10:09:00Z | 2018-06-27T21:42:38Z | 2018-06-27T21:42:18Z | NONE | null | #### Code Sample, a copy-pastable example if possible
The following sample worked in 0.22 but no longer works in 0.23.
```python
# Sample 1
df0.flight_number[pd.isna(df0.airline_icao)] = df0.flight_number[pd.isna(df0.airline_icao)].str.extract('^\(?([A-Z]{3})')
```
Rewriting it as follows does not help.
```pytho... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21495/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21495/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21496 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21496/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21496/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21496/events | https://github.com/pandas-dev/pandas/pull/21496 | 332,749,700 | MDExOlB1bGxSZXF1ZXN0MTk1MTU1Njk3 | 21,496 | Tseries fixtures docstrings | {
"avatar_url": "https://avatars.githubusercontent.com/u/1300947?v=4",
"events_url": "https://api.github.com/users/ivergara/events{/privacy}",
"followers_url": "https://api.github.com/users/ivergara/followers",
"following_url": "https://api.github.com/users/ivergara/following{/other_user}",
"gists_url": "http... | [
{
"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": "3465A4",
"d... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 6 | 2018-06-15T12:08:38Z | 2018-07-09T19:34:42Z | 2018-07-08T22:03:52Z | CONTRIBUTOR | null | - [ ] xref #19159
- [ ] tests added / passed
- [ ] 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/21496/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21496/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21496.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21496",
"merged_at": "2018-07-08T22:03:52Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21496.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21496"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21497 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21497/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21497/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21497/events | https://github.com/pandas-dev/pandas/pull/21497 | 332,751,681 | MDExOlB1bGxSZXF1ZXN0MTk1MTU3MTgz | 21,497 | REGR: Fixes first_valid_index when DataFrame or Series has duplicate row index (GH21441) | {
"avatar_url": "https://avatars.githubusercontent.com/u/4734245?v=4",
"events_url": "https://api.github.com/users/KalyanGokhale/events{/privacy}",
"followers_url": "https://api.github.com/users/KalyanGokhale/followers",
"following_url": "https://api.github.com/users/KalyanGokhale/following{/other_user}",
"gi... | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "e1... | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 3 | 2018-06-15T12:15:45Z | 2018-06-29T14:59:07Z | 2018-06-20T10:33:08Z | CONTRIBUTOR | null | - [x] closes #21441
- [x] tests added / passed
- [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/21497/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21497/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21497.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21497",
"merged_at": "2018-06-20T10:33:07Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21497.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21497"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21498 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21498/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21498/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21498/events | https://github.com/pandas-dev/pandas/issues/21498 | 332,854,955 | MDU6SXNzdWUzMzI4NTQ5NTU= | 21,498 | Strange DataFrame dtype inference behavior | {
"avatar_url": "https://avatars.githubusercontent.com/u/2761597?v=4",
"events_url": "https://api.github.com/users/alexlenail/events{/privacy}",
"followers_url": "https://api.github.com/users/alexlenail/followers",
"following_url": "https://api.github.com/users/alexlenail/following{/other_user}",
"gists_url":... | [] | closed | false | null | [] | null | 1 | 2018-06-15T17:21:09Z | 2018-06-15T20:58:32Z | 2018-06-15T17:32:45Z | CONTRIBUTOR | null | #### Code
All the below are the same, I'm only going to vary the value in the 'c' column
```
>>> df = pd.DataFrame([[1, 2, '0.1']], columns=['a', 'b', 'c'])
>>> df.values
[[1 2 '0.1']]
>>> df.values[:,0]
[1]
>>> df.values[:,0].dtype
object
>>> df['a'].dtype
int64
>>> df2 = pd.DataFrame([[1, 2, 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/21498/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21498/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21499 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21499/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21499/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21499/events | https://github.com/pandas-dev/pandas/issues/21499 | 332,862,431 | MDU6SXNzdWUzMzI4NjI0MzE= | 21,499 | Python Pandas read_html fails when reading tables from Wikipedia | {
"avatar_url": "https://avatars.githubusercontent.com/u/13260348?v=4",
"events_url": "https://api.github.com/users/dscience7/events{/privacy}",
"followers_url": "https://api.github.com/users/dscience7/followers",
"following_url": "https://api.github.com/users/dscience7/following{/other_user}",
"gists_url": "... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "006b75",
"default": false,
"description": "read_html, to_html, Styl... | open | false | null | [] | null | 4 | 2018-06-15T17:48:10Z | 2018-11-17T16:05:37Z | null | NONE | null | I am trying to read the tables from a Wikipedia page using the following code:
```python
import pandas as pd
pd.read_html('https://en.wikipedia.org/wiki/2013–14_Premier_League')
```
Doing that generates the following error:
```python
UnicodeEncodeError: 'ascii' codec can't encode character '\u2013' in p... | {
"+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/21499/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21499/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21500 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21500/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21500/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21500/events | https://github.com/pandas-dev/pandas/issues/21500 | 332,882,791 | MDU6SXNzdWUzMzI4ODI3OTE= | 21,500 | TST: Use numeric dtype fixtures for testing | {
"avatar_url": "https://avatars.githubusercontent.com/u/5332445?v=4",
"events_url": "https://api.github.com/users/jschendel/events{/privacy}",
"followers_url": "https://api.github.com/users/jschendel/followers",
"following_url": "https://api.github.com/users/jschendel/following{/other_user}",
"gists_url": "h... | [
{
"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": "e102d8",
"d... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 1 | 2018-06-15T19:02:55Z | 2018-07-26T05:17:00Z | 2018-07-26T05:16:46Z | MEMBER | null | Some new numeric dtype fixtures were implemented in #21432:
https://github.com/pandas-dev/pandas/blob/9e982e18678c47c83ce2bb5932f844e2d9ee21f3/pandas/conftest.py#L183-L243
It would be nice to use these fixtures where appropriate in the existing tests, e.g.
https://github.com/pandas-dev/pandas/blob/9e982e18678c47c8... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21500/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21500/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21501 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21501/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21501/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21501/events | https://github.com/pandas-dev/pandas/issues/21501 | 332,884,349 | MDU6SXNzdWUzMzI4ODQzNDk= | 21,501 | Series dtype changes when a new row is added | {
"avatar_url": "https://avatars.githubusercontent.com/u/6231413?v=4",
"events_url": "https://api.github.com/users/mmngreco/events{/privacy}",
"followers_url": "https://api.github.com/users/mmngreco/followers",
"following_url": "https://api.github.com/users/mmngreco/following{/other_user}",
"gists_url": "http... | [
{
"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, d... | open | false | null | [] | null | 6 | 2018-06-15T19:08:52Z | 2021-06-20T04:50:11Z | null | CONTRIBUTOR | null |
## The problem
If we create a `Series` with a defined `dtype` and then a new row is added into that `Series` the `dtype` changes. I have left an example below:
- https://pandas.pydata.org/pandas-docs/stable/missing_data.html#inserting-missing-data
- https://pandas.pydata.org/pandas-docs/stable/indexing.html#se... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21501/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21501/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21502 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21502/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21502/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21502/events | https://github.com/pandas-dev/pandas/issues/21502 | 332,908,990 | MDU6SXNzdWUzMzI5MDg5OTA= | 21,502 | Write Excel Round-Trippable Timedeltas Regression | {
"avatar_url": "https://avatars.githubusercontent.com/u/3137319?v=4",
"events_url": "https://api.github.com/users/nathanielatom/events{/privacy}",
"followers_url": "https://api.github.com/users/nathanielatom/followers",
"following_url": "https://api.github.com/users/nathanielatom/following{/other_user}",
"gi... | [
{
"color": "bfe5bf",
"default": false,
"description": "read_excel, to_excel",
"id": 49254273,
"name": "IO Excel",
"node_id": "MDU6TGFiZWw0OTI1NDI3Mw==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/IO%20Excel"
},
{
"color": "5319e7",
"default": false,
"de... | 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/jorisva... | 4 | 2018-06-15T20:46:04Z | 2018-06-15T22:07:02Z | 2018-06-15T22:01:19Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
import numpy as np
import pandas as pd
from io import BytesIO
pd.__version__ # 0.22 or 0.23.1
import openpyxl
openpyxl.__version__ # 2.5.4
import xlsxwriter
xlsxwriter.__version__ # 1.0.5
df = pd.DataFrame({'Times': pd.TimedeltaIndex(['... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21502/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21502/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21503 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21503/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21503/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21503/events | https://github.com/pandas-dev/pandas/pull/21503 | 332,912,670 | MDExOlB1bGxSZXF1ZXN0MTk1MjgxODM5 | 21,503 | De-duplicate code for indexing with list-likes of keys | {
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://ap... | [
{
"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": "0b02e1",
"default": false,
"de... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 8 | 2018-06-15T21:00:39Z | 2018-06-19T22:26:26Z | 2018-06-19T20:36:56Z | MEMBER | null | - [x] tests passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Just refactoring, removing duplicated code (I don't think the bug in ``Index._reindex_non_unique`` was actually appearing anywhere) | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21503/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21503/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21503.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21503",
"merged_at": "2018-06-19T20:36:56Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21503.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21503"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21504 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21504/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21504/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21504/events | https://github.com/pandas-dev/pandas/pull/21504 | 332,923,040 | MDExOlB1bGxSZXF1ZXN0MTk1Mjg5OTYz | 21,504 | wrap urlopen with requests | {
"avatar_url": "https://avatars.githubusercontent.com/u/950575?v=4",
"events_url": "https://api.github.com/users/ocefpaf/events{/privacy}",
"followers_url": "https://api.github.com/users/ocefpaf/followers",
"following_url": "https://api.github.com/users/ocefpaf/following{/other_user}",
"gists_url": "https://... | [
{
"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... | closed | false | null | [] | null | 15 | 2018-06-15T21:46:27Z | 2019-02-11T16:13:18Z | 2018-12-31T00:12:51Z | NONE | null | - [X] closes #16716
- [ ] tests added / passed
- [X] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
Alternative to https://github.com/pandas-dev/pandas/pull/17087
I'll write the whatsnew entry, tests, and the session option for `html`, `json`, and `excel` if this path is ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21504/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21504/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21504.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21504",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/21504.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21504"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21505 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21505/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21505/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21505/events | https://github.com/pandas-dev/pandas/issues/21505 | 332,933,572 | MDU6SXNzdWUzMzI5MzM1NzI= | 21,505 | read_excel function not reading the whole data in a cell if it has more than 45 charecters. | {
"avatar_url": "https://avatars.githubusercontent.com/u/36016317?v=4",
"events_url": "https://api.github.com/users/saivenkatthatikonda7/events{/privacy}",
"followers_url": "https://api.github.com/users/saivenkatthatikonda7/followers",
"following_url": "https://api.github.com/users/saivenkatthatikonda7/followin... | [
{
"color": "0052cc",
"default": false,
"description": null,
"id": 34444536,
"name": "Usage Question",
"node_id": "MDU6TGFiZWwzNDQ0NDUzNg==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Usage%20Question"
}
] | closed | false | null | [] | null | 1 | 2018-06-15T22:44:48Z | 2018-06-15T23:32:18Z | 2018-06-15T23:30:54Z | NONE | null | #### Code Sample, a copy-pastable example if possible
```python
# Your code here
import pandas as pd
df =pd.read_excel('Financial Sample1.xlsx')
print (df)
```
#### Problem description
I have already posted my issue before. The read_excel function is not able to read the excel sheet is only reading a part of ... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21505/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21505/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21506 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21506/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21506/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21506/events | https://github.com/pandas-dev/pandas/pull/21506 | 332,935,820 | MDExOlB1bGxSZXF1ZXN0MTk1Mjk5OTYx | 21,506 | PERF: avoid unnecessary recoding in CategoricalIndex._create_categorical | {
"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"... | [
{
"color": "0b02e1",
"default": false,
"description": "Related to indexing on series/frames, not to indexes themselves",
"id": 2822098,
"name": "Indexing",
"node_id": "MDU6TGFiZWwyODIyMDk4",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Indexing"
},
{
"color": "a1... | closed | false | null | [] | null | 3 | 2018-06-15T23:00:18Z | 2018-09-20T21:13:21Z | 2018-06-16T14:50:29Z | CONTRIBUTOR | null | - [x] progress towards #20395
- [x] xref #21369
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
This issue was found when looking for a solution to #20395. I've found that ``CategoricalIndex._create_categorical`` makes an unnecessary call to ``Categorical._set_dtype... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21506/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21506/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21506.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21506",
"merged_at": null,
"patch_url": "https://github.com/pandas-dev/pandas/pull/21506.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21506"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21507 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21507/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21507/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21507/events | https://github.com/pandas-dev/pandas/pull/21507 | 332,941,031 | MDExOlB1bGxSZXF1ZXN0MTk1MzA0MDYy | 21,507 | Fix Timestamp rounding | {
"avatar_url": "https://avatars.githubusercontent.com/u/16733618?v=4",
"events_url": "https://api.github.com/users/alimcmaster1/events{/privacy}",
"followers_url": "https://api.github.com/users/alimcmaster1/followers",
"following_url": "https://api.github.com/users/alimcmaster1/following{/other_user}",
"gist... | [
{
"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": "Functiona... | closed | false | null | [] | {
"closed_at": "2018-07-06T16:24:08Z",
"closed_issues": 73,
"created_at": "2018-06-07T10:56:05Z",
"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/jre... | 14 | 2018-06-15T23:39:29Z | 2018-07-02T15:43:24Z | 2018-06-29T00:26:39Z | CONTRIBUTOR | null | - Closes #21262
- Tests added (thanks @Safrone [PR](https://github.com/pandas-dev/pandas/pull/21265))
This change-set is to avoid rounding a timestamp when the timestamp is a multiple of the frequency string passed in.
"Values" param passed into round_ns can either be a np array or int. So relevant handling add... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21507/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21507/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21507.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21507",
"merged_at": "2018-06-29T00:26:39Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21507.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21507"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21508 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21508/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21508/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21508/events | https://github.com/pandas-dev/pandas/pull/21508 | 332,991,978 | MDExOlB1bGxSZXF1ZXN0MTk1MzM1MjM3 | 21,508 | PERF: add method Categorical.__contains__ | {
"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"... | [
{
"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": "e11d21",
"default"... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 10 | 2018-06-16T14:48:04Z | 2018-07-02T23:24:04Z | 2018-06-20T10:29:50Z | CONTRIBUTOR | null | - [x] closes #21022
- [x] xref #21369
- [x] tests added / passed
- [x] benchmark added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry
Currently, membership checks in ``Categorical`` is very slow as explained by @fjetter in #21022. This PR fixes the issue. See... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21508/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21508/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21508.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21508",
"merged_at": "2018-06-20T10:29:50Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21508.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21508"
} |
https://api.github.com/repos/pandas-dev/pandas/issues/21509 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21509/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21509/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21509/events | https://github.com/pandas-dev/pandas/issues/21509 | 332,995,722 | MDU6SXNzdWUzMzI5OTU3MjI= | 21,509 | tz_convert error when using GMT timezones | {
"avatar_url": "https://avatars.githubusercontent.com/u/17710158?v=4",
"events_url": "https://api.github.com/users/GiorgioBalestrieri/events{/privacy}",
"followers_url": "https://api.github.com/users/GiorgioBalestrieri/followers",
"following_url": "https://api.github.com/users/GiorgioBalestrieri/following{/oth... | [] | closed | false | null | [] | null | 7 | 2018-06-16T15:46:10Z | 2019-07-02T21:39:57Z | 2018-06-16T17:31:14Z | NONE | null | #### Code Sample
```python
dates = pd.date_range(start=pd.datetime(2018,1,1), periods=4, freq='h', tz='UTC')
print(dates)
print(dates.tz_convert('Etc/GMT+1'))
print(dates.tz_convert('Europe/Rome'))
```
output:
```
DatetimeIndex(['2018-01-01 00:00:00+00:00', '2018-01-01 01:00:00+00:00',
... | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21509/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21509/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21510 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21510/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21510/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21510/events | https://github.com/pandas-dev/pandas/issues/21510 | 333,002,418 | MDU6SXNzdWUzMzMwMDI0MTg= | 21,510 | concat does not respect order of an OrderedDict | {
"avatar_url": "https://avatars.githubusercontent.com/u/1224492?v=4",
"events_url": "https://api.github.com/users/toobaz/events{/privacy}",
"followers_url": "https://api.github.com/users/toobaz/followers",
"following_url": "https://api.github.com/users/toobaz/following{/other_user}",
"gists_url": "https://ap... | [
{
"color": "e10c02",
"default": false,
"description": null,
"id": 76811,
"name": "Bug",
"node_id": "MDU6TGFiZWw3NjgxMQ==",
"url": "https://api.github.com/repos/pandas-dev/pandas/labels/Bug"
},
{
"color": "02d7e1",
"default": false,
"description": "Concat, Merge/Join, Stac... | closed | false | null | [] | {
"closed_at": "2019-07-19T00:34:29Z",
"closed_issues": 1289,
"created_at": "2018-10-23T02:34:15Z",
"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/j... | 2 | 2018-06-16T17:29:57Z | 2019-03-13T13:11:29Z | 2019-03-13T13:11:29Z | MEMBER | null | #### Code Sample, a copy-pastable example if possible
```python
In [2]: from collections import OrderedDict
In [3]: pd.concat(OrderedDict([('First', pd.Series(range(3))),
...: ('Another', pd.Series(range(4)))]))
...:
Out[3]:
Another 0 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/21510/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21510/timeline | null | null | null |
https://api.github.com/repos/pandas-dev/pandas/issues/21511 | https://api.github.com/repos/pandas-dev/pandas | https://api.github.com/repos/pandas-dev/pandas/issues/21511/labels{/name} | https://api.github.com/repos/pandas-dev/pandas/issues/21511/comments | https://api.github.com/repos/pandas-dev/pandas/issues/21511/events | https://github.com/pandas-dev/pandas/pull/21511 | 333,003,768 | MDExOlB1bGxSZXF1ZXN0MTk1MzQyMTYy | 21,511 | DOC: Improve code example for Index.get_indexer | {
"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"... | [
{
"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": "0b02e1",
"default": false,
"description": "Related to indexing o... | closed | false | null | [] | {
"closed_at": "2019-01-26T00:51:26Z",
"closed_issues": 2048,
"created_at": "2018-03-29T12:00:12Z",
"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... | 3 | 2018-06-16T17:52:42Z | 2018-06-19T08:39:34Z | 2018-06-19T08:20:13Z | CONTRIBUTOR | null | Make code example clearer for ``Index.get_indexer`` | {
"+1": 0,
"-1": 0,
"confused": 0,
"eyes": 0,
"heart": 0,
"hooray": 0,
"laugh": 0,
"rocket": 0,
"total_count": 0,
"url": "https://api.github.com/repos/pandas-dev/pandas/issues/21511/reactions"
} | https://api.github.com/repos/pandas-dev/pandas/issues/21511/timeline | null | 0 | {
"diff_url": "https://github.com/pandas-dev/pandas/pull/21511.diff",
"html_url": "https://github.com/pandas-dev/pandas/pull/21511",
"merged_at": "2018-06-19T08:20:13Z",
"patch_url": "https://github.com/pandas-dev/pandas/pull/21511.patch",
"url": "https://api.github.com/repos/pandas-dev/pandas/pulls/21511"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.