nnumpy matriks menghitung nilai non negatif

import numpy as np

np.sum(np.array(x) >= 0, axis=0)
Shantam Vijayputra