title: Get result of value_count() to excel from Pandas
body: <p>I have a data frame <code>"df"</code> with a column called <code>"column1"</code>. By running the below code: </p>
  
  <pre><code>df.column1.value_counts()
  </code></pre>
  
  <p>I get the output which contains values in column1 and its frequency. I want this result in the excel. When I try to this by running the below code:</p>
  
  <pre><code>df.column1.value_counts().to_excel("result.xlsx",index=None)
  </code></pre>
  
  <p>I get the below error:</p>
  
  <blockquote>
    <p><em>AttributeError: 'Series' object has no attribute 'to_excel'</em></p>
  </blockquote>
  
  <p>How can I accomplish the above task?</p>