def splitDataLabels(frame):
    """Gives two data frames, one of the data and the second of the labels"""
    labels = frame["genre"].to_frame()
    data = frame.drop(columns=["genre"])

    return data, labels