Learn the NumPy trick for generating synthetic data that actually behaves like real data.
NumPy includes some tools for working with linear algebra in the numpy.linalg module. However, unless you really don’t want to add SciPy as a dependency to your project, it’s typically better to use ...