title: Fitting a normal distribution from a generator
body: <p>Fitting a distribution with sciPy is straightforward when the data are in a list:</p>
  
  <pre><code>import scipy as sc
  data = sc.stats.norm.rvs(5.0, 2.0, size=100)
  mu, std = sc.stats.norm.fit(data)
  </code></pre>
  
  <p>But my data are coming from a generator. norm.fit don´t directly work with generators. Transfering the whole data to a list before giving them to norm.fit is not possible. Is there any other library to solve my problem? </p>