title: Survey score. Find the percentage
body: <p>I have a <code>xlsx</code> document with some score values and I have imported them with <code>pandas</code> to Python. There are numbers from 0-10 (from worst to best) based on customers' experience with a store. My goal is to find out how many customers answered 0-6 and the percentage. Many of the rows in that column are empty (because many customers didn't answer), so is it best to use <code>dropna</code> to get rid of the empty ones? And how can I find out how many customers answered 0-6? I used this code below to find out how many answered 0, but is there a faster/better way to do this?</p>
  <p><code>(np.count_nonzero(score == 0))</code></p>
  <p><a href="https://i.stack.imgur.com/YYiSH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YYiSH.png" alt="Score" /></a></p>