code: def push_tocsv(input_file, output_df):
      """
  
      :param input_file:
      :param output_folder:
      :param output_df:
      :return:
      """
      logging.info("pushing to csv...")
      datestr = datetime.now().strftime("%Y%m%d-%H%M%S")
      ipath, input_name = path.split(input_file)
      # outpath = output_folder + input_name[:input_file.find('.')] + '_aequitas_' + datestr + '.csv'
      # for now we are saving the csv in same folder as the input file
      outpath = (
          ipath
          + input_name[: input_file.find(".")]
          + "_aequitas_"
          + datestr
          + ".csv"
      )
  
      try:
          output_df.to_csv(outpath, encoding="utf-8", index=False)
      except IOError:
          logging.info(
              "push_csv_data: Could not push results to a csv file."
          )
  
file_path: aequitas/src/aequitas_cli/utils/io.py
imports: import pandas
  import ohio.ext.pandas
  import logging
  from datetime import datetime
  from os import path
  from sys import exit
  from sqlalchemy import create_engine
  from sqlalchemy.exc import SQLAlchemyError
  from xhtml2pdf import pisa
label_desc: Use image node_id 4 for calling a global function with example usage: push_tocsv(input_file, output_df) without return types