github.com/qri-io/qri@v0.10.1-0.20220104210721-c771715036cb/cmd/testdata/movies/tf_set_len.star (about) 1 # Set a body containing the length of the previous body 2 ds = dataset.latest() 3 prev_body = ds.body 4 ds.body = [['Number of Movies', len(prev_body.index)]] 5 dataset.commit(ds)