def prc_rerouted(XMLDataFrame, XMLDataFrameRef):
    """ 
        Compute the % of rerouted vehicles
    """
    # diffPaths = pd.concat(
    #     [XMLDataFrame["itineraire"], XMLDataFrameRef["itineraire"]]
    # ).drop_duplicates(keep=False)
    # nChangedPaths = diffPaths.count()
    # nGeneratedVeh = XMLDataFrameRef["itineraire"].count()
    nChangedPaths = len(
        [
            i
            for i, j in zip(
                XMLDataFrame["itineraire"], XMLDataFrameRef["itineraire"]
            )
            if i != j
        ]
    )
    nGeneratedVeh = len(XMLDataFrame["id"])
    return nChangedPaths / nGeneratedVeh * 100