'Transforms a list of strings into numeric label representation.
:param labels: List of labels to convert to numeric representation'

def transform_labels_str2num(self, labels):

    return self.le.fit_transform(labels)
