import pandas as pd
df = pd.read_csv('titanic.csv')
ages = df['Age']
print(ages)
print(ages[ages < ages.mean()])
print(ages[ages > ages.mean()])
print(ages > ages.mean())
print(type(ages > ages.mean()))

870c8b2471c99f08d2fa3d8f8be818082eab2923
<mask token>

<mask token>
print(ages)
print(ages[ages < ages.mean()])
print(ages[ages > ages.mean()])
print(ages > ages.mean())
print(type(ages > ages.mean()))

<mask token>
df = pd.read_csv('titanic.csv')
ages = df['Age']
print(ages)
print(ages[ages < ages.mean()])
print(ages[ages > ages.mean()])
print(ages > ages.mean())
print(type(ages > ages.mean()))

import pandas as pd
df = pd.read_csv('titanic.csv')
ages = df['Age']
print(ages)
print(ages[ages < ages.mean()])
print(ages[ages > ages.mean()])
print(ages > ages.mean())
print(type(ages > ages.mean()))
