-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid calling np.asarray on lazy indexing classes #6874
Commits on Aug 3, 2022
-
Add get_array to lazy indexing array types.
This returns the underlying array type instead of always casting to np.array. This is necessary for Zarr stores where the Zarr Array wraps a cupy array (for example kvikio.zarr.GDSStoree). In that case, we cannot call np.asarray because __array__ is expected to always return a numpy array. We use get_array in Variable.data to make sure we don't load arrays from such GDSStores.
Configuration menu - View commit details
-
Copy full SHA for 45cd500 - Browse repository at this point
Copy the full SHA 45cd500View commit details -
Rename to short_array_repr; use Variable.data
instead of always casting to np.asarray
Configuration menu - View commit details
-
Copy full SHA for 9c0350c - Browse repository at this point
Copy the full SHA 9c0350cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74afa53 - Browse repository at this point
Copy the full SHA 74afa53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9de7427 - Browse repository at this point
Copy the full SHA 9de7427View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc0a653 - Browse repository at this point
Copy the full SHA cc0a653View commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for 59c7ead - Browse repository at this point
Copy the full SHA 59c7eadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2aa0830 - Browse repository at this point
Copy the full SHA 2aa0830View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1306758 - Browse repository at this point
Copy the full SHA 1306758View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf67972 - Browse repository at this point
Copy the full SHA cf67972View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0209900 - Browse repository at this point
Copy the full SHA 0209900View commit details -
Configuration menu - View commit details
-
Copy full SHA for 536648a - Browse repository at this point
Copy the full SHA 536648aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2514c7 - Browse repository at this point
Copy the full SHA f2514c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c597d4 - Browse repository at this point
Copy the full SHA 3c597d4View commit details
Commits on Aug 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 201eeba - Browse repository at this point
Copy the full SHA 201eebaView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd02a8a - Browse repository at this point
Copy the full SHA cd02a8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ef55e0 - Browse repository at this point
Copy the full SHA 7ef55e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e77fec - Browse repository at this point
Copy the full SHA 4e77fecView commit details
Commits on Aug 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d14c61f - Browse repository at this point
Copy the full SHA d14c61fView commit details
Commits on Aug 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 19af950 - Browse repository at this point
Copy the full SHA 19af950View commit details
Commits on Aug 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 22db817 - Browse repository at this point
Copy the full SHA 22db817View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bbcc16 - Browse repository at this point
Copy the full SHA 2bbcc16View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca2a10a - Browse repository at this point
Copy the full SHA ca2a10aView commit details
Commits on Aug 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9256dd0 - Browse repository at this point
Copy the full SHA 9256dd0View commit details
Commits on Aug 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 906c3b3 - Browse repository at this point
Copy the full SHA 906c3b3View commit details
Commits on Nov 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 598c201 - Browse repository at this point
Copy the full SHA 598c201View commit details -
Configuration menu - View commit details
-
Copy full SHA for 941c643 - Browse repository at this point
Copy the full SHA 941c643View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1127fe - Browse repository at this point
Copy the full SHA d1127feView commit details
Commits on Jan 17, 2023
-
Avoid np.asarray on __getitem__.
for BoolTypeArray, NativeEndiannessArray
Configuration menu - View commit details
-
Copy full SHA for c0c78a1 - Browse repository at this point
Copy the full SHA c0c78a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b727e6 - Browse repository at this point
Copy the full SHA 9b727e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46d98ec - Browse repository at this point
Copy the full SHA 46d98ecView commit details
Commits on Jan 18, 2023
-
Revert "Handle Indexing Adapter classes explicitly."
This reverts commit 46d98ec.
Configuration menu - View commit details
-
Copy full SHA for b19a24b - Browse repository at this point
Copy the full SHA b19a24bView commit details -
Revert "[WIP] ExplicitlyIndexedBackendArray"
This reverts commit 9b727e6.
Configuration menu - View commit details
-
Copy full SHA for 84f560f - Browse repository at this point
Copy the full SHA 84f560fView commit details -
Merge branch 'main' into kvikio
* main: (41 commits) v2023.01.0 whats-new (pydata#7440) explain keep_attrs in docstring of apply_ufunc (pydata#7445) Add sentence to open_dataset docstring (pydata#7438) pin scipy version in doc environment (pydata#7436) Improve performance for backend datetime handling (pydata#7374) fix typo (pydata#7433) Add lazy backend ASV test (pydata#7426) Pull Request Labeler - Workaround sync-labels bug (pydata#7431) see also : groupby in resample doc and vice-versa (pydata#7425) Some alignment optimizations (pydata#7382) Make `broadcast` and `concat` work with the Array API (pydata#7387) remove `numbagg` and `numba` from the upstream-dev CI (pydata#7416) [pre-commit.ci] pre-commit autoupdate (pydata#7402) Preserve original dtype when accessing MultiIndex levels (pydata#7393) [pre-commit.ci] pre-commit autoupdate (pydata#7389) [pre-commit.ci] pre-commit autoupdate (pydata#7360) COMPAT: Adjust CFTimeIndex.get_loc for pandas 2.0 deprecation enforcement (pydata#7361) Avoid loading entire dataset by getting the nbytes in an array (pydata#7356) `keep_attrs` for pad (pydata#7267) Bump pypa/gh-action-pypi-publish from 1.5.1 to 1.6.4 (pydata#7375) ...
Configuration menu - View commit details
-
Copy full SHA for 426519f - Browse repository at this point
Copy the full SHA 426519fView commit details
Commits on Jan 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c4b81bf - Browse repository at this point
Copy the full SHA c4b81bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for d11a3cf - Browse repository at this point
Copy the full SHA d11a3cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for c223617 - Browse repository at this point
Copy the full SHA c223617View commit details -
Merge branch 'main' into kvikio
* main: [skip-cii] Add pyodide update instructions to HOW_TO_RELEASE (pydata#7449) [skip-ci] whats-new for next release (pydata#7455)
Configuration menu - View commit details
-
Copy full SHA for 51552d4 - Browse repository at this point
Copy the full SHA 51552d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f1cf53 - Browse repository at this point
Copy the full SHA 5f1cf53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 937d572 - Browse repository at this point
Copy the full SHA 937d572View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc7d0b5 - Browse repository at this point
Copy the full SHA cc7d0b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1576261 - Browse repository at this point
Copy the full SHA 1576261View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d8459e - Browse repository at this point
Copy the full SHA 7d8459eView commit details
Commits on Jan 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9815b75 - Browse repository at this point
Copy the full SHA 9815b75View commit details
Commits on Jan 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 39e7529 - Browse repository at this point
Copy the full SHA 39e7529View commit details -
Configuration menu - View commit details
-
Copy full SHA for f304bcb - Browse repository at this point
Copy the full SHA f304bcbView commit details
Commits on Jan 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6cb1677 - Browse repository at this point
Copy the full SHA 6cb1677View commit details
Commits on Feb 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2c7da96 - Browse repository at this point
Copy the full SHA 2c7da96View commit details
Commits on Feb 16, 2023
-
Apply suggestions from code review
Co-authored-by: Illviljan <[email protected]> Co-authored-by: Stephan Hoyer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 26d224c - Browse repository at this point
Copy the full SHA 26d224cView commit details -
Update xarray/tests/__init__.py
Co-authored-by: Illviljan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 65da209 - Browse repository at this point
Copy the full SHA 65da209View commit details
Commits on Mar 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0bc1175 - Browse repository at this point
Copy the full SHA 0bc1175View commit details -
Apply suggestions from code review
Co-authored-by: Illviljan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c2d74c - Browse repository at this point
Copy the full SHA 8c2d74cView commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for 20c8c81 - Browse repository at this point
Copy the full SHA 20c8c81View commit details
Commits on Mar 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 77f7059 - Browse repository at this point
Copy the full SHA 77f7059View commit details
Commits on Mar 26, 2023
-
Merge branch 'main' into kvikio
* main: (40 commits) Faq pull request (According to pull request pydata#7604 & issue pydata#1285 (pydata#7638) add timeouts for tests (pydata#7657) Pull Request Labeler - Undo workaround sync-labels bug (pydata#7667) [pre-commit.ci] pre-commit autoupdate (pydata#7651) Allow all integer dtypes in `polyval` (pydata#7619) [skip-ci] dev whats-new (pydata#7660) Redo whats-new for 2023.03.0 (pydata#7659) Set copy=False when calling pd.Series (pydata#7642) Pin pandas < 2 (pydata#7650) Whats-new for release 2023.03.0 (pydata#7643) Bump pypa/gh-action-pypi-publish from 1.7.1 to 1.8.1 (pydata#7648) Use more descriptive link texts (pydata#7625) Fix missing 'dim' argument in _get_nan_block_lengths (pydata#7598) Fix `pcolormesh` with str coords (pydata#7612) [skip-ci] Fix groupby binary ops benchmarks (pydata#7603) Remove incomplete sentence in IO docs (pydata#7631) Allow indexing unindexed dimensions using dask arrays (pydata#5873) Bump pypa/gh-action-pypi-publish from 1.6.4 to 1.7.1 (pydata#7618) [pre-commit.ci] pre-commit autoupdate (pydata#7620) add a test for scatter colorbar extend (pydata#7616) ...
Configuration menu - View commit details
-
Copy full SHA for 517f195 - Browse repository at this point
Copy the full SHA 517f195View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c23bd2 - Browse repository at this point
Copy the full SHA 5c23bd2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 887e1c5 - Browse repository at this point
Copy the full SHA 887e1c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2557d02 - Browse repository at this point
Copy the full SHA 2557d02View commit details -
Configuration menu - View commit details
-
Copy full SHA for b313258 - Browse repository at this point
Copy the full SHA b313258View commit details
Commits on Mar 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cbd030e - Browse repository at this point
Copy the full SHA cbd030eView commit details