faces.py
def process_data(people_logger):
    """
    Creates a dictionary of DataFrames from the log and write the results to csv file.
    :param people_logger: input data from face recognition
    :return: dictionary of DataFrames
    """
    # create dictionary DataFrames with name as a key and times
    ppl_logger_df = {key: pd.DataFrame(people_logger[key]) for key in people_logger.keys()}
    # save data to csv
    [ppl_logger_df[key].to_csv(os.path.join(os.getcwd(), "reports", f"{key}.csv")) for key in ppl_logger_df.keys()]
    return ppl_logger_df

    Creates a dictionary of DataFrames from the log and write the results to csv file.
    :param people_logger: input data from face recognition
    :return: dictionary of DataFrames
    
Creates a dictionary of DataFrames from the log and write the results to csv file.
Creates a dictionary of DataFrames from the log and write the results to csv file .
def process_data(people_logger):
    ppl_logger_df = {key: pd.DataFrame(people_logger[key]) for key in people_logger.keys()}
    [ppl_logger_df[key].to_csv(os.path.join(os.getcwd(), "reports", f"{key}.csv")) for key in ppl_logger_df.keys()]
    return ppl_logger_df
def process_data ( people_logger ) : ppl_logger_df = { key : pd . DataFrame ( people_logger [ key ] ) for key in people_logger . keys ( ) } [ ppl_logger_df [ key ] . to_csv ( os . path . join ( os . getcwd ( ) , "reports" , f"{key}.csv" ) ) for key in ppl_logger_df . keys ( ) ] return ppl_logger_df
Creates a dictionary of DataFrames from the log and write the results to csv file.
Creates a dictionary of DataFrames from the log and write the results to csv file .
"""
    Creates a dictionary of DataFrames from the log and write the results to csv file.
    :param people_logger: input data from face recognition
    :return: dictionary of DataFrames
    """ # create dictionary DataFrames with name as a key and times # save data to csv
dictionary of DataFrames
dictionary of DataFrames
people_logger
input data from face recognition
input data from face recognition