Set the labels associated with the frame. The number of labels
provide must match the number of dot paths defined in the frame.
In this example the collection name is example.ds
, frame name is
“f1”, the labels are ‘Column A’, ‘Column B’, and ‘Column C’
coresponding to the three dotpaths defined in examples.ds
.
dataset frame-labels example.ds f1 'Column A' 'Column B' 'Column C'
In python
err = dataset.frame_labels('example.ds', 'f1', ["Column A", "Column B", "Column C"])
Related topics: frame, frames, frame-types, reframe, delete-frame