I think the easiest way is to use arviz’s extract() function:
samples = az.extract(idata, group="posterior", num_samples=10)
I think the easiest way is to use arviz’s extract() function:
samples = az.extract(idata, group="posterior", num_samples=10)