empiricaldist icon indicating copy to clipboard operation
empiricaldist copied to clipboard

RecursionError when using `Pmf.normalize`

Open kblissett opened this issue 1 year ago • 1 comments

The following triggers a RecursionError for me:

from empiricaldist import Pmf

pmf = Pmf.from_seq([6, 8, 12])
pmf.normalize()

I'm using version 0.6.8.

kblissett avatar Nov 03 '23 20:11 kblissett

Digging around through the requirements I see that you've held back to pandas<=2.1.1. Adding this requirement to my own project seems to have fixed the problem. This doesn't seem to have happened automatically, however, when I installed using poetry add empiricaldist. I also noticed that poetry did not pick up on the matplotlib and scipy dependencies.

kblissett avatar Nov 03 '23 20:11 kblissett