ZoneTranslation.weighted_centroids#

ZoneTranslation.weighted_centroids()[source]#

Create centroids based on weighting data.

Returns:

  • pd.DataFrame (A dataframe of centroids, with columns for ‘x’ and ‘y’, representing Easting)

  • and Northing on the British National Grid. The zone ids will be in the index.

Return type:

DataFrame