Python for Data Science
Install Python Libraries
Installing and Importing Packages
The Apple Silicon is still more difficult to get installed. You can use the following links to get it installed - Link 1, Link 2, Link 3.
We can get packages installed for this course using one of the two methods below.
Using your interactive Python (Jupyter server)
This is the preferred install method for both PC and Mac:
#%%
# copy paste this into a python file in vs code and run this cell
import sys
!{sys.executable} -m pip install numpy pandas scikit-learn lets-plot palmerpenguins nbformat nbclient pyyaml
Using your terminal (alternative method)
# default way
-learn lets-plot palmerpenguins nbformat nbclient pyyaml pip install numpy pandas scikit
Learn More about the Packages you Installed
We want to install the following three packages;