Skip to content

DEPR: unit->input_unit in to_datetime, to_timedelta #51904

DEPR: unit->input_unit in to_datetime, to_timedelta

DEPR: unit->input_unit in to_datetime, to_timedelta #51904

Triggered via pull request October 3, 2025 14:35
Status Failure
Total duration 20m 0s
Artifacts

code-checks.yml

on: pull_request
Docstring validation, typing, and other manual pre-commit hooks
17m 13s
Docstring validation, typing, and other manual pre-commit hooks
ASV Benchmarks
19m 56s
ASV Benchmarks
Build Docker Dev Environment
2m 24s
Build Docker Dev Environment
Test install requirements-dev.txt
2m 6s
Test install requirements-dev.txt
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 4 warnings
Docstring validation, typing, and other manual pre-commit hooks
Process completed with exit code 3.
Docstring validation, typing, and other manual pre-commit hooks
/home/runner/work/pandas/pandas/pandas/core/tools/timedeltas.py:87:PR03:pandas.to_timedelta:Wrong parameters order. Actual: ('arg', 'unit', 'errors', 'input_unit'). Documented: ('arg', 'input_unit', 'errors', 'unit')
Docstring validation, typing, and other manual pre-commit hooks
/home/runner/work/pandas/pandas/pandas/core/tools/datetimes.py:678:PR03:pandas.to_datetime:Wrong parameters order. Actual: ('arg', 'errors', 'dayfirst', 'yearfirst', 'utc', 'format', 'exact', 'unit', 'origin', 'cache', 'input_unit'). Documented: ('arg', 'errors', 'dayfirst', 'yearfirst', 'utc', 'format', 'exact', 'input_unit', 'origin', 'cache', 'unit')
Docstring validation, typing, and other manual pre-commit hooks
/home/runner/work/pandas/pandas/pandas/__init__.py:None:PR03:pandas.Timestamp:Wrong parameters order. Actual: ('ts_input', 'year', 'month', 'day', 'hour', 'minute', 'second', 'microsecond', 'tzinfo', 'nanosecond', 'tz', 'unit', 'fold', 'input_unit'). Documented: ('ts_input', 'year', 'month', 'day', 'hour', 'minute', 'second', 'microsecond', 'tzinfo', 'nanosecond', 'tz', 'input_unit', 'fold', 'unit')
Docstring validation, typing, and other manual pre-commit hooks
Failed to save: Unable to reserve cache with key micromamba-downloads--linux-64, another job may be creating this cache.
Docstring validation, typing, and other manual pre-commit hooks
Failed to save: Unable to reserve cache with key micromamba-environment--linux-64-test-args-4f53cda-root-dcc80ee-bin-d2edc1ba4d7ee2a8dabe8913906c08a42cf169bb65e50fc0d53a37b44e2bdd1e-file-754eeabd6fe0e02a2d2d25c30d884360704a7fb9201247afacb0a90538897dd0, another job may be creating this cache.
ASV Benchmarks
Failed to save: Unable to reserve cache with key micromamba-downloads--linux-64, another job may be creating this cache.
ASV Benchmarks
Failed to save: Unable to reserve cache with key micromamba-environment--linux-64-test-args-4f53cda-root-dcc80ee-bin-d2edc1ba4d7ee2a8dabe8913906c08a42cf169bb65e50fc0d53a37b44e2bdd1e-file-754eeabd6fe0e02a2d2d25c30d884360704a7fb9201247afacb0a90538897dd0, another job may be creating this cache.