Thursday, September 4, 2025
HomeLanguagesFind the version of the Pandas and its dependencies

Find the version of the Pandas and its dependencies

Pandas is one of the most important packages for data analysis in Python and that means frequent updates of the version of the Pandas. This leads to compatibility issues with other dependencies of Pandas. Let’s discuss the ways to check the version of the Pandas and its dependencies running on any system. 

Find the version of the Pandas running on any system. 

Example 1: Find the version of the Pandas using pip

pip show pandas

Output:

 

Example 2: Find the version of the Pandas using code

We can use pd.__version__ to check the version of the Pandas running on any system. 

Python3




# importing pandas as pd
import pandas as pd
 
# Check the version
print(pd.__version__)


Output :

0.23.4   

Example 3: Find the version of the dependencies of the Pandas

We can use the utility function pd.show_versions() to check the version of the dependencies. 

Python3




# importing pandas as pd
import pandas as pd
 
# Check the version of the dependencies
pd.show_versions()


Output:

Find the version of the Pandas

 

RELATED ARTICLES

Most Popular

Dominic
32264 POSTS0 COMMENTS
Milvus
81 POSTS0 COMMENTS
Nango Kala
6629 POSTS0 COMMENTS
Nicole Veronica
11799 POSTS0 COMMENTS
Nokonwaba Nkukhwana
11859 POSTS0 COMMENTS
Shaida Kate Naidoo
6749 POSTS0 COMMENTS
Ted Musemwa
7025 POSTS0 COMMENTS
Thapelo Manthata
6698 POSTS0 COMMENTS
Umr Jansen
6718 POSTS0 COMMENTS