<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _merge_csv_section(sections, pc, csvs):
 """ Add csv data to all paleo data tables :param dict sections: Metadata :return dict sections: Metadata """

    logger_csvs.info("enter merge_csv_section")

    try:
        # Loop through each table_data in paleoData
        for _name, _section in sections.items():

            if "measurementTable" in _section:
                sections[_name]["measurementTable"] = _merge_csv_table(_section["measurementTable"], pc, csvs)

            if "model" in _section:
                sections[_name]["model"] = _merge_csv_model(_section["model"], pc, csvs)

    except Exception as e:
        print("Error: There was an error merging CSV data into the metadata ")
        logger_csvs.error("merge_csv_section: {}".format(e))

    logger_csvs.info("exit merge_csv_section")
    return sections