How to Check Pandas Version ( Jupyter, Colab, Terminal, Anaconda, Pycharm)

Pandas is a python module that allows you to create a dataframe and easily manipulate it using the various inbuilt pandas function. If you want to know which version of pandas module is installed in your system, then this post is for you. Here you will learn the various ways to check the pandas version on different platforms.

How to check pandas version on different platforms

Terminal or Command Prompt

Open your terminal type the python to run the Python console and then run the below lines of code to get the pandas version in your system.

python
>>import pandas as pd
>>pd.__version__

You will get the pandas version.

Checking pandas version on terminal
Checking pandas version on terminal

Jupyter notebook

Type the following lines of code to check the version of pandas in Jupyter Notebook

import pandas as pd
pd.__version__
Checking pandas version on jupyter notebook
Checking pandas version on jupyter notebook

Pycharm

You can check the version of the pandas in the project interpreter. Go to File > Settings > Project Interpreter. There you will see all the list of python packages in your python environment. You will find the pandas module with the version there.

Anaconda

If you want to check the pandas version using conda then open the anaconda prompt and type the following command.

conda list pandas
Checking pandas version on anaconda prompt
Checking pandas version on anaconda prompt

Google Colab

You can use the pipe freeze command to know the version of the pandas installed in the Google colab. Rune the below command in the code cell to get the version.

pip freeze | grep pandas

Output

pandas==1.3.5
pandas-datareader==0.9.0
pandas-gbq==0.13.3
pandas-profiling==1.4.1
sklearn-pandas==1.8.0

These are the ways to check the version of the pandas on different platforms. If you have any suggestions then you contact us to add more ways here.

Hi, I am CodeTheBest. Here you will learn the best coding tutorials on the latest technologies like a flutter, react js, python, Julia, and many more in a single place.

SPECIAL OFFER!

This Offer is Limited! Grab your Discount!
15000 ChatGPT Prompts
Offer Expires In:
close-link