pandas.DatetimeIndex.to_pydatetime

DatetimeIndex.to_pydatetime(*args, **kwargs)[source]

Return Datetime Array/Index as object ndarray of datetime.datetime objects.

Returns
datetimesndarray