larray.arrays

larray.arrays(depth=0, include_private=False, meta=None) Session[source]

Return a session containing all available arrays (whether they are defined in local or global variables) sorted in alphabetical order. Local arrays take precedence over global ones (if a name corresponds to both a local and a global variable, the local array will be returned).

Parameters
depth: int

depth of call frame to inspect. 0 is where arrays was called, 1 the caller of arrays, etc.

include_private: boolean, optional

Whether to include private arrays (i.e. arrays starting with _). Defaults to False.

metalist of pairs or dict or Metadata, optional

Metadata (title, description, author, creation_date, …) associated with the array. Keys must be strings. Values must be of type string, int, float, date, time or datetime.

Returns
Session