code: def build(self, parent):
      code = [
          "s = df[~pd.isnull(df['{col}'])]['{col}']".format(
              col=parent.selected_col
          )
      ]
      s, cleaner_code = handle_cleaners(
          parent.data[parent.selected_col], self.cleaners
      )
      code += cleaner_code
      hist = self.build_hist(s, code)
  
      if self.ordinal_col is not None:
          ordinal_data, ordinal_code = self.setup_ordinal_data(parent)
          code += ordinal_code
          hist["ordinal"] = ordinal_data
          hist.index.name = "labels"
          hist = hist.reset_index().sort_values("ordinal")
          code += [
              "chart['ordinal'] = ordinal_data",
              "chart.index.name = 'labels'",
              "chart = chart.reset_index().sort_values('ordinal')",
          ]
      else:
          hist.index.name = "labels"
          hist = hist.reset_index().sort_values(
              ["data", "labels"], ascending=[False, True]
          )
          code += [
              "chart.index.name = 'labels'",
              "chart = chart.reset_index().sort_values(['data', 'labels'], ascending=[False, True])",
          ]
      hist, top, top_code = handle_top(hist, self.top)
      code += top_code
      col_types = grid_columns(hist)
      f = grid_formatter(col_types, nan_display=None)
      return_data = f.format_lists(hist)
      return_data["top"] = top
  
      layout = self.setup_chart_layout(parent)
      code.append(
          "charts = [go.Bar(x=chart['labels'].values, y=chart['data'].values, name='Frequency')]"
      )
      if self.ordinal_col:
          code.append(
              (
                  "charts.append(go.Scatter(\n"
                  "\tx=chart['labels'].values, y=chart['ordinal'].values, yaxis='y2',\n"
                  "\tname='{} ({})', {}\n"
                  "))"
              ).format(self.ordinal_col, self.ordinal_agg, LINE_CFG)
          )
      code.append(
          "figure = go.Figure(data=charts, layout=go.{layout})".format(
              layout=layout
          )
      )
      return return_data, code
  
imports: import numpy
  import pandas
  import plotly.express
  import plotly.graph_objs
  import pprint
  import scipy.stats
  import time
  import dtale.global_state
  import dtale.pandas_util
  from dtale.code_export import build_code_export, build_final_chart_code
  from dtale.column_builders import clean, clean_code
  from dtale.describe import load_describe
  from dtale.query import build_query, load_filterable_data
  from dtale.utils import apply, classify_type, find_dtype, find_dtype_formatter, find_selected_column, get_bool_arg, get_int_arg, get_str_arg, grid_columns, grid_formatter, json_float, json_timestamp, make_list
label_desc: Use image node_id 5 for calling the ValueCountAnalysis obj's underlying member method code with example usage: obj.build(parent) and returns: return_data,  code