@namrata75 wrote:
AR_predict=AR_predict.cumsum().shift().fillna(0) AR_predict1=pd.Series(np.ones(valid.shape[0]) * np.log(valid[‘Count’])[0], index = valid.index)
AR_predict1=AR_predict1.add(AR_predict,fill_value=0)
AR_predict = np.exp(AR_predict1)Can you please explain the above code?
Posts: 1
Participants: 1