home / github / commits

Menu
  • GraphQL API
  • Search all tables

commits: 6d771fc82228bdaf8a4b77d0ceec1cc444ebd090

This data as json

sha message author_date committer_date raw_author raw_committer repo author committer
6d771fc82228bdaf8a4b77d0ceec1cc444ebd090 Preserve `base` and `loffset` arguments in `resample` (#7444) * [test-upstream] Preserve base and loffset arguments in resample While pandas is getting set to remove these, we have not had a chance to emit a deprecation warning yet for them in xarray. This should hopefully give users some extra time to adapt. * Emit warning when base is not None Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> * Modify warnings to refer loffset and base as parameters; add tests * Add type validation for loffset arguments * Add typing and support for pd.Timedelta as an loffset * pd.Timedelta is a subclass of datetime.timedelta * [test-upstream] Remove unneeded skipif * Fix failing tests * [test-upstream] Add return type to tests * [test-upstream] Update documentation * [test-upstream] Fix mypy errors in tests * Move _convert_base_to_offset to pdcompat and add a few more tests * Use offset instead of base in documentation --------- Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> 2023-03-08T16:55:21Z 2023-03-08T16:55:21Z f04422bfa03dadc75fab6ce64de238fbe48f5be4 cd792325681cbad9f663f2879d8b69f1edbb678f 13221727 6628425 19864447
Powered by Datasette · Queries took 0.684ms · About: xarray-datasette