label_data function

Label the data