MCPcopy
hub / github.com/pandas-dev/pandas / _time_to_micros

Function _time_to_micros

pandas/core/indexes/datetimes.py:1616–1618  ·  view source on GitHub ↗
(time_obj: dt.time)

Source from the content-addressed store, hash-verified

1614
1615
1616def _time_to_micros(time_obj: dt.time) -> int:
1617 seconds = time_obj.hour * 60 * 60 + 60 * time_obj.minute + time_obj.second
1618 return 1_000_000 * seconds + time_obj.microsecond

Callers 2

indexer_at_timeMethod · 0.85
indexer_between_timeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected