pastas.io.base.load#
- pastas.io.base.load(fname: str, **kwargs) pastas.typing.Model#
Method to load a Pastas Model from file.
- Parameters:
fname (str) – string with the name of the file to be imported including the file extension.
kwargs – extension specific keyword arguments
- Returns:
ml – Pastas Model instance.
- Return type:
Examples
>>> import pastas as ps >>> ml = ps.io.load("model.pas")