@staticmethod
def set_streets_weight(streets):
    """
        Set the streets weight equal to theirt length ; in-place.
        """
    streets['weight'] = None
    for i, street in streets.iterrows():
        weight = street['geometry'].length
        streets.at[i, 'weight'] = weight
