title: Construct a list from dataset of values and value counts
body: <p>To expand the data <code>Score</code> into a list of <code>Scores</code> based on the <code>Count</code>, is there a better way in <code>pandas</code> and <code>numpy</code> than the following?</p>
  
  <pre><code>import pandas as pd
  import numpy as np
  
  data = {
      "Count": [1, 3, 2],
      "Score": [2, 5, 8]
  }
  
  df = pd.DataFrame(data)
  
  scores = []
  
  for c, s in zip(df['Count'], df['Score']):
      for i in range(0, c):
          scores.append(s)
  
  print(scores)
  </code></pre>
  
  <p>Expected output:</p>
  
  <p><code>[2, 5, 5, 5, 8, 8]</code></p>