CCYI GLOBAL ACADEMY
Shop beginner-friendly tech courses, practical training tutorials, data tools, web development content, automation, and digital skills courses from Palace Tech Hub.
Shop beginner-friendly tech courses, practical training tutorials, data tools, web development content, automation, and digital skills courses from Palace Tech Hub.
Pay by Bank Transfer
Bank Name: UNITED BANK FOR AFRICA
Account Name: CCYI GLOBAL ENTERPRISE
Account Number: 1017417XXX
After payment, click “Confirm Payment on WhatsApp” below and send your proof of payment.
Total: ₦0

Pandas is a Python library used for data analysis and manipulation.
👉 In simple terms:
Pandas = Excel inside Python (but more powerful)
Pandas helps you:
First install Pandas:
pip install pandas
Then import it:
import pandas as pd
👉 pd is just a shortcut name.
import pandas as pd
data = pd.Series([10, 20, 30])
print(data)
👉 Like a single column in Excel.
data = {
"Name": ["John", "Mary"],
"Age": [25, 30]
}
df = pd.DataFrame(data)
print(df)
👉 Like a table (rows and columns).
df = pd.read_csv("data.csv")
print(df)
👉 Loads data from a file (like Excel).
df.head() # First 5 rows
df.tail() # Last 5 rows
df.info() # Structure of data
df.describe() # Statistics
df["Name"]
df[["Name", "Age"]]
df[df["Age"] > 25]
👉 Shows only rows where age is greater than 25.
df["Salary"] = [50000, 60000]
df["Age"].mean() # Average
df["Age"].max() # Maximum
df["Age"].min() # Minimum
df.isnull() # Check missing values
df.dropna() # Remove missing values
df.fillna(0) # Replace missing values
df.sort_values("Age")
Students can use Pandas for:
import pandas as pd
data = {
"Name": ["Alice", "Bob", "Charlie"],
"Score": [80, 90, 75]
}
df = pd.DataFrame(data)
# Show students who scored above 80
result = df[df["Score"] > 80]
print(result)
| Feature | Excel | Pandas |
|---|---|---|
| Ease of use | Easy | Requires coding |
| Large data | Limited | Handles large data |
| Automation | Limited | Very powerful |
| Speed | Moderate | Fast |
👉 Pandas is:
👉 “If Excel helps you see data, Pandas helps you understand and control it at scale.”

NumPy stands for Numerical Python.
👉 It is a Python library used for:
Simple Meaning:
👉 NumPy = Faster and easier way to work with numbers in Python
NumPy is:
Install using:
pip install numpy
import numpy as np
👉 np is just a shortcut name.
👉 NumPy works with arrays (like lists but more powerful).
import numpy as np
arr = np.array([1, 2, 3, 4])
print(arr)
# Python list
list1 = [1, 2, 3]
# NumPy array
arr1 = np.array([1, 2, 3])
👉 NumPy arrays are:
arr = np.array([1, 2, 3])
arr = np.array([[1, 2], [3, 4]])
arr = np.array([1, 2, 3])
print(arr + 2)
👉 Output: [3, 4, 5]
print(arr * 2)
👉 Output: [2, 4, 6]
np.zeros((2, 2))
np.ones((3, 3))
np.arange(0, 10)
arr = np.array([10, 20, 30])
print(arr[0]) # Output: 10
arr = np.array([[1, 2], [3, 4]])
print(arr.shape)
👉 Output: (2, 2) → 2 rows, 2 columns
import numpy as np
scores = np.array([50, 60, 70, 80])
average = np.mean(scores)
print("Average score:", average)
Students can use NumPy for:
NumPy is used with:
👉 NumPy is:
👉 “If Python is the brain, NumPy is the calculator that makes it powerful.”
Hobby (Free) Plan You can have up to 200 projects (websites/apps) under one account. Each project can have its own: Production deploy...