home / github / commits

Menu
  • Search all tables
  • GraphQL API

commits: 748bb3a328a65416022ec44ced8d461f143081b5

This data as json

sha message author_date committer_date raw_author raw_committer repo author committer
748bb3a328a65416022ec44ced8d461f143081b5 avoid a couple of warnings in `polyfit` (#8939) * use `numpy.finfo` instead of `numpy.core.finfo` * add `copy` to the signature of `__array__` * don't pass `copy` to `asarray` The `copy` kwarg appears to only exist in `numpy>=2`. * try making the typing the same for all overloads * change the typing for `NamedArray.__array__` * fix the signature of `__array__` * revert the change to the signature of `__array__` * ignore all deprecation warnings about `__array__` gaining a new kwarg I don't know enough about typing to ignore typing issues within a protocol, so that was the only way I could figure out how to get this PR unstuck. Once we know what to do here, we can remove the ignore in a new PR. * add back the `copy` kwarg if the protocol does not have type hints * Update xarray/core/dataset.py --------- Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> 2024-05-01T15:34:20Z 2024-05-01T15:34:20Z f48b8f0d94dbaa4588e3a965a600d38e311eab17 cd792325681cbad9f663f2879d8b69f1edbb678f 13221727 14808389 19864447
Powered by Datasette · Queries took 157.034ms · About: xarray-datasette