Im trying to use the method pyarrow.compute.assume_timezone but i get the error:
pyarrow.lib.ArrowInvalid: Cannot locate timezone 'UTC': Unable to get Timezone database version from C:\Users\Nick\Downloads\tzdata\
I tried download the db from https://www.iana.org/time-zones without success
Anyone got it work ?
import pyarrow
import pyarrow.compute as pc
import numpy
dt = pyarrow.array([numpy.datetime64("2022-10-10T12:00:12.123456789")], pyarrow.timestamp("ns"))
print(pc.assume_timezone(dt, "UTC"))