File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -458,8 +458,6 @@ def to_parquet(
458458
459459 kwargs
460460 Additional keyword arguments passed to the engine.
461- When using the ``'pyarrow'`` engine ``to_pandas_kwargs`` can be used to pass
462- through arguments to ``pyarrow.Table.to_pandas``.
463461
464462 Returns
465463 -------
@@ -498,6 +496,7 @@ def read_parquet(
498496 dtype_backend : DtypeBackend | lib .NoDefault = lib .no_default ,
499497 filesystem : Any = None ,
500498 filters : list [tuple ] | list [list [tuple ]] | None = None ,
499+ to_pandas_kwargs : dict | None = None ,
501500 ** kwargs ,
502501) -> DataFrame :
503502 """
@@ -571,6 +570,12 @@ def read_parquet(
571570
572571 .. versionadded:: 2.1.0
573572
573+ to_pandas_kwargs: dict | None, default None
574+ keyword arguments to pass through to ``pyarrow.Table.to_pandas``
575+ when ``engine="pyarrow"``.
576+
577+ .. versionadded:: 3.0.0
578+
574579 **kwargs
575580 Any additional kwargs are passed to the engine.
576581
@@ -643,5 +648,6 @@ def read_parquet(
643648 storage_options = storage_options ,
644649 dtype_backend = dtype_backend ,
645650 filesystem = filesystem ,
651+ to_pandas_kwargs = to_pandas_kwargs ,
646652 ** kwargs ,
647653 )
You can’t perform that action at this time.
0 commit comments