check pandas version in command line code example Example: print pandas version print(pandas.__version__)