zcollection.partitioning.abc.difference# zcollection.partitioning.abc.difference(arr)[source]# Calculate the difference between each element in the array and the previous element. Parameters: arr (NDArray) – Array to calculate the difference for. Returns: Array of differences Return type: NDArray