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