code: def test_save_file_to_csv():
      test_file_path = str(os.path.dirname(__file__))
      dataframe = pd.DataFrame(
          data=[
              [1, 2, 3],
              [4, 5, 6],
              [7, 8, 9],
              [10, 11, 12],
              [13, 14, 15],
          ]
      )
      file_to_save = os.path.join(
          test_file_path, "test_file_to_save.csv"
      )
      save_file_to_csv(dataframe, file_to_save)
  
      with open(file_to_save, "r") as file:
          content = file.readlines()
  
      assert os.path.exists(file_to_save)
      assert "1,2,3" in content[1]
      os.remove(file_to_save)
  
file_path: FEDOT/test/unit/test_utils.py
imports: import os
  import platform
  import tempfile
  from pathlib import Path
  import numpy
  import pandas
  from fedot.core.utils import default_fedot_data_dir, labels_to_dummy_probs, save_file_to_csv
label_desc: Use image node_id 3 for calling a global function with example usage: test_save_file_to_csv() without return types