pyexcel.Book.save_to_memory

Book.save_to_memory(file_type, stream=None, **keywords)[source]

Save the content to a memory stream

Parameters:
  • file_type – what format the stream is in
  • stream – a memory stream. Note in Python 3, for csv and tsv format, please pass an instance of StringIO. For xls, xlsx, and ods, an instance of BytesIO.