We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9674d19 commit 5fa5b2dCopy full SHA for 5fa5b2d
1 file changed
.github/workflows/test.yml
@@ -93,7 +93,11 @@ jobs:
93
pip install -e .[test] scikit-learn==${{ matrix.scikit-learn }}
94
95
# scikit-learn 1.7+ requires pandas 3.x, earlier versions use pandas 2.x
96
- if [[ "${{ matrix.scikit-learn }}" == "1.7."* ]]; then
+ version="${{ matrix.scikit-learn }}"
97
+ major=$(echo "$version" | cut -d. -f1)
98
+ minor=$(echo "$version" | cut -d. -f2)
99
+
100
+ if [[ "$major" -gt 1 ]] || { [[ "$major" -eq 1 ]] && [[ "$minor" -ge 7 ]]; }; then
101
pip install "pandas==3.*"
102
else
103
pip install "pandas==2.*"
0 commit comments