Skip to content

Commit

Permalink
docstring for ParquetFile updated (#877)
Browse files Browse the repository at this point in the history
* docstring for ParquetFile updated

pandas_nullable=False only takes effect when pandas metadata is absent in the original file.

* docstring for ParquetFile updated

pandas_nullable=False only takes effect when pandas metadata is absent in the original file.
  • Loading branch information
terr01 authored Aug 5, 2023
1 parent 574b061 commit d83c555
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fastparquet/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ class ParquetFile(object):
pandas_nulls: bool (True)
If True, columns that are int or bool in parquet, but have nulls, will become
pandas nullale types (Uint, Int, boolean). If False (the only behaviour
prior to v0.7.0), both kinds will be cast to float, and nulls will be NaN.
prior to v0.7.0), both kinds will be cast to float, and nulls will be NaN
unless pandas metadata indicates that the original datatypes were nullable.
Pandas nullable types were introduces in v1.0.0, but were still marked as
experimental in v1.3.0.
Expand Down

0 comments on commit d83c555

Please sign in to comment.