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