You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Avoid loading entire dataset by getting the nbytes in an array (#7356)
* Avoid instantiating entire dataset by getting the nbytes in an array
Using `.data` accidentally tries to load the whole lazy arrays into
memory.
Sad.
* DOC: Add release note for bugfix.
* Add test to ensure that number of bytes of sparse array is correctly
reported
* Add suggested test using InaccessibleArray
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Remove duplicate test
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com>
0 commit comments