Following might work (from a GRASS terminal):
/Applications/GRASS-7.8.app/Contents/Resources/bin/python -m pip pip install --upgrade pip
/Applications/GRASS-7.8.app/Contents/Resources/bin/python -m pip pip install pandas
Unfortunately, at the moment I can’t test this.
Best, Nicklas