You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
radar_plot fails on pandas 3 (data.loc with 1-tuple key) #854
ValueError: zip() argument 2 is longer than argument 1
(pandas 3.0.6; tests/test_viz.py::TestViz::test_output_is_plot fails the same way.)
Cause: the loop is for g in zip(data.index), so g is a 1-tuple ("model1",). data.loc[("model1",)] is interpreted by pandas 3 as a multi-axis key. The legend label also becomes the tuple. Iterating data.index directly fixes both. I have a one-line patch ready.
Claiming this issue; fix is in PR #855 (davrens101 fork, non-force push to PR head branch). Change is tested locally; AI-assisted, disclosed in PR body.
Activity
davrens101 commentedon Nov 12, 2026
Claiming this issue; fix is in PR #855 (davrens101 fork, non-force push to PR head branch). Change is tested locally; AI-assisted, disclosed in PR body.