You can import pandas in an environment where PyTorch is also installed.
Most likely pandas is not installed in the environment pytorch for Deeplearning.
How did you install it?
Could you try to activate the environment and install it via
conda install pandas

in your terminal?