HyukjinKwon opened a new issue, #48625: URL: https://github.com/apache/arrow/issues/48625
### Describe the bug, including details regarding any error messages, version, and platform. https://github.com/apache/arrow/blob/de6eb89dbdcf210802c3aad5d3f1a3d4c64c3582/python/pyarrow/src/arrow/python/inference.cc#L258 For example, ```python import numpy as np pa.array([np.datetime64('2020-01-01', 's'), np.datetime64('2020-01-02', 'ms')]) ``` fails with somewhat a confusing error message: ``` Traceback (most recent call last): File "<stdin>", line 1, in <module> File "pyarrow/array.pxi", line 375, in pyarrow.lib.array File "pyarrow/array.pxi", line 46, in pyarrow.lib._sequence_to_array File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status pyarrow.lib.ArrowNotImplementedError: Expected np.datetime64 but got: timestamp[ms] ``` ### 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]
