Skip to content

Commit 8165247

Browse files
author
a-hirota
committed
Clarify ParquetWriter utc_timestamps docstring
Structural (docs-only) change: note that the option also applies to duration columns written as Parquet TIME and that values are not shifted.
1 parent 4ae511b commit 8165247

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎python/cudf/cudf/io/parquet.py‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1859,9 +1859,10 @@ class ParquetWriter:
18591859
If ``True``, enable computing and writing arrow schema to Parquet
18601860
file footer's key-value metadata section for faithful round-tripping.
18611861
utc_timestamps : bool, default True
1862-
If ``True``, timestamp columns are written with
1863-
``isAdjustedToUTC=true``. If ``False``, they are written with
1864-
``isAdjustedToUTC=false``, matching ``DataFrame.to_parquet``.
1862+
Value of ``isAdjustedToUTC`` in the Parquet logical type of
1863+
timestamp columns (and of duration columns, which are written as
1864+
``TIME``). The values themselves are not shifted. Set to ``False``
1865+
to match ``DataFrame.to_parquet``.
18651866
18661867
See Also
18671868
--------

0 commit comments

Comments
 (0)