pyexcel.internal.generators.SheetStream

class pyexcel.internal.generators.SheetStream(name, payload)[source]

Memory efficient sheet representation

This class wraps around the data read from pyexcel-io. Comparing with pyexcel.Sheet, the instance of this class does not load all data into memory. Hence it performs better when dealing with big data.

If you would like to do custom rendering for each row of the two dimensional data, you would need to pass a row formatting/rendering function to the parameter “renderer” of pyexcel’s signature functions.

__init__(name, payload)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(name, payload) Initialize self.
get_internal_array()
to_array() Simply return the generator

Attributes

array array attribute