diff --git a/pyarrow-stubs/__lib_pxi/table.pyi b/pyarrow-stubs/__lib_pxi/table.pyi index 3c39cc2..d6dbc9c 100644 --- a/pyarrow-stubs/__lib_pxi/table.pyi +++ b/pyarrow-stubs/__lib_pxi/table.pyi @@ -412,7 +412,7 @@ class _Tabular(_PandasConvertible[pd.DataFrame], Generic[_ColumnT]): @classmethod def from_pydict( cls, - mapping: Mapping[str, Array | list], + mapping: Mapping[str, ChunkedArray | Array | list | np.ndarray], schema: Schema | None = None, metadata: Mapping | None = None, ) -> Self: ... @@ -444,8 +444,10 @@ class _Tabular(_PandasConvertible[pd.DataFrame], Generic[_ColumnT]): def to_string(self, *, show_metadata: bool = False, preview_cols: int = 0) -> str: ... def remove_column(self, i: int) -> Self: ... def drop_columns(self, columns: str | list[str]) -> Self: ... - def add_column(self, i: int, field_: str | Field, column: Array | list) -> Self: ... - def append_column(self, field_: str | Field, column: Array | list) -> Self: ... + def add_column( + self, i: int, field_: str | Field, column: ChunkedArray | Array | list + ) -> Self: ... + def append_column(self, field_: str | Field, column: ChunkedArray | Array | list) -> Self: ... class RecordBatch(_Tabular[Array]): def validate(self, *, full: bool = False) -> None: ...