I have a dataset new_products which describes the number of months its been since a product launched. I aggregated that data together so that I have 'since_debut' and 'count'. Which describes the number of products that debuted 1, 2, 3....60 month ago. I am having trouble creating a histogram with seaborn.
df = since_debut count
1 1784
2 7345
3 11111
4 13255
sns.histplot(data=df, x="since_debut", y="count", bins=30, kde=True)
ValueError: Could not interpret value `since_debut` for parameter `x`
Unsure what is throwing this error and why it can't interpret the aggregated data. Any help or advice is appreciated.