def unpack_data(data):
    """
    Unpack data to the tuple.

    Parameters
    ----------
    data : ndarray
        An ndarray with (n, 3)-shape.

    Returns
    -------
    tuple
        A tuple made of three (n, 1)-shaped ndarrays.
    """
    return data[:, (0)], data[:, (1)], data[:, (2)]
