[Tutor] Aaagh! Stack arrays!?! calc average
bensherman at gmail.com
Tue May 1 22:30:47 CEST 2007
On 5/1/07, John Washakie <washakie at gmail.com> wrote:
> It still doesn't make sense due to the sum/cnt where cnt is just an
> int, and sum is a 1-dimensional array!
> I'm missing something here about working with numpy arrays...
You need to add all of the numbers in your list - you can't just divide a
list by an int.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor