pyinterp.core.dateutils.datetime

Contents

pyinterp.core.dateutils.datetime#

pyinterp.core.dateutils.datetime(array: numpy.ndarray) numpy.ndarray#

Convert datetime64 values to native Python datetime objects.

Transforms numpy datetime64 array elements into an array of native Python datetime.datetime objects preserving the precision of the input.

Parameters:

array – Numpy array of datetime64 to process.

Returns:

Object dtype array containing native Python datetime.datetime objects.