BrandonFors/pandas-github-issues huggingface dataset:
API/BUG: DatetimeIndex correctly localizes integer data 
State: closed

closes #20997 
closes #20964
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

I did a little refactoring of `Datetime.__new__` that converts passed data but made it easier to fix this issue. I had to modify some methods (join, normalize, delete, insert) and tests that weren't assuming integer data weren't epoch timestamps.

Labels:
name: API Design
name: Timezones
description: Timezone data dtype

Comments:
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21216?src=pr&el=h1) Report
> Merging [#21216](https://codecov.io/gh/pandas-dev/pandas/pull/21216?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/b5fc76954963e30b7d7dd4c30ed7363568fd01ee?src=pr&el=desc) will **decrease** coverage by `<.01%`.
> The diff coverage is `100%`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/21216/graphs/tree.svg?height=150&width=650&token=eZ4WkYLtcO&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/21216?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #21216      +/-   ##
==========================================
- Coverage    91.9%   91.89%   -0.01%     
==========================================
  Files         153      153              
  Lines       49606    49597       -9     
==========================================
- Hits        45589    45579      -10     
- Misses       4017     4018       +1
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.29% <100%> (-0.01%)` | :arrow_down: |
| #single | `41.88% <76%> (-0.01%)` | :arrow_down: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/21216?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/indexes/base.py](https://codecov.io/gh/pandas-dev/pandas/pull/21216/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvaW5kZXhlcy9iYXNlLnB5) | `96.62% <100%> (ø)` | :arrow_up: |
| [pandas/core/indexes/datetimes.py](https://codecov.io/gh/pandas-dev/pandas/pull/21216/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvaW5kZXhlcy9kYXRldGltZXMucHk=) | `95.66% <100%> (-0.14%)` | :arrow_down: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21216?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21216?src=pr&el=footer). Last update [b5fc769...dc7e5c0](https://codecov.io/gh/pandas-dev/pandas/pull/21216?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

Thanks @jreback. Moved the whatsnew to v0.24, added some additional logic to get `astype` working. It doesn't appear to fix any of the other reported timezone issues. 
looks good. @jschendel @WillAyd if you can have a look if any comments.
thanks @mroeschke
BUG: Categorical.fillna with iterables
State: closed

Closes https://github.com/pandas-dev/pandas/issues/19788
Closes https://github.com/pandas-dev/pandas/issues/21097

Note that `Series.fillna` still doesn't allow iterables. I'm not sure that we should allow that, as it's potentially confusing what that would do.

Labels:
name: Missing-data
description: np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
name: Regression
description: Functionality that used to work in a prior pandas version
name: Categorical
description: Categorical Data Type

Comments:
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21215?src=pr&el=h1) Report
> Merging [#21215](https://codecov.io/gh/pandas-dev/pandas/pull/21215?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/f6abb6148c8dc14e6279f31f2e620ecf52822107?src=pr&el=desc) will **increase** coverage by `<.01%`.
> The diff coverage is `100%`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/21215/graphs/tree.svg?token=eZ4WkYLtcO&width=650&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/21215?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #21215      +/-   ##
==========================================
+ Coverage   91.84%   91.84%   +<.01%     
==========================================
  Files         153      153              
  Lines       49505    49506       +1     
==========================================
+ Hits        45466    45467       +1     
  Misses       4039     4039
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.23% <100%> (ø)` | :arrow_up: |
| #single | `41.88% <50%> (ø)` | :arrow_up: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/21215?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/arrays/categorical.py](https://codecov.io/gh/pandas-dev/pandas/pull/21215/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvYXJyYXlzL2NhdGVnb3JpY2FsLnB5) | `95.68% <100%> (ø)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21215?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21215?src=pr&el=footer). Last update [f6abb61...43c185e](https://codecov.io/gh/pandas-dev/pandas/pull/21215?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

thanks @TomAugspurger
DOC: Add numeric_only to DataFrame.quantile
State: closed

- [x] closes #18608
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

My confusion with #18608 was primarily due to the `numeric_only` not being specified in the docs. Additional we do have tests covering this case in `pandas/tests/frame/test_quantile.py`

Labels:
name: Docs

Comments:
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21214?src=pr&el=h1) Report
> Merging [#21214](https://codecov.io/gh/pandas-dev/pandas/pull/21214?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/f6abb6148c8dc14e6279f31f2e620ecf52822107?src=pr&el=desc) will **not change** coverage.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/21214/graphs/tree.svg?token=eZ4WkYLtcO&src=pr&width=650&height=150)](https://codecov.io/gh/pandas-dev/pandas/pull/21214?src=pr&el=tree)

```diff
@@           Coverage Diff           @@
##           master   #21214   +/-   ##
=======================================
  Coverage   91.84%   91.84%           
=======================================
  Files         153      153           
  Lines       49505    49505           
=======================================
  Hits        45466    45466           
  Misses       4039     4039
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.23% <ø> (ø)` | :arrow_up: |
| #single | `41.88% <ø> (ø)` | :arrow_up: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/21214?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/frame.py](https://codecov.io/gh/pandas-dev/pandas/pull/21214/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZnJhbWUucHk=) | `97.22% <ø> (ø)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21214?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21214?src=pr&el=footer). Last update [f6abb61...d3bae9e](https://codecov.io/gh/pandas-dev/pandas/pull/21214?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

thanks @mroeschke
DOC: minor documentation fix on frame.dropna
State: closed

- [x] closes #21209 
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

After this PR, it should look like this:
<img width="749" alt="pr" src="https://user-images.githubusercontent.com/14131823/40563992-e1536170-605e-11e8-8fd7-13bc1e0981d0.png">


Labels:
name: Docs

Comments:
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21210?src=pr&el=h1) Report
> Merging [#21210](https://codecov.io/gh/pandas-dev/pandas/pull/21210?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/dc02831f7b267ef152c9bb6a1c8e39c652c1ac3c?src=pr&el=desc) will **not change** coverage.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/21210/graphs/tree.svg?width=650&height=150&src=pr&token=eZ4WkYLtcO)](https://codecov.io/gh/pandas-dev/pandas/pull/21210?src=pr&el=tree)

```diff
@@           Coverage Diff           @@
##           master   #21210   +/-   ##
=======================================
  Coverage   91.84%   91.84%           
=======================================
  Files         153      153           
  Lines       49505    49505           
=======================================
  Hits        45466    45466           
  Misses       4039     4039
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.23% <ø> (ø)` | :arrow_up: |
| #single | `41.88% <ø> (ø)` | :arrow_up: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/21210?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/frame.py](https://codecov.io/gh/pandas-dev/pandas/pull/21210/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZnJhbWUucHk=) | `97.22% <ø> (ø)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21210?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21210?src=pr&el=footer). Last update [dc02831...0d8e7c9](https://codecov.io/gh/pandas-dev/pandas/pull/21210?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

Thanks!
BUG: make dense ranks results scale to 100 percent
State: closed

- [x] closes #20731
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry


Labels:
name: Bug
name: Groupby

Comments:
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21203?src=pr&el=h1) Report
> Merging [#21203](https://codecov.io/gh/pandas-dev/pandas/pull/21203?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/5348e06c4e9e8a03cbd0011483d2dd087e850940?src=pr&el=desc) will **not change** coverage.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/21203/graphs/tree.svg?height=150&src=pr&token=eZ4WkYLtcO&width=650)](https://codecov.io/gh/pandas-dev/pandas/pull/21203?src=pr&el=tree)

```diff
@@           Coverage Diff           @@
##           master   #21203   +/-   ##
=======================================
  Coverage   91.84%   91.84%           
=======================================
  Files         153      153           
  Lines       49543    49543           
=======================================
  Hits        45504    45504           
  Misses       4039     4039
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.24% <ø> (ø)` | :arrow_up: |
| #single | `41.87% <ø> (ø)` | :arrow_up: |


------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21203?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21203?src=pr&el=footer). Last update [5348e06...c5b2756](https://codecov.io/gh/pandas-dev/pandas/pull/21203?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

I guess this should be in 0.24 as its a numeric change. any takers for 0.23.1?
I think its minor enough to be in 0.23.1 but don't have that strong a preference either way
Thanks @peterpanmj !
BUG: Should not raise errors in .set_names for MultiIndex with nlevels == 1 (GH21149)
State: closed

- [x] partially #21149 
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

Initial PR #21182 is closed - and now split in 2 different PRs

Labels:
name: Bug
name: MultiIndex

Comments:
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21196?src=pr&el=h1) Report
> :exclamation: No coverage uploaded for pull request base (`master@d30cc74`). [Click here to learn what that means](https://docs.codecov.io/docs/error-reference#section-missing-base-commit).
> The diff coverage is `100%`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/21196/graphs/tree.svg?height=150&width=650&token=eZ4WkYLtcO&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/21196?src=pr&el=tree)

```diff
@@            Coverage Diff            @@
##             master   #21196   +/-   ##
=========================================
  Coverage          ?   91.84%           
=========================================
  Files             ?      153           
  Lines             ?    49506           
  Branches          ?        0           
=========================================
  Hits              ?    45467           
  Misses            ?     4039           
  Partials          ?        0
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.23% <100%> (?)` | |
| #single | `41.88% <100%> (?)` | |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/21196?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/indexes/base.py](https://codecov.io/gh/pandas-dev/pandas/pull/21196/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvaW5kZXhlcy9iYXNlLnB5) | `96.68% <100%> (ø)` | |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21196?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21196?src=pr&el=footer). Last update [d30cc74...20fb292](https://codecov.io/gh/pandas-dev/pandas/pull/21196?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

thanks @KalyanGokhale 

certainly love for you to kill the nlevels==1 checks in the rest of the code base :>
Thanks @jreback - will comb through the codes for other nlevels==1 instances and would work on it
fix hashing string-casting error
State: closed

- [x] closes #21002
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry


Labels:
name: Bug
name: Output-Formatting
description: __repr__ of pandas objects, to_string

Comments:
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21187?src=pr&el=h1) Report
> Merging [#21187](https://codecov.io/gh/pandas-dev/pandas/pull/21187?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/b36b451a74bc16d7ea64c158a3cd33fbfb504068?src=pr&el=desc) will **decrease** coverage by `0.01%`.
> The diff coverage is `11.11%`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/21187/graphs/tree.svg?width=650&src=pr&token=eZ4WkYLtcO&height=150)](https://codecov.io/gh/pandas-dev/pandas/pull/21187?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #21187      +/-   ##
==========================================
- Coverage   91.92%    91.9%   -0.02%     
==========================================
  Files         153      153              
  Lines       49563    49572       +9     
==========================================
+ Hits        45559    45560       +1     
- Misses       4004     4012       +8
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.3% <11.11%> (-0.02%)` | :arrow_down: |
| #single | `41.8% <11.11%> (-0.01%)` | :arrow_down: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/21187?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/util/testing.py](https://codecov.io/gh/pandas-dev/pandas/pull/21187/diff?src=pr&el=tree#diff-cGFuZGFzL3V0aWwvdGVzdGluZy5weQ==) | `85.27% <11.11%> (-0.7%)` | :arrow_down: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21187?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21187?src=pr&el=footer). Last update [b36b451...7ab9324](https://codecov.io/gh/pandas-dev/pandas/pull/21187?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

thanks!

and soon enough we will blow away all PY2 code in any event! but nice patch.
BUG: Should not raises errors in .set_names and comparison methods for MultiIndex with nlevels == 1 (GH21149)
State: closed

- [x] closes #21149 
- [ ] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry


Labels:

Comments:
@toobaz have made necessary updates for #21149 

original issue with set_names is fixed

Also, with the previous code snippet in `def cmp_method` it raised `ValueError` for equality / inequality comparisons of MultiIndex with nlevels == 1, which was inconsistent with behaviour for MultiIndex with nlevels > 1 - this has now been fixed
Resolved the earlier conflict with `whatsnew` file
Will check the test failure and resubmit after necessary edits
@jreback Thanks for the review - have split this into two PRs as suggested (#21195 and #21196). Have also made the requested edits. Closing this PR.
Remove deprecated Slepian test
State: closed

Partially addresses #21137.


Labels:
name: Testing
description: pandas testing functions or related to the test suite

Comments:
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21173?src=pr&el=h1) Report
> Merging [#21173](https://codecov.io/gh/pandas-dev/pandas/pull/21173?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/cd04471023d7b02dfcc168e5bdfcf1d7f960e8aa?src=pr&el=desc) will **not change** coverage.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/21173/graphs/tree.svg?width=650&height=150&src=pr&token=eZ4WkYLtcO)](https://codecov.io/gh/pandas-dev/pandas/pull/21173?src=pr&el=tree)

```diff
@@           Coverage Diff           @@
##           master   #21173   +/-   ##
=======================================
  Coverage   91.84%   91.84%           
=======================================
  Files         153      153           
  Lines       49505    49505           
=======================================
  Hits        45466    45466           
  Misses       4039     4039
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.23% <ø> (ø)` | :arrow_up: |
| #single | `41.88% <ø> (ø)` | :arrow_up: |


------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21173?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21173?src=pr&el=footer). Last update [cd04471...53a2629](https://codecov.io/gh/pandas-dev/pandas/pull/21173?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

thanks!
Small typo in deprecation message added in PR #21060
State: closed


Labels:

Comments:
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21170?src=pr&el=h1) Report
> Merging [#21170](https://codecov.io/gh/pandas-dev/pandas/pull/21170?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/791de95b7e5b7991d4ea39db68b2fc847e38d1b5?src=pr&el=desc) will **not change** coverage.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/21170/graphs/tree.svg?token=eZ4WkYLtcO&src=pr&width=650&height=150)](https://codecov.io/gh/pandas-dev/pandas/pull/21170?src=pr&el=tree)

```diff
@@           Coverage Diff           @@
##           master   #21170   +/-   ##
=======================================
  Coverage   91.84%   91.84%           
=======================================
  Files         153      153           
  Lines       49505    49505           
=======================================
  Hits        45466    45466           
  Misses       4039     4039
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.23% <ø> (ø)` | :arrow_up: |
| #single | `41.88% <ø> (ø)` | :arrow_up: |


------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21170?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/21170?src=pr&el=footer). Last update [791de95...db1b60c](https://codecov.io/gh/pandas-dev/pandas/pull/21170?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

Thanks!