According to the details you had given, you had installed Pandas for Anaconda. So, pandas installed in the conda environment and if you want to use pandas outside the conda environment then you have to install the pandas library globally.
Go to your regular command line/terminal and install pandas globally using the following command.
$ pip3 install pandas
After doing this you can use pandas from anywhere in your current system/OS.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…