pip upgrade pandas tonewest version code example Example: how to update pandas pip3 install --upgrade pandas