Skip to content

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

DEPR: unit->input_unit in to_datetime, to_timedelta

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

Triggered via pull request September 29, 2025 22:00
Status Failure
Total duration 19m 12s
Artifacts

code-checks.yml

on: pull_request
Docstring validation, typing, and other manual pre-commit hooks
17m 10s
Docstring validation, typing, and other manual pre-commit hooks
ASV Benchmarks
19m 8s
ASV Benchmarks
Build Docker Dev Environment
4m 0s
Build Docker Dev Environment
Test install requirements-dev.txt
1m 46s
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 {'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 {'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 {'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 {'unit'} not documented