Skip to content

Commit e0758ef

Browse files
authored
fix: iter ChunkedArray should return scalar value (#224)
1 parent 28a54cc commit e0758ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyarrow-stubs/__lib_pxi/table.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class ChunkedArray(_PandasConvertible[pd.Series], Generic[_Scalar_CoT]):
203203
@property
204204
def chunks(self) -> list[Array[_Scalar_CoT]]: ...
205205
def iterchunks(self) -> Generator[Array[_Scalar_CoT], None, None]: ...
206-
def __iter__(self) -> Iterator[Array[_Scalar_CoT]]: ...
206+
def __iter__(self) -> Iterator[_Scalar_CoT]: ...
207207
def to_pylist(
208208
self: ChunkedArray[Scalar[_BasicDataType[_AsPyType]]],
209209
) -> list[_AsPyType | None]: ...

0 commit comments

Comments
 (0)