whats the approach to converting a unix time stamp which is in microseconds to datetime?
for example: 1632527998056329
pd.to_datetime(data['local_timestamp'],unit='ms')
doesn't seem to work. I have a column with unix timestamp with microsecond granularity which I need to convert and set as index.
The above code returns an error:
pandas._libs.tslibs.np_datetime.OutOfBoundsDatetime: cannot convert input with unit 'ms'
The above code works when the unix time stamp is for milliseconds. I don't think there is one for microseconds.