Given Python project, we can know the libraries it uses by checking the "import" part. But how can we know the version of a given library? For instance, the program has import pandas pd, how can we know the version of Pandas it uses?
CodePudding user response:
import pandas as pd
print(pd.__version__)
