View types#
CellsView#
- class CellsView(data, impl, keys=None)[source]#
A mapping of cells names to cells objects.
CellsView objects are returned by
UserSpace.cells
property. WhenUserSpace.cells
is called without subscription([]
operator), the returned CellsView contains all the cells in the space.CellsView supports a normal subscription(
[]
) operation with one argument to retrieve a cells object from its name, but it also supports multiple arguments to indicate the names of cells to select, and returns another CellsView containing only the selected cells.For example, if
space
contains 3 cellsfoo
,bar
andbaz
:>> space.cells {foo, bar, baz} >> space.cells['bar', 'baz'] {bar, baz}
Methods
|
Convert the cells in the view into a DataFrame object. |