Skip to content

Commit 3ca2e84

Browse files
committed
Added cases for smaller integer types to mixins take function.
1 parent 333ba45 commit 3ca2e84

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/core/arrays/_mixins.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,12 @@ def take(
175175
axis=axis,
176176
)
177177
if self.dtype in [
178+
NumpyEADtype(np.uint8),
179+
NumpyEADtype(np.uint16),
178180
NumpyEADtype(np.uint32),
179181
NumpyEADtype(np.uint64),
182+
NumpyEADtype(np.int8),
183+
NumpyEADtype(np.int16),
180184
NumpyEADtype(np.int32),
181185
NumpyEADtype(np.int64),
182186
]:

0 commit comments

Comments
 (0)