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 6c56c88 commit 26de031Copy full SHA for 26de031
doc/source/user_guide/io.rst
@@ -5323,6 +5323,20 @@ Read from a parquet file.
5323
5324
result.dtypes
5325
5326
+By setting the ``dtype_backend`` argument you can control the default dtypes used for the resulting DataFrame.
5327
+
5328
+.. ipython:: python
5329
+ :okwarning:
5330
5331
+ result = pd.read_parquet("example_pa.parquet", engine="pyarrow", dtype_backend="pyarrow")
5332
5333
+ result.dtypes
5334
5335
+.. note::
5336
5337
+ Note that this is not supported for ``fastparquet``.
5338
5339
5340
Read only certain columns of a parquet file.
5341
5342
.. ipython:: python
0 commit comments