🔥Limited Offer: Get 50% OFFon AI & Full Stack Courses🔥
Back to Pandas Notes
Topic #3

Pandas Getting Started


Installation of Pandas

If you have Python and PIP already installed on a system, then installation of Pandas is very easy.

Install it using this command:

C:\Users\Your Name>pip install pandas

If this command fails, then use a python distribution that already has Pandas installed like, Anaconda, Spyder etc.


Import Pandas

Once Pandas is installed, import it in your applications by adding the import keyword:

import pandas

Now Pandas is imported and ready to use.

Example

import pandas

mydataset = {
  'cars': ["BMW", "Volvo", "Ford"],

  'passings': [3, 7, 2]
}

myvar = pandas.DataFrame(mydataset)

print(myvar)

Pandas as pd

Pandas is usually imported under the pd alias.

Note: alias: In Python alias are an alternate name for referring to the same thing.

Create an alias with the as keyword while importing:

import pandas as pd

Now the Pandas package can be referred to as pd instead of pandas.

Example

import pandas as pd

mydataset = {
  'cars': ["BMW", "Volvo", "Ford"],
  'passings':
[3, 7, 2]
}

myvar = pd.DataFrame(mydataset)

print(myvar)

Checking Pandas Version

The version string is stored under __version__ attribute.

Example

  import pandas as pd

print(pd.__version__)

Want to go beyond the notes?

Join CodingNow 2.0's Pandas course — live mentorship, real projects, and 100% placement support.

Enroll Now — Free Demo Available

Pandas Getting Started – FAQs

Quick answers about learning Pandas Getting Started in Pandas.

This free note from CodingNow 2.0 explains Pandas Getting Started in Pandas — concept, syntax and worked code examples you can copy, run and revise before interviews.
Yes. Every Pandas topic on CodingNow 2.0, including Pandas Getting Started, is 100% free with no signup required.
With focused practice, most students grasp Pandas Getting Started in 1–3 days from these notes; pairing it with CodingNow 2.0's mentor-led course takes you to job-ready depth faster.
Use the code examples in this note, then ask doubts for free on the CodingNow 2.0 Community (/community) — expert instructors answer within 24 hours.
WhatsApp
Call NowEnroll Now