Can I forecast with discontinued data using ARIMA?
I ran into a similar problem and this worked for me:
#First I resampled the data to have all the months
train_data = df['sum of received quantity'].resample('MS').mean()
#Then I filled the Nan values
train_data = train_data.fillna(train_data.bfill())