By default, “import scipy” does not import any subpackage. There are too many subpackages with large Fortran extension modules that are slow to load. I do not recommend doing import scipy
or the abbreviated import scipy as sp
. It’s just not very useful. Use from scipy import special
, from scipy import linalg
, etc.