docstr: Benchmark each `to_format` method for one-sided contexts.
docstr_tok: ["Benchmark","each","`","to_format","`","method","for","one-sided","contexts","."]
code: def benchmark_to_format_one(self):
      """Benchmark each `to_format` method for one-sided contexts."""
      for name in (
          "arrow",
          "csv",
          "columns",
          "records",
      ):
          for pivot in PerspectiveBenchmark.group_by_OPTIONS:
              if len(pivot) == 0:
                  continue
              test_meta = make_meta(
                  "to_format", "to_{0}_r{1}".format(name, len(pivot))
              )
              view = self._table.view(group_by=pivot)
              method = "to_{0}".format(name)
              func = Benchmark(getattr(view, method), meta=test_meta)
              setattr(
                  self, "to_format_{0}".format(test_meta["name"]), func
              )
  
imports: import os
  from functools import partial
  from bench import Benchmark, Suite, Runner
  from perspective import Table
  import perspective
  import logging
label_desc: Use image node_id 13 for calling the PerspectiveBenchmark obj's underlying member method code with example usage: obj.benchmark_to_format_one() without return types