The fundamental package for numerical computing in Python, providing multi-dimensional arrays and fast operations.
Official docs: https://numpy.org/doc/ Search patterns: np.array, np.zeros, np.dot, np.linalg, np.random, np.broadcast
| Create arrays | array, zeros, ones | np.array([1, 2, 3]) | | Mathematical ops | +, , sin, exp | np.sin(arr) | | Linear algebra | dot, linalg.inv | np.dot(A, B) | | Statistics | mean, std, percentile | np.mean(arr) | | Random numbers | random.rand, random.normal | np.random.rand(10) | | Indexing | [], boolean, fancy | arr[arr > 0] |
Umfassender Leitfaden für NumPy – das grundlegende Paket für wissenschaftliches Rechnen in Python. Verwendung für Array-Operationen, lineare Algebra, Zufallszahlengenerierung, Fourier-Transformationen, mathematische Funktionen und leistungsstarke numerische Berechnungen. Grundlage für SciPy, Pandas, Scikit-Learn und alle wissenschaftlichen Pythons. Quelle: tondevrel/scientific-agent-skills.