Time Series Analysis and Dates pre-processing on Shampoo Data with Python
Analyze sales trends, seasonal patterns, and make forecasts
This article is the sequel to the previous article, the link is here. Let’s make resampling more understandable by looking at an actual dataset and some examples.
Shampoo Sales Dataset
This data shows the monthly number of sales of shampoo over 3 years
The dataset consists of 36 observations representing sales counts. It was originally credited to Makridakis, Wheelwright, and Hyndman in 1998. The sales count units provide a quantitative measure of the number of sales made during each observation period. The dataset may be used to analyze sales trends, identify seasonal patterns, and make forecasts based on historical data.
here’s a sample of the data
The visual output of the data is shown below.
The plot of the dataset shows the rising trend in sales from month to month.