

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Find the version of the Pandas and its dependencies in Python
Pandas is the important package for data analysis in Python. There are different versions available for Pandas. Due to some version mismatch, it may create some problems. So we need to find the version numbers of the Pandas. We can see them easily using the following code.
We can use the command like below, to get the version −
pandas.__version__
Example
>>> import pandas as pd >>> print(pd.__version__) 0.25.2 >>>
We can also get the version of the dependencies using the function like below −
pandas.show_versions()
>>> pd.show_versions() INSTALLED VERSIONS ------------------ commit : None python : 3.7.1.final.0 python-bits : 64 OS : Windows OS-release : 7 machine : AMD64 processor : Intel64 Family 6 Model 60 Stepping 3, GenuineIntel byteorder : little LC_ALL : None LANG : None LOCALE : None.None pandas : 0.25.2 numpy : 1.15.3 pytz : 2018.7 dateutil : 2.7.4 pip : 19.2.2 setuptools : 39.0.1 Cython : None pytest : None hypothesis : None sphinx : None blosc : None feather : None xlsxwriter : None lxml.etree : 4.2.5 html5lib : None pymysql : None psycopg2 : None jinja2 : None IPython : None pandas_datareader: None bs4 : 4.6.3 bottleneck : None fastparquet : None gcsfs : None lxml.etree : 4.2.5 matplotlib : 3.0.1 numexpr : None odfpy : None openpyxl : None pandas_gbq : None pyarrow : None pytables : None s3fs : None scipy : None sqlalchemy : None tables : None xarray : None xlrd : None xlwt : None xlsxwriter : None >>>
- Related Questions & Answers
- Python Pandas – Find the maximum value of a column and return its corresponding row values
- Find the ordering of tasks from given dependencies in C++
- Write the dependencies of backbone.js in javascript?
- Python program to find the most occurring character and its count
- How to install the specific version of the PowerShell module version?
- Python - Find the Summary of Statistics of a Pandas DataFrame
- How to find the version of Java using command line?
- The Story of Captcha and its Variants
- Program to find out the similarity between a string and its suffixes in python
- Types of dependencies in DBMS
- Java Program to determine the name and version of the operating system
- How to install python modules and their dependencies easily?
- With JavaScript how can I find the name of the web browser, with version?
- How to find the device driver version using PowerShell?
- How to find the R version you are using?
Advertisements