danepitkin commented on code in PR #35656:
URL: https://github.com/apache/arrow/pull/35656#discussion_r1240164828
##########
python/pyarrow/array.pxi:
##########
@@ -721,12 +722,12 @@ cdef class _PandasConvertible(_Weakrefable):
integer_object_nulls : bool, default False
Cast integers with nulls to objects
date_as_object : bool, default True
- Cast dates to objects. If False, convert to datetime64[ns] dtype.
+ Cast dates to objects. If False, convert to datetime64 dtype.
Review Comment:
I will add the case for pandas 1.x! For pandas 2.0, the conversion will
match the pyarrow time unit so it could range from `s` to `ns`. The only
surprise from the user's perspective is date32, which translates `Day` to `ms`.
--
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]