@@ -3018,7 +3018,7 @@ def evaluate(
30183018 local_dict : dict | None = None ,
30193019 global_dict : dict | None = None ,
30203020 out : np .ndarray | blosc2 .NDArray = None ,
3021- kwargs : dict | None = None ,
3021+ ** kwargs : Any ,
30223022) -> np .ndarray | blosc2 .NDArray :
30233023 """
30243024 Evaluate a string expression using the Blosc2 compute engine.
@@ -3027,7 +3027,8 @@ def evaluate(
30273027 Blosc2 compute engine. This allows for:
30283028
30293029 1) Use more functionality (e.g. reductions) than numexpr.
3030- 2) Use both NumPy arrays and Blosc2 NDArrays in the same expression.
3030+ 2) Follow casting rules of NumPy more closely.
3031+ 3) Use both NumPy arrays and Blosc2 NDArrays in the same expression.
30313032
30323033 As NDArrays can be on-disk, the expression can be evaluated without loading
30333034 the whole array into memory (i.e. using an out-of-core approach).
@@ -3045,7 +3046,7 @@ def evaluate(
30453046 out: NDArray or NumPy array, optional
30463047 The output array where the result will be stored. If not provided,
30473048 a new NumPy array will be created and returned.
3048- kwargs: dict , optional
3049+ kwargs: Any , optional
30493050 Additional arguments to be passed to `numexpr.evaluate()` function.
30503051
30513052 Returns
0 commit comments