python Programming Glossary: np.double
matplotlib: drawing lines between points ignoring missing data http://stackoverflow.com/questions/14399689/matplotlib-drawing-lines-between-points-ignoring-missing-data np.arange 8 series1 np.array 1 3 3 None None 5 8 9 .astype np.double s1mask np.isfinite series1 series2 np.array 2 None 5 None 4.. series1 series2 np.array 2 None 5 None 4 None 3 2 .astype np.double s2mask np.isfinite series2 plt.plot xs s1mask series1 s1mask..
Why is numpy's einsum faster than numpy's built in functions? http://stackoverflow.com/questions/18365073/why-is-numpys-einsum-faster-than-numpys-built-in-functions built in functions Lets start with three arrays of dtype np.double . Timings are performed on a intel CPU using numpy 1.7.1 compiled.. microseconds not milliseconds arr_1D np.arange 500 dtype np.double large_arr_1D np.arange 100000 dtype np.double arr_2D np.arange.. 500 dtype np.double large_arr_1D np.arange 100000 dtype np.double arr_2D np.arange 500 2 dtype np.double .reshape 500 500 arr_3D..
|