(values, date_format)
| 219 | |
| 220 | |
| 221 | def _strftime(values, date_format): |
| 222 | if is_np_datetime_like(values.dtype): |
| 223 | access_method = _strftime_through_series |
| 224 | else: |
| 225 | access_method = _strftime_through_cftimeindex |
| 226 | if is_duck_dask_array(values): |
| 227 | from dask.array import map_blocks |
| 228 | |
| 229 | return map_blocks(access_method, values, date_format) |
| 230 | else: |
| 231 | return access_method(values, date_format) |
| 232 | |
| 233 | |
| 234 | def _index_or_data(obj): |
no test coverage detected
searching dependent graphs…