Skip to content

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

DEPR: unit->input_unit in to_datetime, to_timedelta

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

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

code-checks.yml

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

Annotations

7 errors
Docstring validation, typing, and other manual pre-commit hooks
Process completed with exit code 1.
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