def normalize ( name ) : # Name should not contain some specials chars (issue #1068) ret = name . replace ( ':' , '' ) ret = ret . replace ( '%' , '' ) ret = ret . replace ( ' ' , '_' ) return ret
python normalize by column name
Normalize name for the Statsd convention
def normalize(name):
    """Normalize name for the Statsd convention"""

    # Name should not contain some specials chars (issue #1068)
    ret = name.replace(':', '')
    ret = ret.replace('%', '')
    ret = ret.replace(' ', '_')

    return ret