class_docstr: Provides a table cell.
  A cell can belong to a Row, but does not have to.
class_docstr_tok: ["Provides","a","table","cell",".","A","cell","can","belong","to","a","Row",",","but","does","not","have","to","."]
code: def _latex_escape(data, fmt, output_format):
      if output_format != "latex":
          return data
      if "replacements" in fmt:
          if isinstance(data, str):
              for repl in sorted(fmt["replacements"]):
                  data = data.replace(repl, fmt["replacements"][repl])
      return data
  
imports: from statsmodels.compat.python import lmap, lrange
  from itertools import cycle, zip_longest
  import csv
label_desc: Use image node_id 5 for calling the Cell obj's underlying member method code with example usage: obj._latex_escape(data, fmt, output_format) and returns: data, data