@classmethod
def from_tokens_datatable(cls, tokensdf, **init_kwargs):
    """
        Create a new TMPreproc instance by loading tokens dataframe `tokendf` in the same format as it is returned by
        :meth:`~TMPreproc.tokens_datatable`, i.e. as data frame with hierarchical indices "doc" and "position" and at
        least a column "token" plus optional columns like "meta_pos", etc.

        :param tokendf: tokens datatable Frame object as returned by :meth:`~TMPreproc.tokens_datatable`
        :param init_kwargs: dict of arguments passed to :meth:`~TMPreproc.__init__`
        :return: new instance with passed tokens
        """
    if 'docs' in init_kwargs.keys():
        raise ValueError(
            '`docs` cannot be passed as argument when loading a token datatable'
            )
    init_kwargs['docs'] = None
    return cls(**init_kwargs).load_tokens_datatable(tokensdf)
