scikit-learn / scikit-learn/scikit-learn

BUG internal indexing tools trigger error with pandas < 2.0.0

Open
#28,931 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Pandas compatibility
Dominant language
Python
Stars
67.3k
Forks
27.4k
Avg merge
1d 15h
Merged PRs (30d)
58

Description

#28375 triggers errors for pandas < 2.0.0, despite just using scikit-learn internal functionalities.

As documented in https://scikit-learn.org/dev/install.html, we have pandas >= 1.1.3.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing pull request #28375 and reproducing its reported error with the pandas versions supported by the installation documentation, especially versions below 2.0. Trace which internal indexing functionality fails. Done means the internal tools work with pandas >=1.1.3 without triggering the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
pandas, python
Domain
machine-learning, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.