ZoneTranslation.weighted_translation#

ZoneTranslation.weighted_translation()[source]#

Create a weighted zone translation.

Runs a weighted translation using the zone 1 to lower correspondence csv file and the zone 2 to lower correspondence csv file. The type of variable to weight the translation by, such as population or employment, is chosen by the method variable.

Parameters:

self (for this to run self.params must contain lower zoning and a method.)

Returns:

weighted_translation – Dataframe containing weighted zone translation between zone 1 and zone 2.

Return type:

pd.DataFrame