install pandas pyhton 3 code example Example 1: pip pandas pip install pandas Example 2: install pandas in python mac sudo pip install pandas