-
Notifications
You must be signed in to change notification settings - Fork 33
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
add test for resampling over long periods #329
add test for resampling over long periods #329
Conversation
Hi @MarcoGorelli,
The docstring is a little terse. What do you mean by "The offset string or object representing target conversion"? Can you link to pandas pages that explain how to use that? I added a docstring example that should produce this output: other than that, it looks good. |
Additional question on this, which popped up in #330 . I notice that the pandas Resampler class has an interpolate method, but that does not appear to be available to |
hey @CommonClimate
not really, but it's tested in pandas itself, here it's just to check that the convenience method works fine thanks for updating the docstring! I'll take a look at interpolate, I think it should work |
it's because of how it's bucketing the data - the values are [0, 1, 2, 3, 4], and |
OK. I think we're ready to merge when this check passes. How do you want to handle the
|
yeah it's just to check that it roundtrips I've added a link to the pandas docs Regarding interpolate - it looks like you already remove null values during instantiation Pyleoclim_util/pyleoclim/core/series.py Line 2174 in 59cce2b
, could you show an example of how you end up with missing values and would like to interpolate them please? Would also prefer to keep that to a separate issue if possible @CommonClimate anything else need doing here? |
Hi @MarcoGorelli , sure I'll merge this now and we'll open a new issue in the paleopandas repo so I can tag you there. |
No description provided.