def preview_data_frame_transform(self, body, params=None):
        """
        `<https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-data-frame-transform.html>`_

        :arg body: The definition for the data_frame transform to preview
        """
        if body in SKIP_IN_PATH:
            raise ValueError("Empty value passed for a required argument 'body'.")
        return self.transport.perform_request(
            "POST", "/_data_frame/transforms/_preview", params=params, body=body
        )
def preview_data_frame_transform ( self , body , params = None ) : if body in SKIP_IN_PATH : raise ValueError ( "Empty value passed for a required argument 'body'." ) return self . transport . perform_request ( "POST" , "/_data_frame/transforms/_preview" , params = params , body = body )
`<https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-data-frame-transform.html>`_

        :arg body: The definition for the data_frame transform to preview