I have come across a bug in the np.select section of my code and have reproduced a minimal-reproducible-example to seek some advice as to why ValueError:
np.select
ValueError: