class_docstr: Returns datasets included in the library in `pandas.DataFrame` format.
  
  Attributes
  ----------
  available_datasets : `list` [`str`]
      The names of the available datasets.
class_docstr_tok: ["Returns","datasets","included","in","the","library","in","`","pandas.DataFrame","`","format",".","Attributes","--","--","--","--","--","available_datasets",":","`","list","`","[","`","str","`","]","The","names","of","the","available","datasets","."]
docstr: Returns a ``pandas.DataFrame`` containing the dataset from ``data_path/data_name``.
  The input data must be in ``.csv`` or ``.csv.xz`` format.
  Raises a ValueError if the the specified input file is not found.
  
  Parameters
  ----------
  data_path : `str`
      Path to the data folder.
  data_name : `str`
      Name of the csv file to be loaded from. For example 'peyton_manning'.
  
  Returns
  -------
  df : `pandas.DataFrame`
      Input dataset.
docstr_tok: ["Returns","a","``","pandas.DataFrame","``","containing","the","dataset","from","``","data_path\/data_name","``",".","The","input","data","must","be","in","``",".csv","``","or","``",".csv.xz","``","format",".","Raises","a","ValueError","if","the","the","specified","input","file","is","not","found",".","Parameters","--","--","--","--","--","data_path",":","`","str","`","Path","to","the","data","folder",".","data_name",":","`","str","`","Name","of","the","csv","file","to","be","loaded","from",".","For","example","'peyton_manning","'",".","Returns","--","--","--","-","df",":","`","pandas.DataFrame","`","Input","dataset","."]
code: def get_df(self, data_path, data_name):
      """Returns a ``pandas.DataFrame`` containing the dataset from ``data_path/data_name``.
      The input data must be in ``.csv`` or ``.csv.xz`` format.
      Raises a ValueError if the the specified input file is not found.
  
      Parameters
      ----------
      data_path : `str`
          Path to the data folder.
      data_name : `str`
          Name of the csv file to be loaded from. For example 'peyton_manning'.
  
      Returns
      -------
      df : `pandas.DataFrame`
          Input dataset.
      """
      file_path = os.path.join(data_path, f"{data_name}.csv")
      if not os.path.exists(file_path):
          file_names = self.get_data_names(data_path)
          raise ValueError(
              f"Given file path '{file_path}' is not found. Available datasets in "
              f"data directory '{data_path}' are {file_names}."
          )
      df = pd.read_csv(file_path, sep=",")
      return df
  
imports: import datetime
  import os
  import warnings
  from pathlib import Path
  import pandas
  from greykite.common.constants import TIME_COL
label_desc: Use image node_id 6 for calling the DataLoader obj's underlying member method code with example usage: obj.get_df(data_path, data_name) and returns: df