t be updated
            deepcopy: if True, existing features are deep-copied, otherwise a shallow copy or new instance
                is created.
        &#34;&#34;&#34;
        # check parameters for getting the features:
        if fromann is None and features is None:
            raise Exception(&#34;Either fromann or features must be specified&#34;)
        if fromann is not None and features is not None:
            raise Exception(&#34;Parameters fromann and features must not be both specified at th