We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02dd36a commit 6ca4430Copy full SHA for 6ca4430
pandas/core/internals/construction.py
@@ -297,7 +297,12 @@ def ndarray_to_mgr(
297
if isinstance(values, (np.ndarray, ExtensionArray)) and values.ndim > 1:
298
# GH#12513 a EA dtype passed with a 2D array, split into
299
# multiple EAs that view the values
300
- values = [values[:, n] for n in range(values.shape[1])]
+ # error: No overload variant of "__getitem__" of "ExtensionArray"
301
+ # matches argument type "Tuple[slice, int]"
302
+ values = [
303
+ values[:, n] # type: ignore[call-overload]
304
+ for n in range(values.shape[1])
305
+ ]
306
else:
307
values = [values]
308
0 commit comments