code: def generate_benchmark_params(manifold="all", n_samples=10):
      """Generate parameters for benchmarking.
  
      Parameters
      ----------
      manifold : str
          Manifold name or all.
          Optional, default "all".
      n_samples : int
          Number of samples.
          Optional, default 10.
      """
      params_list = []
      manifolds_list = manifolds if manifold == "all" else [manifold]
      params_list = [
          globals()[manifold + "_params"](n_samples)
          for manifold in manifolds_list
      ]
      params_list = list(chain(*params_list))
      df = pd.DataFrame(
          params_list,
          columns=[
              "manifold",
              "module",
              "metric",
              "n_samples",
              "exp_kwargs",
              "manifold_args",
              "metric_args",
          ],
      )
      df.to_pickle("benchmark_params.pkl")
      print("Generated params at benchmark_params.pkl.")
  
file_path: geomstats/benchmarks/generate_benchmark_params.py
imports: import argparse
  from itertools import chain, product
  import pandas
label_desc: Use image node_id 14 for calling a global function with example usage: generate_benchmark_params(manifold, n_samples) without return types