User Tools

Site Tools


other:python:misc_by_jyp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
other:python:misc_by_jyp [2023/05/04 15:25]
jypeter [Numerical values] Lots of changes
other:python:misc_by_jyp [2023/05/11 14:06]
jypeter [Numerical values]
Line 536: Line 536:
         * Infinity         * Infinity
           * Python: ''​-numpy.inf''​ and ''​numpy.inf''​           * Python: ''​-numpy.inf''​ and ''​numpy.inf''​
-        * Note: it is cleaner to use masks (and [[https://​numpy.org/​doc/​stable/​reference/​maskedarray.generic.html|Numpy masked arrays]]) than NaNs, when you have to deal with missing values !+        * Note: it is cleaner to use masks (and [[https://​numpy.org/​doc/​stable/​reference/​maskedarray.generic.html|Numpy masked arrays]]) ​rather ​than ''​NaN''​s, when you have to deal with missing values !
       * <wrap hi>The RISKS of working with (the wrong) floats</​wrap>:​       * <wrap hi>The RISKS of working with (the wrong) floats</​wrap>:​
         * [[https://​en.wikipedia.org/​wiki/​Round-off_error|Round-off error]]         * [[https://​en.wikipedia.org/​wiki/​Round-off_error|Round-off error]]
other/python/misc_by_jyp.txt · Last modified: 2024/04/19 12:02 by jypeter