Open Jmennius opened 4 weeks ago
Sampling from a set has been deprecated since Python 3.9 and was removed in 3.11. Fix buy converting the set to a list before passing it to sample() (this is essentially what sample() was doing internally before).
sample()
Sampling from a set has been deprecated since Python 3.9 and was removed in 3.11. Fix buy converting the set to a list before passing it to
sample()
(this is essentially whatsample()
was doing internally before).