This view takes in a list of lists and a function. Each sublist defines
a set of row or column keys to merge using the passed function. Rows and
columns which are not in any of the lists are passed through as is, though
their relative order may have changed.
Methods
|
|
__init__
getData
getNumCols
getNumRows
setFunction
setKeylist
|
|
__init__
|
__init__ (
self,
dataset,
keylist=[],
function=None,
)
|
|
getData
|
getData ( self, key=None )
|
|
getNumCols
|
getNumCols ( self )
|
|
getNumRows
|
getNumRows ( self )
|
|
setFunction
|
setFunction ( self, function )
|
|
setKeylist
|
setKeylist ( self, keylist=[] )
Takes in a list of lists of keys which are the sets of rows and columns
to group together and apply the function to.
|
|