pysal / libpysal

Core components of Python Spatial Analysis Library
http://pysal.org/libpysal
Other
249 stars 79 forks source link

COMPAT: compatibility with pandas 3 #692

Closed martinfleis closed 4 months ago

martinfleis commented 4 months ago

pandas no longer returns names of MultiIndex as a list but as a tuple. Making our check compatible.

This will need to be released before pandas 3 which is scheduled for April. Otherwise, graph module will be unusable with pandas 3.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.9%. Comparing base (018f1e2) to head (d6142d7). Report is 3 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/pysal/libpysal/pull/692/graphs/tree.svg?width=650&height=150&src=pr&token=wgnkG5Rj0J&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal)](https://app.codecov.io/gh/pysal/libpysal/pull/692?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal) ```diff @@ Coverage Diff @@ ## main #692 +/- ## ======================================= + Coverage 84.7% 84.9% +0.2% ======================================= Files 141 141 Lines 15200 15199 -1 ======================================= + Hits 12880 12910 +30 + Misses 2320 2289 -31 ``` | [Files](https://app.codecov.io/gh/pysal/libpysal/pull/692?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal) | Coverage Δ | | |---|---|---| | [libpysal/graph/base.py](https://app.codecov.io/gh/pysal/libpysal/pull/692?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal#diff-bGlicHlzYWwvZ3JhcGgvYmFzZS5weQ==) | `97.9% <100.0%> (ø)` | | ... and [11 files with indirect coverage changes](https://app.codecov.io/gh/pysal/libpysal/pull/692/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pysal)