maup.normalize module

maup.normalize.normalize(weights, level=0)[source]

Takes a series of MultiIndexed weights and normalizes them with respect to one level (level 0 by default).