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 names of the ``.csv`` and ``.csv.xz`` files in ``data_path``.
  
  Parameters
  ----------
  data_path : `str`
      Path to the data folder.
  
  Returns
  -------
  file_names : `list` [`str`]
      The names of the ``.csv`` and ``.csv.xz`` files in ``data_path``.
docstr_tok: ["Returns","the","names","of","the","``",".csv","``","and","``",".csv.xz","``","files","in","``","data_path","``",".","Parameters","--","--","--","--","--","data_path",":","`","str","`","Path","to","the","data","folder",".","Returns","--","--","--","-","file_names",":","`","list","`","[","`","str","`","]","The","names","of","the","``",".csv","``","and","``",".csv.xz","``","files","in","``","data_path","``","."]
code: def get_data_names(data_path):
      """Returns the names of the ``.csv`` and ``.csv.xz`` files in ``data_path``.
  
      Parameters
      ----------
      data_path : `str`
          Path to the data folder.
  
      Returns
      -------
      file_names : `list` [`str`]
          The names of the ``.csv`` and ``.csv.xz`` files in ``data_path``.
      """
      file_names = os.listdir(data_path)
      file_names = [
          file_name.split(".csv")[0]
          for file_name in file_names
          if file_name.endswith((".csv", ".csv.xz"))
      ]
  
      return file_names
  
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 3 for calling the DataLoader obj's underlying member method code with example usage: obj.get_data_names(data_path) and returns: file_names