Create a chain object from a dataframe

Hi all,

I would like to do some statistics using the package MCMCChains on a dataframe object. But it is not working because I think I need to have my chains in a MCMC chain object.

Is there a way to create a chain object from a dataframe containing iterations on the rows and parameters on the columns?

Many thanks.

Transforming the dataframe in array works actually well:

Chains(Array(df))