Especially frequent during compare(). Even though the issue is harmless, it confuses users.
>>> compare(arr1, arr2)
WARNING: received too many columns (4 > 2)!
WARNING: received too many columns (4 > 2)!
There are two distinct issues here:
- that warning should go to the logger (which is/should not be visible to end users) instead of using print(). Priority very high.
- there is an underlying issue in at least compare() (and possibly elsewhere) which is causing this unexpected column number.
Especially frequent during compare(). Even though the issue is harmless, it confuses users.
There are two distinct issues here: