Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inherit metadata when resampling and grouping #23

Merged
merged 15 commits into from
Dec 21, 2020
Merged
Prev Previous commit
Next Next commit
Add comment about which pandas version fixed test_groupby_retains_met…
…adata.
Flix6x committed Dec 17, 2020
commit 4987ff55c67b7300a14f047db47a1e534c390dd3
2 changes: 1 addition & 1 deletion timely_beliefs/tests/test_belief_io.py
Original file line number Diff line number Diff line change
@@ -444,7 +444,7 @@ def test_groupby_retains_metadata():

Succeeds with pandas==1.0.0
Fails with pandas==1.1.0
Should be fixed with https://github.com/pandas-dev/pandas/pull/37461
Fixed with pandas==1.1.5
"""
df = example_df
metadata = {md: getattr(example_df, md) for md in METADATA}