jorisvandenbossche commented on code in PR #14729:
URL: https://github.com/apache/arrow/pull/14729#discussion_r1034624379
##########
python/pyarrow/tests/parquet/test_datetime.py:
##########
@@ -297,6 +297,8 @@ def test_coerce_int96_timestamp_unit(unit):
@pytest.mark.pandas
@pytest.mark.parametrize('pq_reader_method', ['ParquetFile', 'read_table'])
[email protected](
+ "ignore:Discarding nonzero nanoseconds in conversion:UserWarning")
Review Comment:
Searching for this phrase, pandas raises this warning when you convert a
Timestamp object to a python datetime.datetime object:
```
In [22]: pd.Timestamp("2022-01-01 01:01:01.123456789").to_pydatetime()
<ipython-input-22-7cef94b12f00>:1: UserWarning: Discarding nonzero
nanoseconds in conversion.
pd.Timestamp("2022-01-01 01:01:01.123456789").to_pydatetime()
Out[22]: datetime.datetime(2022, 1, 1, 1, 1, 1, 123456)
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]