Untitled

 avatar
unknown
python
10 months ago
280 B
5
Indexable
import pandas as pd
import matplotlib.pyplot as plt
df = pd.read_csv("invoice.csv")
plt.hist(df["customer_age"], bins=10, edgecolor="white", color="darkviolet")
plt.xlabel("Customer Age")
plt.ylabel("Quantity of customer")
plt.title("Histogram of Customer Ages")
plt.show()
Editor is loading...
Leave a Comment