> the right way(TM) to add this attribute is: > > >>> ds.sa['chunks'] = np.arrange(50) > > Alternatively, you can use a helper to combine all of the above: > > >>> ds = dataset_wizard(X, targets=y, chunks=np.arrange(50) Thanks that works! Best, Matthias