pyarrow.compute.microseconds_between#

pyarrow.compute.microseconds_between(start,end,/,*,memory_pool=None)#

Compute the number of microseconds between two timestamps.

Returns the number of microsecond boundaries crossed fromstart toend.That is, the difference is calculated as if the timestamps weretruncated to the microsecond.Null values emit null.

Parameters:
startArray-like or scalar-like

Argument to compute function.

endArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

If not passed, will allocate memory from the default memory pool.