Skip to content

Commit 2bc35cf

Browse files
DOC: document differences between pyarrow and fastparquet in supported data types
1 parent 5a87d7e commit 2bc35cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/source/io.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4522,6 +4522,7 @@ See the documentation for `pyarrow <http://arrow.apache.org/docs/python/>`__ and
45224522
.. note::
45234523

45244524
These engines are very similar and should read/write nearly identical parquet format files.
4525+
Currently ``pyarrow`` does not support timedelta data, and ``fastparquet`` does not support timezone aware datetimes (they are coerced to UTC).
45254526
These libraries differ by having different underlying dependencies (``fastparquet`` by using ``numba``, while ``pyarrow`` uses a c-library).
45264527

45274528
.. ipython:: python
@@ -4548,8 +4549,8 @@ Read from a parquet file.
45484549

45494550
.. ipython:: python
45504551
4551-
result = pd.read_parquet('example_pa.parquet', engine='pyarrow')
45524552
result = pd.read_parquet('example_fp.parquet', engine='fastparquet')
4553+
result = pd.read_parquet('example_pa.parquet', engine='pyarrow')
45534554
45544555
result.dtypes
45554556

0 commit comments

Comments
 (0)