code: def prepare_instance(prepare_data):
      npt = NLPlot(prepare_data, target_col="text")
      return npt
  
file_path: nlplot/tests/test_nlplot.py
imports: import pandas
  import pytest
  from nlplot import NLPlot, get_colorpalette, generate_freq_df
label_desc: Use image node_id 2 for calling a global function with example usage: prepare_instance(prepare_data) and returns: npt