Skip to content

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

DEPR: unit->input_unit in to_datetime, to_timedelta

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

Triggered via pull request September 25, 2025 21:57
Status Failure
Total duration 20m 44s
Artifacts

code-checks.yml

on: pull_request
Docstring validation, typing, and other manual pre-commit hooks
16m 45s
Docstring validation, typing, and other manual pre-commit hooks
ASV Benchmarks
20m 38s
ASV Benchmarks
Build Docker Dev Environment
2m 17s
Build Docker Dev Environment
Test install requirements-dev.txt
1m 47s
Test install requirements-dev.txt
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Docstring validation, typing, and other manual pre-commit hooks
Process completed with exit code 5.
Docstring validation, typing, and other manual pre-commit hooks
/home/runner/work/pandas/pandas/pandas/core/tools/timedeltas.py:87:PR01:pandas.to_timedelta:Parameters {'input_unit'} not documented
Docstring validation, typing, and other manual pre-commit hooks
/home/runner/work/pandas/pandas/pandas/core/tools/datetimes.py:678:PR01:pandas.to_datetime:Parameters {'input_unit'} not documented
Docstring validation, typing, and other manual pre-commit hooks
None:None:EX03:pandas.Timedelta.unit:flake8 error: line 2, col 1: F821 undefined name 'ts'
Docstring validation, typing, and other manual pre-commit hooks
/home/runner/work/pandas/pandas/pandas/__init__.py:None:PR01:pandas.Timedelta:Parameters {'input_unit'} not documented
Docstring validation, typing, and other manual pre-commit hooks
/home/runner/work/pandas/pandas/pandas/__init__.py:None:PR01:pandas.Timestamp:Parameters {'input_unit'} not documented