@@ -4469,8 +4469,10 @@ Several caveats.
4469
4469
4470
4470
- This is a newer library, and the format, though stable, is not guaranteed to be backward compatible
4471
4471
to the earlier versions.
4472
- - The format will NOT write an ``Index ``, or ``MultiIndex `` for the ``DataFrame `` and will raise an
4473
- error if a non-default one is provided. You can simply ``.reset_index() `` in order to store the index.
4472
+ - The format will NOT write an ``Index ``, or ``MultiIndex `` for the
4473
+ ``DataFrame `` and will raise an error if a non-default one is provided. You
4474
+ can ``.reset_index() `` to store the index or ``.reset_index(drop=True) `` to
4475
+ ignore it.
4474
4476
- Duplicate column names and non-string columns names are not supported
4475
4477
- Non supported types include ``Period `` and actual python object types. These will raise a helpful error message
4476
4478
on an attempt at serialization.
@@ -4533,8 +4535,10 @@ dtypes, including extension dtypes such as datetime with tz.
4533
4535
4534
4536
Several caveats.
4535
4537
4536
- - The format will NOT write an ``Index ``, or ``MultiIndex `` for the ``DataFrame `` and will raise an
4537
- error if a non-default one is provided. You can simply ``.reset_index(drop=True) `` in order to store the index.
4538
+ - The format will NOT write an ``Index ``, or ``MultiIndex `` for the
4539
+ ``DataFrame `` and will raise an error if a non-default one is provided. You
4540
+ can ``.reset_index() `` to store the index or ``.reset_index(drop=True) `` to
4541
+ ignore it.
4538
4542
- Duplicate column names and non-string columns names are not supported
4539
4543
- Categorical dtypes can be serialized to parquet, but will de-serialize as ``object `` dtype.
4540
4544
- Non supported types include ``Period `` and actual python object types. These will raise a helpful error message
@@ -4580,7 +4584,7 @@ Read from a parquet file.
4580
4584
4581
4585
result.dtypes
4582
4586
4583
- Read only certain columns of a parquet file.
4587
+ Read only certain columns of a parquet file.
4584
4588
4585
4589
.. ipython :: python
4586
4590
0 commit comments