read To Map
fun readToMap(sheetName: String, pathToWorkbook: Path = KSL.excelDir.resolve("${sheetName}.xlsx"), skipFirstRow: Boolean = false): Map<String, Double>
This is the reverse operation to the function writeToExcel() for a Map
Parameters
sheet Name
the name of the sheet holding the map. If the workbook does not contain the named sheet then an empty map is returned
path To Workbook
the path to the workbook file. By default, this is assumed to be a workbook in the KSL.excelDir directory with the name "sheetName.xlsx"
skip First Row
if true the first row of the sheet is skipped because it contains a header. The default is false.