Stale comment · TomAugspurger/pandas@82cad8b (original) (raw)
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1495,7 +1495,6 @@ def take(arr, indexer, allow_fill=False, fill_value=None): | ||
| 1495 | 1495 | |
| 1496 | 1496 | if allow_fill: |
| 1497 | 1497 | # Pandas style, -1 means NA |
| 1498 | -# Use for bounds checking, we don't actually want to convert. | |
| 1499 | 1498 | validate_indices(indexer, len(arr)) |
| 1500 | 1499 | result = take_1d(arr, indexer, allow_fill=True, fill_value=fill_value) |
| 1501 | 1500 | else: |