Improving performance of operations on a NumPy array,"A.sum(axis=0, skipna=True)"