how to check version number of library in python pandas code example Example: print pandas version print(pandas.__version__)