def __init__(self, shape, cols=[]):
self._arrays = {}<EOL>self._names = []<EOL>self.shape = shape<EOL>for colname, value in cols:<EOL><INDENT>self.set(colname, value)<EOL><DEDENT>self._dtype = None<EOL>
cols is a list of (colname, values), shape has to be 1D.