code: def make_zero_square_dataframe(features):
      new_dataframe = pd.DataFrame()
      # Add columns
      # empty_row_dict = dict()
      for feature in features:
          new_dataframe[feature] = pd.Series(dtype=float)
          # empty_row_dict[feature] = 0.0
      new_dataframe = (
          new_dataframe.reindex(list(range(0, len(features))))
          .reset_index(drop=True)
          .fillna(0.0)
      )
      # Add series
      # for categorical in features:
      #     # UPDATE: series.append is deprecated!
      #     new_dataframe = new_dataframe.append(pd.Series(empty_row_dict, name=feature))
      #     # new_dataframe = pd.concat([new_dataframe, pd.Series(empty_row_dict, name=feature)], axis=1, join='outer', ignore_index=False)
      # MUST DROP INDEX GRRRR
      return new_dataframe.reset_index(drop=True)
  
file_path: sweetviz/sweetviz/graph_associations.py
imports: import math
  import numpy
  import pandas
  import matplotlib.pyplot
  from sweetviz.sv_types import FeatureType
  import sweetviz.graph
  from sweetviz.config import config
  import itertools
  import matplotlib.patches
  from textwrap import wrap
label_desc: Use image node_id 2 for calling a global function with example usage: make_zero_square_dataframe(features) and returns: new_dataframe