Move to a new Array backend Parameters ---------- backend : str, Optional The name of the new backend to move to. The default is the current "array.backend" configuration. Returns ------- Array
(self, backend: str | None = None, **kwargs)
| 1862 | return from_dask_array(self, columns=columns, index=index, meta=meta) |
| 1863 | |
| 1864 | def to_backend(self, backend: str | None = None, **kwargs): |
| 1865 | """Move to a new Array backend |
| 1866 | |
| 1867 | Parameters |
| 1868 | ---------- |
| 1869 | backend : str, Optional |
| 1870 | The name of the new backend to move to. The default |
| 1871 | is the current "array.backend" configuration. |
| 1872 | |
| 1873 | Returns |
| 1874 | ------- |
| 1875 | Array |
| 1876 | """ |
| 1877 | from dask.array.creation import to_backend |
| 1878 | |
| 1879 | return to_backend(self, backend=backend, **kwargs) |
| 1880 | |
| 1881 | def __bool__(self): |
| 1882 | if self.size > 1: |