@@ -4427,8 +4427,10 @@ Several caveats.
4427
4427
4428
4428
- This is a newer library, and the format, though stable, is not guaranteed to be backward compatible
4429
4429
to the earlier versions.
4430
- - The format will NOT write an ``Index ``, or ``MultiIndex `` for the ``DataFrame `` and will raise an
4431
- error if a non-default one is provided. You can simply ``.reset_index() `` in order to store the index.
4430
+ - The format will NOT write an ``Index ``, or ``MultiIndex `` for the
4431
+ ``DataFrame `` and will raise an error if a non-default one is provided. You
4432
+ can ``.reset_index() `` to store the index or ``.reset_index(drop=True) `` to
4433
+ ignore it.
4432
4434
- Duplicate column names and non-string columns names are not supported
4433
4435
- Non supported types include ``Period `` and actual python object types. These will raise a helpful error message
4434
4436
on an attempt at serialization.
@@ -4491,8 +4493,10 @@ dtypes, including extension dtypes such as datetime with tz.
4491
4493
4492
4494
Several caveats.
4493
4495
4494
- - The format will NOT write an ``Index ``, or ``MultiIndex `` for the ``DataFrame `` and will raise an
4495
- error if a non-default one is provided. You can simply ``.reset_index(drop=True) `` in order to store the index.
4496
+ - The format will NOT write an ``Index ``, or ``MultiIndex `` for the
4497
+ ``DataFrame `` and will raise an error if a non-default one is provided. You
4498
+ can ``.reset_index() `` to store the index or ``.reset_index(drop=True) `` to
4499
+ ignore it.
4496
4500
- Duplicate column names and non-string columns names are not supported
4497
4501
- Categorical dtypes can be serialized to parquet, but will de-serialize as ``object `` dtype.
4498
4502
- Non supported types include ``Period `` and actual python object types. These will raise a helpful error message
@@ -4538,7 +4542,7 @@ Read from a parquet file.
4538
4542
4539
4543
result.dtypes
4540
4544
4541
- Read only certain columns of a parquet file.
4545
+ Read only certain columns of a parquet file.
4542
4546
4543
4547
.. ipython :: python
4544
4548
0 commit comments