Save it as test_pandas.py
in your computer.
If you are on Windows and have Python installed, go to that folder, right click the file, "Edit with IDLE > Edit with IDLE..."
Then click "Run > Run Module"
If you are on Linux, just open a terminal to that folder and run:
python3 test_pandas.py