On Tuesday, November 17, 2015 at 4:03:05 PM UTC-5, John Gordon wrote: > In <bad9ac66-38aa-4445-a486-6df0e9c77...@googlegroups.com> fl <@gmail.com> > writes: > > > correctly. Could you see something useful with variable 'sz'? > > 'sz' is fewer characters than '(n_iter,)', which may make your code easier > to read. > > The np.zeros() function explicitly accepts an 'int or sequence of ints', > so you don't specifically need a sequence. Is the same true for the > 'size' keyword argument of np.random.normal()? > > -- > John Gordon A is for Amy, who fell down the stairs > @panix.com B is for Basil, assaulted by bears > -- Edward Gorey, "The Gashlycrumb Tinies"
Hi, I get the following for the third parameter of np.random.normal(): size : int or tuple of ints, optional I still don't see the necessity of 'sz'. Thanks, -- https://mail.python.org/mailman/listinfo/python-list