https://dataindependent.com/pandas/pa...
Pandas is great for working with tables, but sometimes you need to use the full force of a statistical package to get the job done. That's where turning your DataFrame into a NumPy array comes.
Turning your DataFrame into a NumPy array means removing the DataFrame properties, and changing your data from a table to an array (or array of arrays).
NumPy is a very powerful, very fast, statistical analysis package that is built on top of Python. In fact, NumPy is a dependency for Pandas, meaning you must have NumPy before you can install Pandas.