We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f1dd29 commit 3a25cb9Copy full SHA for 3a25cb9
pandas/core/array_algos/take.py
@@ -179,8 +179,6 @@ def take_1d(
179
Note: similarly to `take_nd`, this function assumes that the indexer is
180
a valid(ated) indexer with no out of bound indices.
181
"""
182
- indexer = ensure_platform_int(indexer)
183
-
184
if not isinstance(arr, np.ndarray):
185
# ExtensionArray -> dispatch to their method
186
return arr.take(indexer, fill_value=fill_value, allow_fill=allow_fill)
0 commit comments