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 the folder path ``data_dir/data_sub_dir``.
  If ``data_dir`` is None returns the internal data directory.
  By default the Greykite data dir is set to a folder named 'data' in the project source code.
  Alternatively, it can be set programmatically by giving an explicit folder path.
  
  Parameters
  ----------
  data_dir : `str` or None, default None
      The path to the input data directory.
  data_sub_dir : `str` or None, default None
      The name of the input data sub directory.
      Updates path by appending to the ``data_dir`` at the end.
      If None, ``data_dir`` path is unchanged.
  
  Returns
  -------
  data_home : `str`
      Path to the data folder.
docstr_tok: ["Returns","the","folder","path","``","data_dir\/data_sub_dir","``",".","If","``","data_dir","``","is","None","returns","the","internal","data","directory",".","By","default","the","Greykite","data","dir","is","set","to","a","folder","named","'data","'","in","the","project","source","code",".","Alternatively",",","it","can","be","set","programmatically","by","giving","an","explicit","folder","path",".","Parameters","--","--","--","--","--","data_dir",":","`","str","`","or","None",",","default","None","The","path","to","the","input","data","directory",".","data_sub_dir",":","`","str","`","or","None",",","default","None","The","name","of","the","input","data","sub","directory",".","Updates","path","by","appending","to","the","``","data_dir","``","at","the","end",".","If","None",",","``","data_dir","``","path","is","unchanged",".","Returns","--","--","--","-","data_home",":","`","str","`","Path","to","the","data","folder","."]
code: def get_data_home(data_dir=None, data_sub_dir=None):
      """Returns the folder path ``data_dir/data_sub_dir``.
      If ``data_dir`` is None returns the internal data directory.
      By default the Greykite data dir is set to a folder named 'data' in the project source code.
      Alternatively, it can be set programmatically by giving an explicit folder path.
  
      Parameters
      ----------
      data_dir : `str` or None, default None
          The path to the input data directory.
      data_sub_dir : `str` or None, default None
          The name of the input data sub directory.
          Updates path by appending to the ``data_dir`` at the end.
          If None, ``data_dir`` path is unchanged.
  
      Returns
      -------
      data_home : `str`
          Path to the data folder.
      """
      if data_dir is None:
          data_dir = Path(__file__).parents[1].joinpath("data")
  
      if data_sub_dir is None:
          data_home = os.path.abspath(data_dir)
      else:
          data_home = os.path.abspath(
              os.path.join(data_dir, data_sub_dir)
          )
  
      if not os.path.exists(data_home):
          raise ValueError(
              f"Requested data directory '{data_home}' does not exist."
          )
  
      return data_home
  
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 2 for calling the DataLoader obj's underlying member method code with example usage: obj.get_data_home(data_dir, data_sub_dir) and returns: data_home