Scientific Python
@SciPyTip
Tweets about SciPy (Scientific Python) and related topics from @JohnDCook.
You might like
Python's sys.float_info is analogous to C's float.h header.
The sum of the inradii is the same for all triangulations of a cyclic polygon. Python code for generating illustrations of the theorem. johndcook.com/blog/2025/11/0…
K-means clustering and vector quantization: scipy.cluster.vq
With NimPy code for computing the surface area and volume of a tetrahedron
PyCppAD: Python wrapper around the CppAD algorithmic differentiation library github.com/b45ch1/pycppad
Join NumPy arrays x and y into one array: np.concatenate((x, y)). Note that argument must be a tuple.
numpy.var calculates population variance by default. With optional parameter ddof=1 it computes sample variance.
To issue a shell command in IPython, prefix the command with !
scipy.integrate has three routines for computing integrals from samples: trapz (trapezoid), simps (Simpson's), romb (Romberg).
scipy.special has functions sindg, cosdg, and tandg for computing trig functions of arguments in degrees.
Gauss' original hypergeometric function, now known as 2F1, is implemented in scipy.special.hyp2f1.
With Python code, as usual x.com/algebrafact/st…
Freshman's dream is an equation that's a naive mistake, except its true in the right context. johndcook.com/blog/2025/10/2…
United States Trends
- 1. Doran 67.4K posts
- 2. #Worlds2025 108K posts
- 3. Good Sunday 60.5K posts
- 4. Faker 80.5K posts
- 5. #T1WIN 57.6K posts
- 6. #sundayvibes 4,436 posts
- 7. Max B 1,662 posts
- 8. Guma 15.6K posts
- 9. Silver Scrapes 4,279 posts
- 10. O God 7,942 posts
- 11. #sundaymotivation 1,587 posts
- 12. Blessed Sunday 16.3K posts
- 13. Oner 23.8K posts
- 14. Keria 29K posts
- 15. #T1fighting 5,761 posts
- 16. Pence 21K posts
- 17. Jeanna N/A
- 18. Blockchain 198K posts
- 19. Faye 60.6K posts
- 20. Option 2 4,696 posts
You might like
-
Python Software Foundation
@ThePSF -
Probability Fact
@ProbFact -
Data Science Fact
@DataSciFact -
PyCoder’s Weekly
@pycoders -
Python Hub
@PythonHub -
Talk Python Podcast
@TalkPython -
Real Python
@realpython -
Algebra Etc.
@AlgebraFact -
Analysis Fact
@AnalysisFact -
Python Trending 🇺🇦
@pythontrending -
Guido van Rossum
@gvanrossum -
Matt Makai | Full Stack Python | Plushcap
@fullstackpython -
Django
@djangoproject -
Kaggle
@kaggle -
PyData
@PyData
Something went wrong.
Something went wrong.