DVector.remove_zoning#

DVector.remove_zoning(fn=<function DataFrame.sum>)[source]#

Aggregate all the zone values in DVector into a single value using fn.

Returns a copy of Dvector.

Parameters:

fn (Callable) – The function to use when aggregating all zone values. fn must be able to take a np.array of values and return a single value in order for this to work.

Returns:

A copy of DVector, without any zoning.

Return type:

summed_dvector