title: Python de-aggregate / reverse-summarize / expand a dataset
body: <p>Is there a way to de-aggregate / reverse-summarize / expand a dataset in python? For example, if I have a dataset in the format</p>
  <pre><code>year     object     count
  2020     apple        3
  2020     orange       1
  2021     orange       2
  2021     apple        4
  </code></pre>
  <p>I want it to look like:</p>
  <pre><code>year    object
  2020    apple
  2020    apple
  2020    apple
  2020    orange
  2021    orange
  2021    orange
  2021    apple
  2021    apple
  2021    apple
  2021    apple
  </code></pre>
  <p>Is there an easy way to do this?</p>