Wednesday, May 19, 2021

how to install pandas in python

We find difficulty in installation and pandas mainly when there are multiple versions of python installed on system to avoid confusion use below command:

python -m pip install pandas python -c 'import pandas'

You may replace word 'python' with exact version of python also, if required, eg:

  python3.8 -m pip install pandas 
  python3.8  -c 'import pandas'