Tweets about SciPy (Scientific Python) and related topics from @JohnDCook.

Houston
Joined February 2011
np.unique returns the unique elements of an array in sorted order.
1
1
6
1,707
np.linalg.pinv computes the Moore-Penrose pseudo inverse of a matrix.
12
3,967
numpy.random.zipf(a, n) generates n samples from a discrete power law with exponent a.
1
10
5,424
np.nan_to_num() replaces nan with 0, inf with max float, and -inf with min float.
1
1
13
6,472
Latin hypercube: scipy.stats.qmc.LatinHypercube(d).random(n) is a solid design-of-experiments default.
12
5,074
Lambert W poster: orcca.on.ca/LambertW/ scipy.special.lambertw
1
4
5,084
linalg.lstsq can solve over-determined linear systems. (lstsq ~ least squares)
1
9
6,498
Interested in DSP? See SciPy's signal and ndimage subpackages.
1
7
6,442
The function scipy.special.comb(n, k) returns binomial coefficients.
13
6,719
MATLAB synonymous commands in Python/NumPy mathesaurus.sourceforge.net/
9
6,618
Can solve a linear system Ax = b with linalg.solve(A, b).
15
6,669
ATLAS: Automatically Tuned Linear Algebra Software math-atlas.sourceforge.net/
1
10
6,498
Interested in splines? See SciPy's interpolate subpackage.
6
6,349