Skip to content

Commit d12f66d

Browse files
committed
type-ignore
1 parent 70563ce commit d12f66d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/io/pytables.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -5113,7 +5113,8 @@ def _maybe_convert_for_string_atom(
51135113
columns: list[str],
51145114
):
51155115
if isinstance(bvalues.dtype, StringDtype):
5116-
bvalues = bvalues.to_numpy()
5116+
# "ndarray[Any, Any]" has no attribute "to_numpy"
5117+
bvalues = bvalues.to_numpy() # type: ignore[union-attr]
51175118
if bvalues.dtype != object:
51185119
return bvalues
51195120

0 commit comments

Comments
 (0)