home / github / commits

Menu
  • GraphQL API
  • Search all tables

commits: c5ee050f5faf09bb047528cca07ab57051282894

This data as json

sha message author_date committer_date raw_author raw_committer repo author committer
c5ee050f5faf09bb047528cca07ab57051282894 Add to_numpy() and as_numpy() methods (#5568) * added to_numpy() and as_numpy() methods * remove special-casing of cupy arrays in .values in favour of using .to_numpy() * lint * Fix mypy (I think?) * added Dataset.as_numpy() * improved docstrings * add what's new * add to API docs * linting * fix failures by only importing pint when needed * refactor pycompat into class * compute instead of load * added tests * fixed sparse test * tests and fixes for ds.as_numpy() * fix sparse tests * fix linting * tests for Variable * test IndexVariable too * use numpy.asarray to avoid a copy * also convert coords * Force tests again after #5600 * Apply suggestions from code review * Update xarray/core/variable.py * fix import * formatting * remove type check Co-authored-by: Stephan Hoyer <shoyer@google.com> * remove attempt to call to_numpy Co-authored-by: Maximilian Roos <m@maxroos.com> Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> Co-authored-by: Stephan Hoyer <shoyer@google.com> 2021-07-21T21:42:47Z 2021-07-21T21:42:47Z 26a6f89d5f52aa3fe5267933be6139d10dfff2a7 cd792325681cbad9f663f2879d8b69f1edbb678f 13221727 35968931 19864447
Powered by Datasette · Queries took 1.102ms · About: xarray-datasette