The original datetime in a dict array is
data= [
{
eob:datetime.datetime(2022, 8, 5, 9, 35, tzinfo=tzfile('PRC'))
},
{
eob:datetime.datetime(2022, 8, 5, 9, 40, tzinfo=tzfile('PRC'))
}
]
table = pa.Table.from_pylist(data)
print(table)
result is
pyarrow.Table
eob: timestamp[us, tz=PRC]
----
eob: [[2022-08-05 01:35:00.000000,2022-08-05 01:40:00.000000]]
The datetime in table changed to utc time. How can create the table without change the datetime?