def fun_clean_categogy3(array, keyw3, index, BOW, list_THR):
    compty = 0
    c = 0
    for elm in array:
        if (not np.isnan(float(str(elm).replace(',', '.')))):
            if (float(str(elm).replace(',', '.')) > list_THR[index]):
                if (not BOW[c].__contains__(elm)):
                    BOW[c].append(keyw3[index])
                    compty += 1
        c += 1
    print(compty)
    return BOW
def fun_clean_categogy3(array, keyw3, index, BOW, list_THR):
    compty = 0
    c = 0
    for elm in array:
        if (not np.isnan(float(str(elm).replace(',', '.')))):
            if (float(str(elm).replace(',', '.')) > list_THR[index]):
                if (not BOW[c].__contains__(elm)):
                    BOW[c].append(keyw3[index])
                    compty += 1
        c += 1
    print(compty)
    return BOW