def _series_sep_dim(s, dim):
    """Return only one dimension from a series of arrays.

    Args:
        s (list of np.ndarray): Series of multivariate arrays.
        dim (int): Dimension to return.

    Returns:
        numpy.ndarray
    """
    return [arr[:, dim] for arr in s]