code: def bench_subset(n, times=20, repeat=3, engine="numexpr"):
      return (
          np.array(
              timeit(
                  f"df.query(s, engine={engine!r})",
                  setup=setup_common % (n, setup_subset),
                  repeat=repeat,
                  number=times,
              )
          )
          / times
      )
  
file_path: pandas/doc/scripts/eval_performance.py
imports: from timeit import repeat
  import numpy
  import seaborn
  from pandas import DataFrame
label_desc: Use image node_id 2 for calling a global function with example usage: bench_subset(n, times, repeat, engine) and returns: unknown