src/py/aggregators/csvaggregator.py
def appendToDemoCSV_Reset(destinationPath:str)->bool:
    """Reset function, writes a blank CSV file to the given location"""

    #Just writes the header into the CSV
    with open(destinationPath, 'w', newline='') as csvfile:
        wr = csv.writer(csvfile, delimiter=',', quotechar='"', quoting=csv.QUOTE_MINIMAL)
        # write header
        wr.writerow(__getTitleRow())

    return True
Reset function, writes a blank CSV file to the given location
Reset function, writes a blank CSV file to the given location
Reset function writes a blank CSV file to the given location
def appendToDemoCSV_Reset(destinationPath:str)->bool:
    with open(destinationPath, 'w', newline='') as csvfile:
        wr = csv.writer(csvfile, delimiter=',', quotechar='"', quoting=csv.QUOTE_MINIMAL)
        wr.writerow(__getTitleRow())
    return True
def appendToDemoCSV_Reset ( destinationPath : str ) -> bool : with open ( destinationPath , 'w' , newline = '' ) as csvfile : wr = csv . writer ( csvfile , delimiter = ',' , quotechar = '"' , quoting = csv . QUOTE_MINIMAL ) wr . writerow ( __getTitleRow ( ) ) return True
Reset function, writes a blank CSV file to the given location
Reset function writes a blank CSV file to the given location
"""Reset function, writes a blank CSV file to the given location""" #Just writes the header into the CSV # write header
destinationPath
str