Untitled
unknown
plain_text
2 years ago
342 B
8
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()Editor is loading...
Leave a Comment