We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8151366 commit 0330e78Copy full SHA for 0330e78
pandas/core/indexers.py
@@ -69,6 +69,7 @@ def is_empty_indexer(indexer, arr_value: np.ndarray) -> bool:
69
def check_setitem_lengths(indexer, value, values) -> None:
70
"""
71
Validate that value and indexer are the same length.
72
+
73
A special-case is allowed for when the indexer is a
74
boolean array and the number of true values equals
75
the length of ``value``.
0 commit comments