cityImage.scaling_columnDF#

cityImage.scaling_columnDF(series, inverse=False)[source]#

Scale numeric values to the unit interval.

Parameters:
  • series (Series) – Numeric values to scale.

  • inverse (bool) – If True, return the inverse scale where the original maximum maps to 0 and the original minimum maps to 1.

Returns:

Scaled values indexed like the input. Constant input maps to 0, or 1 when inverse=True.

Return type:

Series