DateRange.to_numpy

time.DateRange.to_numpy()

Convert the DateRange to a numpy datetime64 array.

Returns

NDArray[datetime64]

The one-dimensional array containing all dates in the range in order.