Open
Description
Describe the bug, including details regarding any error messages, version, and platform.
>>> pa.Array.from_pandas(pd.Series([], dtype=pd.ArrowDtype(pa.timestamp('s')))) # correct
<pyarrow.lib.TimestampArray object at 0x7fb665f77fa0>
[]
>>> pa.Array.from_pandas(pd.Series([], dtype=pd.ArrowDtype(pa.timestamp('s'))).dt.tz_localize('UTC')) # incorrect
<pyarrow.lib.ChunkedArray object at 0x7fb665fd8680>
[
]
Same issue with pa.array()
instead of pa.Array.from_pandas()
.
Component(s)
Python