def read_array(self, key, start=None, stop=None):
import tables<EOL>node = getattr(self.group, key)<EOL>attrs = node._v_attrs<EOL>transposed = getattr(attrs, '<STR_LIT>', False)<EOL>if isinstance(node, tables.VLArray):<EOL><INDENT>ret = node[<NUM_LIT:0>][start:stop]<EOL><DEDENT>else:<EOL><INDENT>dtype = getattr(attrs, '<STR_LIT>', None)<EOL>shape = getattr(attrs, '<STR_LIT>', None)<EOL>if shape is not None:<EOL><INDENT>ret = np.empty(shape, dtype=dtype)<EOL><DEDENT>else:<EOL><INDENT>ret = node[start:stop]<EOL><DEDENT>if dtype == '<STR_LIT>':<EOL><INDENT>ret = _set_tz(ret, getattr(attrs, '<STR_LIT>', None), coerce=True)<EOL><DEDENT>elif dtype == '<STR_LIT>':<EOL><INDENT>ret = np.asarray(ret, dtype='<STR_LIT>')<EOL><DEDENT><DEDENT>if transposed:<EOL><INDENT>return ret.T<EOL><DEDENT>else:<EOL><INDENT>return ret<EOL><DEDENT>
read an array for the specified node (off of group