jorisvandenbossche commented on a change in pull request #7169:
URL: https://github.com/apache/arrow/pull/7169#discussion_r427351793



##########
File path: python/pyarrow/array.pxi
##########
@@ -549,6 +550,11 @@ cdef class _PandasConvertible:
             Cast integers with nulls to objects
         date_as_object : bool, default True
             Cast dates to objects. If False, convert to datetime64[ns] dtype.
+        timestamp_as_object : bool, default False
+            Cast non-nanosecond timestamps (np.datetime64) to objects. This is

Review comment:
       Hmm, yes, that's a good reason. 
   Personally I don't think that it being lossy is a problem (in the end, the 
user would explicitly ask for it), but since this keyword applies to all 
columns, it might indeed be useful to handle this case of mixed-unit columns a 
bit more gracefully.
   
   (this might also signal that a simple boolean flag is maybe not sufficient 
for this keyword)




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to