pandas version check in python code example Example: pandas version check in python import pandas as pd print(pd.__version__) # 0.22.0