code: def df_to_dat(self, df, define_cat_colors=False):
      '''
      Load Pandas DataFrame (will be deprecated).
      '''
      data_formats.df_to_dat(self, df, define_cat_colorsf df_to_dat(self, df, define_cat_colors=False):
      '''
      Load Pandas DataFrame (will be deprecated).
      '''
      data_formats.df_to_dat(self, df, define_cat_colors)
docs: Load Pandas DataFrame (will be deprecated).