Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit a1b10d7

Browse files
committed
PR comment
1 parent 5cfa4d7 commit a1b10d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ocf_datapipes/transform/xarray/normalize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ def __init__(
2222
max_value: Optional[Union[int, float]] = None,
2323
calculate_mean_std_from_example: bool = False,
2424
normalize_fn: Optional[Callable] = None,
25-
min_values: Optional[np.ndarray] = None,
26-
max_values: Optional[np.ndarray] = None,
25+
min_values: Optional[Union[xr.Dataset, xr.DataArray, np.ndarray]] = None,
26+
max_values: Optional[Union[xr.Dataset, xr.DataArray, np.ndarray]] = None,
2727
):
2828
"""
2929
Normalize the data with either given mean/std,

0 commit comments

Comments
 (0)