install pip pandas code example Example 1: install pandas pip install pandas Example 2: install pandas in python pip install pandas