# Write a Pandas program to partition each of the passengers into four categories based on their age.  
 import pandas as pd
import numpy as np
df = pd.read_csv('titanic.csv')
result = pd.cut(df['age'], [0, 10, 30, 60, 80])
print(result)
