Return an array whose values are limited to ``[min, max]``. One of max or min must be given. Refer to :func:`dask.array.clip` for full documentation. See Also -------- dask.array.clip : equivalent function
(self, min=None, max=None)
| 2854 | return conj(self) |
| 2855 | |
| 2856 | def clip(self, min=None, max=None): |
| 2857 | """Return an array whose values are limited to ``[min, max]``. |
| 2858 | One of max or min must be given. |
| 2859 | |
| 2860 | Refer to :func:`dask.array.clip` for full documentation. |
| 2861 | |
| 2862 | See Also |
| 2863 | -------- |
| 2864 | dask.array.clip : equivalent function |
| 2865 | """ |
| 2866 | from dask.array.ufunc import clip |
| 2867 | |
| 2868 | return clip(self, min, max) |
| 2869 | |
| 2870 | def view(self, dtype=None, order="C"): |
| 2871 | """Get a view of the array as a new data type |
nothing calls this directly
no outgoing calls
no test coverage detected