Skip to content

Commit 4c30a39

Browse files
committed
feedback: revert variable type annotation in maybe_casted_values
1 parent 60d029b commit 4c30a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/dtypes/cast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ def maybe_casted_values(
487487

488488
# if we have the codes, extract the values with a mask
489489
if codes is not None:
490-
mask: np.ndarray = codes == -1
490+
mask = codes == -1
491491

492492
# we can have situations where the whole mask is -1,
493493
# meaning there is nothing found in codes, so make all nan's

0 commit comments

Comments
 (0)