DEV Community

Discussion on: Set up Jupyter Notebook in VS Code for Data Science

 
ajeet profile image
Ajeet Yadav

If you are using Anaconda distribution, you don’t need to separately installing NumPy or any of the major packages , like pandas, Scikit-Learn... To use NumPy, you just run the command import numpy as np.

But if you have not installed Anaconda, but you have Python installed, in that case you have to install it using conda install numpy or pip install numpy. Installing will require an internet connection this time. Then you will import it - import numpy as np