blosc2.LazyArray.indices#
- abstract LazyArray.indices(order: str | list[str] | None = None) LazyArray #
Return an LazyArray containing the indices where self is True.
The LazyArray must be of bool dtype (e.g. a condition).
- Parameters:
order¶ (str, list of str, optional) – Specifies which fields to compare first, second, etc. A single field can be specified as a string. Not all fields need to be specified, only the ones by which the array is to be sorted.
- Returns:
out – The indices of the LazyArray self that are True.
- Return type: