Matrix inversion is one of the fundamental operations in linear algebra. It's analogous to division in ordinary algebra. Thus, making it crucial, for example, when solving many linear systems.
All essential Python linear algebra libraries support matrix inversion. We will have a look two most popular ones: NumPy and SciPy.