import pandas as pd print(pd.__version__) # output: 2.2.0