ktk.load

Contents

ktk.load#

load(filename, *, include_metadata=False)[source]#

Load a ktk.zip file.

Load a data file as saved using the ktk.save function.

Usage:

data = ktk.load(filename)
data, metadata = ktk.load(filename, include_metadata=True)
Parameters:
  • filename (str) – The path of the zip file to load.

  • include_metadata (bool) – Optional. If True, the output is a tuple of this form: (data, metadata).

Returns:

The loaded variable.

Return type:

Any

See also

ktk.save