We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d925dc commit 400e230Copy full SHA for 400e230
activestorage/reductionist.py
@@ -116,6 +116,8 @@ def encode_missing(missing):
116
if missing_value:
117
if isinstance(missing_value, collections.abc.Sequence):
118
return {"missing_values": [encode_dvalue(v) for v in missing_value]}
119
+ elif isinstance(missing_value, np.ndarray):
120
+ return {"missing_values": [encode_dvalue(v) for v in missing_value]}
121
else:
122
return {"missing_value": encode_dvalue(missing_value)}
123
if valid_min and valid_max:
0 commit comments