Dynamic Space

class DynamicSpace(_impl)[source]

Dynamically created space.

Dynamic spaces of a parametric space are created by accessing its elements for the first time, through subscription [] or call () operations on the parametric space.

Dynamic spaces are not editable like static spaces.

Basic properties

name

Name of the object.

fullname

Dotted name of the object.

doc

Description string

allow_none

Whether a cells can have None as its value.

model

The model this object belongs to.

parent

The parent of this object.

properties

refs

A map associating names to objects accessible by the names.

has_params()

Check if the parameter function is set.

set_property(name, value)

Set property name

Inheritance operations

bases

List of base classes.

Child Space operations

spaces

A mapping associating names to named spaces.

named_spaces

A mapping associating names to named spaces.

cur_space([name])

Set the current space to Space name and return it.

Child Cells operations

cells

A mapping of cells names to the cells objects in the space.

ItemSpace operations

itemspaces

A mapping of arguments to ItemSpace objects.

parameters

A tuple of parameter strings.

formula

Property to get, set, delete formula.

clear_all()

Delete all child ItemSpace objects

clear_at(*args, **kwargs)

Delete a child ItemSpace object

node(*args, **kwargs)

Return a Element object for the given arguments.

preds(*args, **kwargs)

Return a list of predecessors of a cell.

succs(*args, **kwargs)

Return a list of successors of a cell.

Exporting to Pandas objects

frame

Alias of to_frame().

to_frame(*args)

Convert the space itself into a Pandas DataFrame object.