Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Find the version of the Pandas and its dependencies

  • Last Updated : 23 Jan, 2019

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.

 Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.  

To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning - Basic Level Course

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






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

Output :

 

Find the version of the dependencies for the given version of the Pandas running on any system.

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




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

Output :

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!