@staticmethod
def pop_dset_attrs(var_attrs, dset):
    """
        Pop attributres for given dataset from dataset attributes DataFrame

        Parameters
        ----------
        dset_attrs : pandas.DataFrame
            DataFrame of dataset attributes (dtype, chunks, attrs)
        dset : str
            Dataset of interest

        Returns
        -------
        dset_attrs : pandas.DataFrame
            Updated DataFrame of dataset attributes (dtype, chunks, attrs)
        attrs : pandas.Series
            Series of attributes for given dataset
        """
    attrs = var_attrs.loc[dset]
    var_attrs = var_attrs.drop(dset)
    return var_attrs, attrs
