MCPcopy Create free account
hub / github.com/dask/dask / ToTimestamp

Class ToTimestamp

dask/dataframe/dask_expr/_expr.py:1522–1533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1520
1521
1522class ToTimestamp(Elemwise):
1523 _projection_passthrough = True
1524 _parameters = ["frame", "freq", "how"]
1525 _defaults = {"freq": None, "how": "start"}
1526 operation = M.to_timestamp
1527 _filter_passthrough = True
1528 _preserves_partitioning_information = True
1529
1530 def _divisions(self):
1531 return tuple(
1532 pd.Index(self.frame.divisions).to_timestamp(freq=self.freq, how=self.how)
1533 )
1534
1535
1536class CombineSeries(Elemwise):

Callers 1

to_timestampMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected