phofl opened a new issue, #34877:
URL: https://github.com/apache/arrow/issues/34877

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   With pandas 2.0 we support more resolutions than nanosecond resolution. E.g. 
the following should preserve the reso:
   
   ```
   import pandas as pd
   import pyarrow as pa
   df = DataFrame({"a": [np.datetime64("2022-01-01")]}, dtype="datetime64[s]")
   result = pa.Table.from_pandas(df).to_pandas()
   result.dtypes
   ```
   
   ```
   a    datetime64[ns]
   dtype: object
   ```
   
   Expected:
   
   ```
   a    datetime64[s]
   dtype: object
   ```
   
   Tried on the latest nightly build
   
   ### Component(s)
   
   Python


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