how to check pandas library version in python code example Example: check pandas version import pandas as pd pd.__version__