Skip to main content

Posts

Showing posts with the label vectors

NumPy Arrays and Data Analysis

We are going to discuss the  NumPy . So  NumPy  is a linear algebra library for Python . The reason why it is so important for data science is that it covers almost all of the libraries in the  PyData ecosystem , which relies on NumPy as one of their main building blocks. So one more thing, one more advantage we have, NumPy is also incredibly fast as it has bindings to the C libraries.  Okay, so first we are going to talk about the  installation process.  So to do that, if you are using a  Jupyter Notebook , you just need to do conda install NumPy . By using conda install NumPy , your NumPy will be installed.  And if you are not using  Jupyter Notebooks,  so simply go to your  PowerShell  and just install NumPy . As your  NumPy  is installed, now you need to do to  import  it in your program. So to do that, you just need to do import NumPy as NP. So NumPy h...