[python-package] remove unused fallback code in _pandas_to_numpy #7444

Open
jameslamb opened 2:14am on September 22, 2026 wants to merge 20 Ξ” into microsoft/lightgbm main from
python/misc-cleanups
Diff Delta:
20
About 26 Diff Delta/hour
Classified as:  General

jameslamb's Description of Work

Contributes to #7031

The Python package's minimum pandas floor is >=1.3.4:

https://github.com/lightgbm-org/LightGBM/blob/a0afb85496b1f483710d2a861330321eab794fff/python-package/pyproject.toml#L47-L50

This removes a fallback that was only needed for pandas>=1.0,<1.2.

cc @maxzw for visibility

1 total changed file
Loading changes...
That’s the last hunk
No more diffs beyond this point