UserSpace#
- class UserSpace(_impl)[source]#
Container of cells, other spaces, and cells namespace.
UserSpace objects can contain cells and other spaces. Spaces have mappings of names to objects that serve as global namespaces of the formulas of the cells in the spaces.
Basic properties#
Name of the object. |
|
Dotted name of the object. |
|
Documentation string |
|
Whether a cells can have None as its value. |
|
The model this object belongs to. |
|
The parent of this object. |
|
A map associating names to objects accessible by the names. |
|
Check if the parameter function is set. |
|
|
Set property |
Space operations#
Inheritance operations#
List of base classes. |
|
|
Add base spaces. |
|
Remove base spaces. |
Child Space operations#
A mapping associating names to named spaces. |
|
A mapping associating names to named spaces. |
|
A mapping associating names to named spaces. |
|
|
Set the current space to Space |
|
Create a child space from an module. |
|
Create a child space. |
|
Create spaces from from a comma-separated values (csv) file. |
|
Create a child space from an Excel range. |
|
Create a child space from an module. |
|
Create child spaces from Pandas DataFrame or Series. |
|
Reload the source module and update the formulas. |
Child Cells operations#
A mapping of cells names to the cells objects in the space. |
|
|
Create a cells in the space. |
|
Create cells from a comma-separated values (csv) file. |
|
Create multiple cells from an Excel range. |
|
Create a cells from a module. |
|
Create new cells from Pandas Series or DataFrame object. |
|
Create a cells from a module. |
|
Clears child |
Sort child cells alphabetically |
Reference operations#
|
Set a Reference |
|
Set absolute References |
|
Set relative References |
|
Creates a Reference to an Excel range |
|
Create a Reference bound to a pandas DataFrame or Series associating a new |
|
Assigns a user module to a Reference associating a new |
ItemSpace operations#
A mapping of arguments to |
|
A tuple of parameter strings. |
|
Property to get, set, delete formula. |
|
|
Set if the parameter function. |
Delete formula |
|
Deletes all the child |
|
|
Delete a child |
|
Return a Node object for the given arguments. |
|
Return a list of predecessors of a cell. |
|
Return a list of successors of a cell. |
|
Return a list of the precedents. |