Skip to content

Allow pandas <4 and fix pandas3 indexing in scoring test#54

Open
idan192 wants to merge 1 commit intomasterfrom
idan/20260311/pandas-lt4
Open

Allow pandas <4 and fix pandas3 indexing in scoring test#54
idan192 wants to merge 1 commit intomasterfrom
idan/20260311/pandas-lt4

Conversation

@idan192
Copy link

@idan192 idan192 commented Mar 11, 2026

Summary

This PR broadens the pandas compatibility range and fixes a pandas-3 indexing behavior in tests.

Changes

  • pyproject.toml
    • pandas dependency changed from ^2.2.2 to >=2.2.2,<4.0.0.
  • tests/test_scoring.py
    • Replaced Series[0] access with Series.iloc[0] for pandas 3 compatibility.
  • poetry.lock
    • Regenerated lockfile after dependency range update.

Verification

poetry run pytest

Result: 72 passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant