Skip to content

Commit 0903d15

Browse files
committed
Run ruff
1 parent a2b8cff commit 0903d15

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/core/algorithms.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -1691,9 +1691,7 @@ def map_array(
16911691
indexer = mapper.index.get_indexer(arr)
16921692

16931693
if na_action == "raise" and (indexer == -1).any():
1694-
raise ValueError(
1695-
"At least one value is not covered in the mapping!"
1696-
)
1694+
raise ValueError("At least one value is not covered in the mapping!")
16971695

16981696
new_values = take_nd(mapper._values, indexer)
16991697

0 commit comments

Comments
 (0)