class_docstr: A class to store and visualize the resulting counterfactual explanations.
class_docstr_tok: ["A","class","to","store","and","visualize","the","resulting","counterfactual","explanations","."]
code: def _dump_output(
      self, content, show_only_changes=False, is_notebook_console=False
  ):
      if is_notebook_console:
          self.display_df(content, show_only_changes=show_only_changes)
      else:
          assert isinstance(
              content, pd.DataFrame
          ), "Expecting a pandas dataframe"
          self.print_list(
              content.values.tolist(),
              show_only_changes=show_only_changes,
          )
  
imports: import copy
  import json
  import math
  import numpy
  import pandas
  from dice_ml.constants import ModelTypes, _SchemaVersions
  from dice_ml.utils.serialize import DummyDataInterface
label_desc: Use image node_id 3 for calling the CounterfactualExamples obj's underlying member method code with example usage: obj._dump_output(content, show_only_changes, is_notebook_console) without return types