thisisnic commented on issue #40620:
URL: https://github.com/apache/arrow/issues/40620#issuecomment-7039019128

   This depends on the pandas version: with pyarrow 26.0.0 both examples still 
give `0` with pandas 2.3.3, and give the correct `1000` (as `duration[us]`) 
with pandas 3.1.1. It is the same problem as #37291: pandas 2.x leaves the 
C-level `datetime.timedelta` fields at zero for `Timedelta` objects with unit 
`s` or `ms`, and pyarrow reads those fields.
   
   Closing as a duplicate of #37291.
   


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

Reply via email to