📡 You're offline — showing cached content
New version available!
Quick Access
Tutorials Pandas What is Pandas?

What is Pandas?

4 min read Quiz at the end
Pandas provides Series (1D) and DataFrame (2D) for data loading, cleaning, and analysis in Python.

What is Pandas?

Pandas is the primary Python library for data analysis. It provides two data structures: Series (1D labelled array) and DataFrame (2D labelled table), with powerful tools for loading, cleaning, transforming, and analysing data.

pip install pandas

import pandas as pd
import numpy as np

# Series
s = pd.Series([10, 20, 30], index=['a','b','c'])

# DataFrame
df = pd.DataFrame({
    'name':  ['Alice', 'Bob', 'Carol'],
    'age':   [28, 34, 25],
    'score': [95.5, 87.0, 92.3]
})

print(df.shape)   # (3, 3)
print(df.dtypes)
Topic Quiz · 1 questions

Test your understanding before moving on

1. What is a Pandas DataFrame?
💡 A DataFrame is Pandas 2D labelled data structure — rows and columns, like a SQL table.