Is there any resolution in numpy with regards to the issue described in this SO post FutureWarning: elementwise comparison failed; returning scalar, but in the future will p