Scientific Python

9.1K posts

Scientific Python banner
Scientific Python

Scientific Python

@SciPyTip

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

Houston Katılım Şubat 2011
18 Takip Edilen209.8K Takipçiler
Scientific Python
Scientific Python@SciPyTip·
Integrate from samples: scipy.integrate.simpson(y, x=x) supports uneven x and is a modern replacement for simps.
English
0
1
11
1.4K
Scientific Python
Scientific Python@SciPyTip·
numpy.var calculates population variance by default. With optional parameter ddof=1 it computes sample variance.
English
0
0
11
1.6K
Scientific Python
Scientific Python@SciPyTip·
Permute a list x in place: np.random.shuffle(x)
English
0
0
13
1.9K
Scientific Python
Scientific Python@SciPyTip·
matplotlib color abbreviations: each of the letters in 'rgb' and 'cymk' plus 'w' for white.
English
0
0
14
1.6K
Scientific Python
Scientific Python@SciPyTip·
To issue a shell command in IPython, prefix the command with !
English
1
0
6
1.8K
Scientific Python
Scientific Python@SciPyTip·
Python's sys.float_info is analogous to C's float.h header.
English
0
0
5
2.2K
Scientific Python
Scientific Python@SciPyTip·
scipy.integrate has three routines for computing integrals from samples: trapz (trapezoid), simps (Simpson's), romb (Romberg).
English
0
0
8
1.7K
Scientific Python
Scientific Python@SciPyTip·
scipy.special has functions sindg, cosdg, and tandg for computing trig functions of arguments in degrees.
English
0
0
9
1.3K
Scientific Python
Scientific Python@SciPyTip·
Gauss' original hypergeometric function, now known as 2F1, is implemented in scipy.special.hyp2f1.
English
0
1
10
1.8K
Scientific Python
Scientific Python@SciPyTip·
The function scipy.special.psi is the derivative of the logarithm of scipy.special.gamma.
English
0
0
6
1.9K
Scientific Python
Scientific Python@SciPyTip·
The confluent hypergeometric function is implemented in scipy.special.hyp1f1.
English
0
0
3
1.6K
Scientific Python
Scientific Python@SciPyTip·
The function numpy.empty() creates an array without initializing its elements.
English
0
0
8
1.6K