change bin size of histogram data
<p>I have data from an SQL statement like</p>

<pre><code>'select action_count, count(*) "num_users" from customers group by action_count;'
</code></pre>

<p>and load this into a pandas data frame. I can run a simple plot command on the data, or <em>barplot</em> it to make it look like a histogram. But how can I easily change the bin size of this data set? And how do I then plot the bins, i.e. the x-axis correctly?</p>

<p>Thanks!</p>