This might slow things down on a large datasets. I used to do this all the time, until my notebooks slowed down to a crawl. There is a good article here (https://realpython.com/fast-flexible-pandas) on pd.cut() which should speed up this operation. Great article :)
Thanks for the message!
k as the period, and
lambda as the parameter for the Poisson. We estimated
lambda using an exponential distribution. Using the
MCMC we determined two different
lambda values, and
tau which became the “break point” for