MCPcopy Index your code
hub / github.com/dask/dask / ToDatetime

Class ToDatetime

dask/dataframe/dask_expr/_expr.py:1574–1591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1572
1573
1574class ToDatetime(Elemwise):
1575 _parameters = ["frame", "kwargs", "meta"]
1576 _defaults = {"kwargs": None}
1577 _keyword_only = ["kwargs", "meta"]
1578
1579 @functools.cached_property
1580 def _meta(self):
1581 return self.operand("meta")
1582
1583 @staticmethod
1584 def operation(*args, **kwargs):
1585 return get_meta_library(args[0]).to_datetime(*args, **kwargs)
1586
1587 @functools.cached_property
1588 def _kwargs(self):
1589 if (kwargs := self.operand("kwargs")) is None:
1590 return {}
1591 return kwargs
1592
1593
1594class ToTimedelta(Elemwise):

Callers 1

to_datetimeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…