set_labels function

Set labels for a data frame