I am working on an inventory forecasting model and I require specific data in order to train and test the model. Currently, I am trying to use one year worth of data to build a basic linear regression model to predict for the following year.
What I am having trouble with is removing outliers from my dataframe that contains 2 different types of outliers ("quantity" and "dates"), and I am only trying to remove the outliers using "quantity".