(
timedeltas: T_DuckArray, # type: ignore[misc]
units: str,
dtype: np.dtype,
)
| 1315 | |
| 1316 | |
| 1317 | def _encode_cf_timedelta_within_map_blocks( |
| 1318 | timedeltas: T_DuckArray, # type: ignore[misc] |
| 1319 | units: str, |
| 1320 | dtype: np.dtype, |
| 1321 | ) -> T_DuckArray: |
| 1322 | num, _ = _eagerly_encode_cf_timedelta( |
| 1323 | timedeltas, units, dtype, allow_units_modification=False |
| 1324 | ) |
| 1325 | return num |
| 1326 | |
| 1327 | |
| 1328 | def _lazily_encode_cf_timedelta( |
nothing calls this directly
no test coverage detected
searching dependent graphs…