Try:
nums3 = db(db.Measures).select( db.Measures.measure_value,
orderby=db.Measures.measure_date_time).as_list()
2014-05-26 7:20 GMT-03:00 Syd Stewart :
> Hi
>
> What is the simplest way please to select a column of figures (floats and
> int) into a list, so I can manipulate the list e.g rando
Hi
What is the simplest way please to select a column of figures (floats and
int) into a list, so I can manipulate the list e.g randomise the order
nums3 = db(db.Measures).select( db.Measures.measure_value,
orderby=db.Measures.measure_date_time)
meannums= sum(nums3)/float(len(nums3))
This
2 matches
Mail list logo