You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "0x26res (via GitHub)" <gi...@apache.org> on 2023/09/05 11:16:27 UTC

[GitHub] [arrow] 0x26res commented on issue #37545: to_pandas(date_as_object=False) returns different dtype in pyarrow 13.0.0

0x26res commented on issue #37545:
URL: https://github.com/apache/arrow/issues/37545#issuecomment-1706424091

   Thanks @AlenkaF, `coerce_temporal_nanoseconds` gives me `timestamp[ns]`. 
   
   Also I've figure I was using types_mapper wrong, I should be doing:
   ```python
   table.to_pandas(types_mapper={pa.date32(): pd.ArrowDtype(pa.timestamp('ns'))}.get)
   ```
   
   I'll close the issue.


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