parameters: (self)
docstring: Benchmark each `to_format` method for two-sided column-only
          contexts.
docstring_summary: Benchmark each `to_format` method for two-sided column-only
          contexts.
docstring_tokens: Benchmark each to_format method for two - sided column - only contexts .
function: def benchmark_to_format_two_column_only(self):
          """Benchmark each `to_format` method for two-sided column-only
          contexts."""
          for name in ("dict", "records", "df", "arrow"):
              for pivot in PerspectiveBenchmark.split_by_OPTIONS:
                  if len(pivot) == 0:
                      continue
                  test_meta = make_meta(
                      "to_format", "to_{0}_c_{1}".format(name, len(pivot))
                  )
                  view = self._table.view(split_by=pivot)
                  func = Benchmark(
                      lambda: getattr(view, "to_{0}".format(name))(), meta=test_meta
                  )
                  setattr(self, "to_format_{0}".format(test_meta["name"]), func)
function_tokens: def benchmark_to_format_two_column_only ( self ) : for name in ( "dict" , "records" , "df" , "arrow" ) : for pivot in PerspectiveBenchmark . split_by_OPTIONS : if len ( pivot ) == 0 : continue test_meta = make_meta ( "to_format" , "to_{0}_c_{1}" . format ( name , len ( pivot ) ) ) view = self . _table . view ( split_by = pivot ) func = Benchmark ( lambda : getattr ( view , "to_{0}" . format ( name ) ) ( ) , meta = test_meta ) setattr ( self , "to_format_{0}" . format ( test_meta [ "name" ] ) , func )