def checkjointures(myserie, possiblevalues):
    """
    Check the list of categories in a column against a provided standard list
    :param myserie: pandas.Series to be checked
    :param possiblevalues: list of standard values
    :return: None
    print:
    - if all values are matching, a simple message indicating evrything is correct
     - the percentage of rows and the percentage of unique values matching standard values
     - the number of rows and the number of unique values that are unknown in the standard values
     - example of non-matching values and the number of occurences
    """
    matchingvalues = myserie[myserie.isin(possiblevalues)]
    unknownvalues = myserie[myserie.isin(possiblevalues) == False]
    if unknownvalues.shape[0] == 0:
        print('100% of values match')
    else:
        percentrowmatching = matchingvalues.shape[0] / myserie.shape[0]
        percentvaluematching = matchingvalues.unique().shape[0
            ] / myserie.unique().shape[0]
        print('{:.0%}'.format(percentrowmatching), 'of rows matching for ',
            '{:.0%}'.format(percentvaluematching), 'of values matching.')
        print(unknownvalues.shape[0], 'rows unknowns for ', unknownvalues.
            unique().shape[0], ' unknown unique values')
        print('Example unknowns:')
        print(unknownvalues.value_counts().iloc[:10])
