-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add support for CFTimeIndex in get_clean_interp_index #3631
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
Merged
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
d5c2242
add support for CFTimeIndex in get_clean_interp_index
huard 77bb24c
black
huard 03e7769
added test comparing cftime index with standard index
huard e169cf4
added comment
huard 303020f
index in ns instead of days
huard 210fb94
pep8
huard 1cfe72d
datetime_to_numeric: convert timedelta objects using np.timedelta64 t…
huard 4964163
added interp test
huard 83f6c89
switched clean_interp_index resolution to us. Fixed interpolate_na an…
huard 6298953
Error message to explain overflow problem.
huard 3d23ccf
Merge branch 'fix-3641' into cf_interp_index
huard 2ba1803
switched timedelta64 units from ms to us
huard 9a648d9
Merge branch 'fix-3641' into cf_interp_index
huard e873da2
reverted default user-visible resolution to ns. Converts to float, po…
huard 532756d
pep8
huard 73d8729
black
huard 4288780
special case for older numpy versions
huard 077145e
black
huard 758d81c
added xfail for overflow error with numpy < 1.17
huard d0d8bfe
changes following PR comments from spencerclark
huard 6c9630a
bypass pandas to convert timedeltas to floats. avoids overflow errors.
huard d18c775
black
huard 78e17ec
Merge branch 'master' into cf_interp_index
huard 6615c97
removed numpy conversion. added docstrings. renamed tests.
huard 2df2b29
pep8
huard 31f5417
updated whats new
huard 2974af9
Update doc/whats-new.rst
huard eeb5074
update interpolate_na docstrings
huard 6b9631f
black
huard 5656fdb
dt conflicts with accessor
huard dcf98ff
replaced assert_equal by assert_allclose
huard 4842a96
Update xarray/core/duck_array_ops.py
huard 6dbf225
Update xarray/core/duck_array_ops.py
huard c90dc97
renamed array to value in timedelta_to_numeric. Added tests
huard 71fb87d
removed support for TimedeltaIndex in timedelta_to_numeric
huard 3d9f333
added tests for np_timedelta64_to_float and pd_timedelta_to_float. re…
huard b04785c
black
huard d24cae4
Fix flake8 error
spencerkclark 6f0c504
black
spencerkclark File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.