def METHOD_NAME(cells_position: np.ndarray):
    counts = int((cells_position.shape[0] ** 2 - cells_position.shape[0]) / 2)
    cells_distance = np.zeros(counts, dtype=np.float32)
    for i in nb.prange(cells_position.shape[0]):
        count = cells_position.shape[0] - (i + 1)
        start = int(((count + 1) + (count + i)) * i / 2)
        end = start + count
        cells_distance[start:end] = np.sqrt(np.sum((cells_position[i] - cells_position[(i + 1):]) ** 2, axis=1))
    return cells_distance