I want to read an Excel CSV file, and after researching, I realized I need to import pandas as pd
. Is there a way to install it into the Visual Studio Code?
I have tried typing import pandas as pd
, but it shows a red line. I'm still new to Python.
As pandas
is a Python library, you can install it using pip
- the Python's package management system. If you are using Python 2 >=2.7.9 or Python 3 >=3.4, pip
is already installed with your Python. Ensure that the Python executable's location has been added to PATH.
Then, to install pandas
, just simply do:
pip install pandas