DEPR #16747: deprecate pd.TimeGrouper 
State: closed

 - [x] closes #16747
 - [x] tests added / passed
 - [x] passes ``git diff upstream/master -u -- "*.py" | flake8 --diff``
 - [ ] whatsnew entry -> Should I do this for a future   


Labels:
name: Resample
description: resample method
name: Deprecate
description: Functionality to remove in pandas

Comments:
Hello @stevemontana1980! Thanks for updating the PR.

 - In the file [`pandas/core/resample.py`](https://github.com/pandas-dev/pandas/blob/5f044e9c86db584a4aba7f7ac8fadc8074ac5c90/pandas/core/resample.py), following are the PEP8 issues :

> [Line 1118:9](https://github.com/pandas-dev/pandas/blob/5f044e9c86db584a4aba7f7ac8fadc8074ac5c90/pandas/core/resample.py#L1118): [E741](https://duckduckgo.com/?q=pep8%20E741) ambiguous variable name 'l'



 - In the file [`pandas/tests/test_resample.py`](https://github.com/pandas-dev/pandas/blob/5f044e9c86db584a4aba7f7ac8fadc8074ac5c90/pandas/tests/test_resample.py), following are the PEP8 issues :

> [Line 857:5](https://github.com/pandas-dev/pandas/blob/5f044e9c86db584a4aba7f7ac8fadc8074ac5c90/pandas/tests/test_resample.py#L857): [E731](https://duckduckgo.com/?q=pep8%20E731) do not assign a lambda expression, use a def
> [Line 1558:9](https://github.com/pandas-dev/pandas/blob/5f044e9c86db584a4aba7f7ac8fadc8074ac5c90/pandas/tests/test_resample.py#L1558): [E731](https://duckduckgo.com/?q=pep8%20E731) do not assign a lambda expression, use a def
> [Line 2197:5](https://github.com/pandas-dev/pandas/blob/5f044e9c86db584a4aba7f7ac8fadc8074ac5c90/pandas/tests/test_resample.py#L2197): [E731](https://duckduckgo.com/?q=pep8%20E731) do not assign a lambda expression, use a def
> [Line 2799:5](https://github.com/pandas-dev/pandas/blob/5f044e9c86db584a4aba7f7ac8fadc8074ac5c90/pandas/tests/test_resample.py#L2799): [E731](https://duckduckgo.com/?q=pep8%20E731) do not assign a lambda expression, use a def
> [Line 2870:9](https://github.com/pandas-dev/pandas/blob/5f044e9c86db584a4aba7f7ac8fadc8074ac5c90/pandas/tests/test_resample.py#L2870): [E731](https://duckduckgo.com/?q=pep8%20E731) do not assign a lambda expression, use a def
> [Line 2881:9](https://github.com/pandas-dev/pandas/blob/5f044e9c86db584a4aba7f7ac8fadc8074ac5c90/pandas/tests/test_resample.py#L2881): [E731](https://duckduckgo.com/?q=pep8%20E731) do not assign a lambda expression, use a def
> [Line 3043:9](https://github.com/pandas-dev/pandas/blob/5f044e9c86db584a4aba7f7ac8fadc8074ac5c90/pandas/tests/test_resample.py#L3043): [E731](https://duckduckgo.com/?q=pep8%20E731) do not assign a lambda expression, use a def
> [Line 3085:9](https://github.com/pandas-dev/pandas/blob/5f044e9c86db584a4aba7f7ac8fadc8074ac5c90/pandas/tests/test_resample.py#L3085): [E731](https://duckduckgo.com/?q=pep8%20E731) do not assign a lambda expression, use a def



##### Comment last updated on July 15, 2017 at 12:42 Hours UTC
#16747 
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/16942?src=pr&el=h1) Report
> Merging [#16942](https://codecov.io/gh/pandas-dev/pandas/pull/16942?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/5f2b96bb637f6ddeec169c5ef8ad20013a03c853?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/16942/graphs/tree.svg?src=pr&width=650&token=eZ4WkYLtcO&height=150)](https://codecov.io/gh/pandas-dev/pandas/pull/16942?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #16942      +/-   ##
==========================================
+ Coverage   90.98%   90.98%   +<.01%     
==========================================
  Files         161      161              
  Lines       49306    49307       +1     
==========================================
+ Hits        44859    44860       +1     
  Misses       4447     4447
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `88.75% <100%> (ø)` | :arrow_up: |
| #single | `40.19% <0%> (-0.01%)` | :arrow_down: |

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

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/16942?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/16942?src=pr&el=footer). Last update [5f2b96b...5f044e9](https://codecov.io/gh/pandas-dev/pandas/pull/16942?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

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

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

```diff
@@            Coverage Diff             @@
##           master   #16942      +/-   ##
==========================================
- Coverage   90.99%   90.98%   -0.02%     
==========================================
  Files         161      161              
  Lines       49306    49307       +1     
==========================================
- Hits        44868    44860       -8     
- Misses       4438     4447       +9
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `88.75% <100%> (ø)` | :arrow_up: |
| #single | `40.19% <0%> (-0.07%)` | :arrow_down: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/16942?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/resample.py](https://codecov.io/gh/pandas-dev/pandas/pull/16942?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvcmVzYW1wbGUucHk=) | `96.14% <100%> (ø)` | :arrow_up: |
| [pandas/io/gbq.py](https://codecov.io/gh/pandas-dev/pandas/pull/16942?src=pr&el=tree#diff-cGFuZGFzL2lvL2dicS5weQ==) | `25% <0%> (-58.34%)` | :arrow_down: |
| [pandas/core/frame.py](https://codecov.io/gh/pandas-dev/pandas/pull/16942?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZnJhbWUucHk=) | `97.71% <0%> (-0.1%)` | :arrow_down: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/16942?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/16942?src=pr&el=footer). Last update [5f2b96b...5f044e9](https://codecov.io/gh/pandas-dev/pandas/pull/16942?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

can you rebase and update according to comments.
can you rebase / update
closing in favor of #17703