You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jorisvandenbossche (via GitHub)" <gi...@apache.org> on 2024/06/18 13:56:06 UTC
Re: [PR] MINOR: [Python][Docs] Fix mention of default for coerce_timestamps keyword in reading Parquet [arrow]
jorisvandenbossche commented on code in PR #41498:
URL: https://github.com/apache/arrow/pull/41498#discussion_r1644514933
##########
python/pyarrow/parquet/core.py:
##########
@@ -761,9 +761,9 @@ def _sanitize_table(table, new_schema, flavor):
by flavor argument. This take priority over the coerce_timestamps option.
coerce_timestamps : str, default None
Cast timestamps to a particular resolution. If omitted, defaults are chosen
- depending on `version`. By default, for ``version='1.0'`` (the default)
- and ``version='2.4'``, nanoseconds are cast to microseconds ('us'), while
- for other `version` values, they are written natively without loss
+ depending on `version`. For ``version='1.0'`` and ``version='2.4'``,
Review Comment:
Strictly speaking not, because in that case we are referring to the keyword, which uses single backticks following the numpydoc guidelines (although the difference is a bit ambiguous)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org