Python-data-science-python-scipy

提供:Dev Guides
移動先:案内検索

Python-SciPy

PythonのSciPyライブラリはNumPy配列で動作するように構築されており、数値の統合と最適化のルーチンなど、多くのユーザーフレンドリーで効率的な数値プラクティスを提供します。 一緒に、すべての一般的なオペレーティングシステムで実行され、インストールが迅速で、無料です。 NumPyとSciPyは使いやすいですが、世界有数の科学者やエンジニアが依存するほど強力です。

SciPyサブパッケージ

SciPyは、さまざまな科学計算ドメインをカバーするサブパッケージに編成されています。 これらは、次の表にまとめられています-

scipy.constants Physical and mathematical constants
scipy.fftpack Fourier transform
scipy.integrate Integration routines
scipy.interpolate Interpolation
scipy.io Data input and output
scipy.linalg Linear algebra routines
scipy.optimize Optimization
scipy.signal Signal processing
scipy.sparse Sparse matrices
scipy.spatial Spatial data structures and algorithms
scipy.special Any special mathematical functions
scipy.stats Statistics

データ構造

SciPyが使用する基本的なデータ構造は、NumPyモジュールが提供する多次元配列です。 NumPyは、線形代数、フーリエ変換、乱数生成のためのいくつかの関数を提供しますが、SciPyの同等の関数の一般性はありません。

次の章では、データサイエンスの作業でPythonのSciPyライブラリを使用する多くの例を参照します。