Untitled

 avatar
unknown
plain_text
a year ago
342 B
5
Indexable
import matplotlib.pyplot as plt
import pandas as pd

# Assuming your dataset is stored in a pandas DataFrame called 'df'
# If not, you should load your dataset into a DataFrame first

# Create a box plot for the 'age' column
plt.figure(figsize=(8,6))
plt.boxplot(df['age'])
plt.title('Box Plot of Age')
plt.ylabel('Age')
plt.show()
Leave a Comment