home / github / commits

Menu
  • Search all tables
  • GraphQL API

commits: 8772355b23e2a451697023844a0e6b688e1468e1

This data as json

sha message author_date committer_date raw_author raw_committer repo author committer
8772355b23e2a451697023844a0e6b688e1468e1 Add support for CFTimeIndex in get_clean_interp_index (#3631) * add support for CFTimeIndex in get_clean_interp_index * black * added test comparing cftime index with standard index * added comment * index in ns instead of days * pep8 * datetime_to_numeric: convert timedelta objects using np.timedelta64 type conversion. add overflow tests * added interp test * switched clean_interp_index resolution to us. Fixed interpolate_na and added support for CFTimeIndex. * Error message to explain overflow problem. * switched timedelta64 units from ms to us * reverted default user-visible resolution to ns. Converts to float, possibly lossy. * pep8 * black * special case for older numpy versions * black * added xfail for overflow error with numpy < 1.17 * changes following PR comments from spencerclark * bypass pandas to convert timedeltas to floats. avoids overflow errors. * black * removed numpy conversion. added docstrings. renamed tests. * pep8 * updated whats new * Update doc/whats-new.rst Co-Authored-By: Spencer Clark <spencerkclark@gmail.com> * update interpolate_na docstrings * black * dt conflicts with accessor * replaced assert_equal by assert_allclose * Update xarray/core/duck_array_ops.py Co-Authored-By: Spencer Clark <spencerkclark@gmail.com> * Update xarray/core/duck_array_ops.py Co-Authored-By: Spencer Clark <spencerkclark@gmail.com> * renamed array to value in timedelta_to_numeric. Added tests * removed support for TimedeltaIndex in timedelta_to_numeric * added tests for np_timedelta64_to_float and pd_timedelta_to_float. renamed array to value for pd_timedelta_to_float. removed pd_timedeltaindex_to_float. * black * Fix flake8 error * black Co-authored-by: Spencer Clark <spencerkclark@gmail.com> 2020-01-26T14:10:36Z 2020-01-26T14:10:36Z 5af532972f5310a40c7ae1e15951da62a431d6b6 f04422bfa03dadc75fab6ce64de238fbe48f5be4 13221727 81219 6628425
Powered by Datasette · Queries took 0.761ms · About: xarray-datasette