check version of pandas python code example Example: check pandas version import pandas as pd pd.__version__