question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DEPR: pd.TimeGrouper

See original GitHub issue

Problem description

The TimeGrouper docstrings are missing the key and level parameters. TimeGrouper is also absent from the API reference page in the docs. I think it would also be nice to have a section in the docs on how it differs than resample.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
jrebackcommented, Jun 22, 2017

TimeGrouper was the long time way to do resampling from a groupby framework. This has been integrated for quite some time into the exposed Grouper interface. We could deprecate TimeGrouper. it is one of those non-documented, not-directly-exposed things.

0reactions
jrebackcommented, Jul 7, 2017

re-opening, this can track the deprecation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

pandas: where is the documentation for TimeGrouper?
pd.TimeGrouper() was formally deprecated in pandas v0.21.0 in favor of pd.Grouper() . The best use of pd.Grouper() is within groupby() when ...
Read more >
| notebook.community - Jupyter Notebooks Gallery
Use this Jupyter Notebook to: Migrate data sets from prior data download events, Compute daily, monthly, and annual temperature and precipitation statistics,
Read more >
pandas.Grouper — pandas 1.5.2 documentation
A Grouper allows the user to specify a groupby instruction for an object. This specification will select a column via the key parameter,...
Read more >
Aggregate by month and calculate average-Pandas,Python
df = pd.read_csv(StringIO(data),header=True,parse_dates=['Date'], ... You can also do this with the groupby method and the TimeGrouper function (group by ...
Read more >
Visualization, Analysis and Mapping Example - Kaggle
Case Number - The Chicago Police Department RD Number (Records Division Number) ... TimeGrouper('M'), 'Primary Type']) grouper2013 = theft_2013.groupby([pd.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found