docstr: :param metadata_df: pd.DataFrame, indexed on terms with columns as structure
  :return: ScatterChartExplorer
docstr_tok: [":","param","metadata_df",":","pd.DataFrame",",","indexed","on","terms","with","columns","as","structure",":","return",":","ScatterChartExplorer"]
code: def inject_term_metadata_df(self, metadata_df):
      """
  
      :param metadata_df: pd.DataFrame, indexed on terms with columns as structure
      :return: ScatterChartExplorer
      """
      term_metadata_dict = metadata_df.T.to_dict()
      return self.inject_term_metadata(term_metadata_dict)
  
file_path: scattertext/scattertext/ScatterChartExplorer.py
imports: import logging
  import numpy
  import pandas
  from scattertext.ScatterChart import ScatterChart
  from scattertext.Scalers import percentile_alphabetical
  from scattertext.DocsAndLabelsFromCorpus import DocsAndLabelsFromCorpus, DocsAndLabelsFromCorpusSample
label_desc: Use image node_id 8 for calling the ScatterChartExplorer obj's underlying member method code with example usage: obj.inject_term_metadata_df(metadata_df) and returns: self