larray.Workbook.close

Workbook.close()[source]

Close the workbook in Excel.

Need to be called if the workbook has been opened without the with statement.

Examples

>>> arr, arr2, arr3 = ndtest((3, 3)), ndtest((2, 2)), ndtest(4)   
>>> wb = open_excel('excel_file.xlsx', overwrite_file=True)       
>>> wb['arr'] = arr.dump()                                        
>>> wb['arr2'] = arr2.dump()                                      
>>> wb['arr3'] = arr3.dump()                                      
>>> wb.save()                                                     
>>> wb.close()