pyspark.AccumulatorParam.zero

AccumulatorParam.zero(value: T) → T

Provide a “zero value” for the type, compatible in dimensions with the provided value (e.g., a zero vector)