Commits


Alenka Frim authored and GitHub committed 3456131ab73
GH-35250: [Python] Add test for datetime column conversion to pandas (#35546) ### Rationale for this change In pandas version 2.1.0 `__from_arrow__` method has been implemented for `DatetimeTZDtype` extension type. See https://github.com/pandas-dev/pandas/pull/52201. Due to this change, the conversion from pyarrow table column with datetime uses the newly implemented `__from_arrow__` method for the pandas dtype and `pandas_api.series` to construct the pandas series. We had to pass the name in the `pandas_api.series` also, to fix failing tests in https://github.com/apache/arrow/pull/35248. This PR adds explicit test for this change. * Closes: #35250 Authored-by: Alenka Frim <frim.alenka@gmail.com> Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>