def normalize_gbs(mb_or_gb, val_to_operate_on):
    if mb_or_gb == 'MB':
        return float(float(val_to_operate_on) / 1024.0)
    elif mb_or_gb != 'GB':
        return 0.0 # if it's less than 1MB just shove in a placeholder float
    else:
        return float(val_to_operate_on)
Used when calculating bandwidth. Takes an index to check, and if MB,
dataset/ETHPy150Open macadmins/sashay/sashay.py/normalize_gbs