The next steps provides the easiest and recommended way to set up your environment to use pandas. Other installation options can be found in the [advanced installation page]({{ base_url}}/docs/getting_started/install.html).
-
Download Anaconda for your operating system and the latest Python version, run the installer, and follow the steps. Detailed instructions on how to install Anaconda can be found in the Anaconda documentation.
-
In the Anaconda prompt (or terminal in Linux or MacOS), start JupyterLab:
-
In JupyterLab, create a new (Python 3) notebook:
-
In the first cell of the notebook, you can import pandas and check the version with:
-
Now you are ready to use pandas, and you can write your code in the next cells.
You can learn more about pandas in the tutorials, and more about JupyterLab in the JupyterLab documentation.
The book we recommend to learn pandas is Python for Data Analysis, by Wes McKinney, creator of pandas.
<iframe width="560" height="315" frameborder="0" src="https://www.youtube.com/embed/_T8LGqJtuGc" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>