code: def expand_grid(base):
      """Given a base key values span, expand them into a dataframe covering all combinations
      Parameters
      ----------
      base : dict
          dictionary with keys equal columns name and value equals key values
  
      Returns
      -------
      pd.DataFrame : dataframe generate based on user specified base
      """
      return pd.DataFrame(
          [row for row in product(*base.values())], columns=base.keys()
      )
  
file_path: orbit/orbit/utils/general.py
imports: import os
  import numpy
  import pandas
  from copy import deepcopy
  from itertools import product
label_desc: Use image node_id 6 for calling a global function with example usage: expand_grid(base) and returns: pd