libpysal.io.open¶
- libpysal.io.open¶
Methods
__init__([dataPath, mode, dataFormat])cast(key, typ)Cast
keyastyp.check()Prints the contents of the registry.
close()Subclasses should clean themselves up and then call this method.
flush()get(n)Seeks the file to
nand returnsn.getType(dataPath, mode[, dataFormat])Parse the
dataPathand return the data type.open(*args, **kwargs)Alias for
FileIO().read([n])Read at most
nobjects, less if read hits EOF.seek(n)Seek the FileObj to the beginning of the
n'th record.tell()Return ID (or offset) of next object.
truncate([size])Should be implemented by subclasses and redefine this doc string.
write(obj)Must be implemented by subclasses that support 'w' subclasses Should increment
.pos.Attributes
by_rowidsrIdsalias of
FileIO