Write a program using function to compute the number of zeros in the array
Ameer_7 0 Newbie Poster
Reverend Jim 5,216 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
rproffitt commented: 1 liner in Numpy: numpy.count_nonzero(a, axis=None, *, keepdims=False) +15
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.