def safe_unicode(data):
    if isinstance(data, str):
        return data.decode('utf-8')
    else:
        return unicode(data)
Evaluate the significance of a cross-validated score with permutations
dataset/ETHPy150Open box/rotunicode/rotunicode/utils.py/safe_unicode--crossover with--dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/model_selection/_validation.py/permutation_test_score