MCPcopy Index your code
hub / github.com/pydata/xarray / to_datetime_unboxed

Function to_datetime_unboxed

xarray/coding/times.py:610–613  ·  view source on GitHub ↗
(value, **kwargs)

Source from the content-addressed store, hash-verified

608
609
610def to_datetime_unboxed(value, **kwargs):
611 result = pd.to_datetime(value, **kwargs).to_numpy()
612 assert np.issubdtype(result.dtype, "datetime64")
613 return result
614
615
616def _numbers_to_timedelta(

Callers 1

infer_datetime_unitsFunction · 0.85

Calls 1

to_numpyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…