home / github / commits

Menu
  • Search all tables
  • GraphQL API

commits: a4f80b23d32e9c3986e3342182fe382d8081c3c2

This data as json

sha message author_date committer_date raw_author raw_committer repo author committer
a4f80b23d32e9c3986e3342182fe382d8081c3c2 override `units` for datetime64/timedelta64 variables to preserve integer dtype (#8201) * remove `dtype` from encoding for datetime64/timedelta64 variables to prevent unnecessary casts * adapt tests * add whats-new.rst entry * Update xarray/coding/times.py Co-authored-by: Spencer Clark <spencerkclark@gmail.com> * Update doc/whats-new.rst Co-authored-by: Spencer Clark <spencerkclark@gmail.com> * add test per review suggestion, replace .kind-check with np.issubdtype-check * align timedelta64 check with datetime64 check * override units instead of dtype * remove print statement * warn in case of serialization to floating point, too * align if-else * Add instructions to warnings * Fix test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * use warnings.catch_warnings * Update doc/whats-new.rst Co-authored-by: Spencer Clark <spencerkclark@gmail.com> --------- Co-authored-by: Spencer Clark <spencerkclark@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2023-09-24T15:05:25Z 2023-09-24T15:05:25Z 3e0e6e9719b7d638c9d5d1d6c8d6245171e5a25d cd792325681cbad9f663f2879d8b69f1edbb678f 13221727 5821660 19864447
Powered by Datasette · Queries took 80.765ms · About: xarray-datasette