larray.arrays

larray.arrays(depth=0)[source]

Returns 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.

Returns:

Session