def scale(series):
    """
    Scale specified series in the range [0-1]
    
    - series: series to be scaled
    - return: scaled series
    """
    #Skip if name or poi
    if series.name in ['name', 'poi']:
        return series
    #Get min and max values:
    try:
        minvalue = series.min()
        maxvalue = series.max()
        return (series - minvalue)/(maxvalue - minvalue)
    except TypeError:
        return series