Importing libraries and checking versions. The following shows how to import libraries and cheking versions of a NumPy array of the Python NumPy module.
Importing Module:
import pandas as pd
import sys
Checking version:
print("Python version " + sys.version)
print("Pandas version " + pd.__version__)
Output:
Python version 3.7.1 (default, Dec 14 2018, 13:28:58)
[Clang 4.0.1 (tags/RELEASE_401/final)]
Pandas version 0.23.4