pandas to know version of package code example
Example 1: pandas version check in python
import pandas as pd
print(pd.__version__)
# 0.22.0
Example 2: check pandas version
import pandas as pd
pd.__version__
import pandas as pd
print(pd.__version__)
# 0.22.0
import pandas as pd
pd.__version__