code: def box(n_traces=5, n=100, mode=None):
      """
      Returns a DataFrame with the required format for
      a box plot
  
      Parameters:
      -----------
              n_traces : int
                      Number of traces
              n : int
                      Number of points for each trace
              mode : string
                      Format for each item
                              'abc' for alphabet columns
                              'stocks' for random stock names
      """
      df = pd.DataFrame(
          [
              np.random.chisquare(np.random.randint(2, 10), n_traces)
              for _ in range(n)
          ],
          columns=getName(n_traces, mode=mode),
      )
      return df
  
imports: import os
  import string
  import numpy
  import pandas
  from .auth import get_config_file
  from .exceptions import CufflinksError
label_desc: Use image node_id 13 for calling a global function with example usage: box(n_traces, n, mode) and returns: df