ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 30 Jul 2012 23:42:58 -0500Dealing with 'NaN' values in listshttp://ask.sagemath.org/question/9195/dealing-with-nan-values-in-lists/ Hello!
Maybe somebody here has an experience on working with 'NaN' values in Sage.
My situation is the following: I need to load some experimentally measured data into a list of float values. But unfortunately, the experimental data set is not "solid" - it has 'NaN' values somewhere inside.
What I currently need to perform first of all is to calculate the average value of a list slice. Preferably, simply using 'mean()' if it is possible.
So could somebody please give me an advice how to work with such arrays correctly?
Thank you.v_2eMon, 30 Jul 2012 23:42:58 -0500http://ask.sagemath.org/question/9195/