save_csv_array_to_line
- ssapy.io.save_csv_array_to_line(filename, array, delimiter='\t')[source][source]
Appends a single row of data to a CSV file with a specified delimiter.
Parameters: filename (str): The name of the file to which the row will be appended. array (list): A list of values representing a single row of data to be appended to the CSV file. delimiter (str, optional): The delimiter to use between columns in the CSV file.
Default is tab (’ ‘).
Example: save_csv_array_to_line(‘output.csv’, [‘Alice’, 30, ‘New York’], delimiter=’,’)