code: def np_array_to_pandas_with_missing(
      np_array, missingness, n_cols, col_prefix="Q"
  ):
      pdf = pd.DataFrame(
          np_array,
          columns=[col_prefix + str(i + 1) for i in range(n_cols)],
      )
      pdf = pdf.mask(
          np.random.choice(
              [True, False],
              size=pdf.shape,
              p=[missingness, 1 - missingness],
          )
      )
      return pdf
  
label_desc: Use image node_id 1 for calling a global function with example usage: np_array_to_pandas_with_missing(np_array, missingness, n_cols, col_prefix) and returns: pdf