How To Check Pandas Version?

Table Of Contents:

  1. Import Pandas and Check Version.
  2. Using ‘pip’ Command To Check the Version.

(1) Import Pandas and Check Version.

import pandas as pd
pd.__version__

Output:

'1.4.2'

Note:

  • If you are getting the version name, then everything is fine.

(2) Using pip Command To Check Version.

pip show pandas

Note:

  • If it is showing you the details, then everything is fine.

Leave a Reply

Your email address will not be published. Required fields are marked *