Table
Python representation of a Maple table
Description
Method Summary
Superclass
Examples
The Table class represents Maple objects of type table .
maplesoft.maple.Table inherits all the methods defined on Indexable objects.
It implements the collections.abc.MutableMapping base abstract class from the collections.abc module .
The following methods are defined on any Table object and invoke the specified implementation in Maple.
Method name
Usage
Maple implementation
__delitem__
del x[y]
Delete the key y and its associated value from table x
__getitem__
x[y]
Retrieve the value from table x associated with key x
__setitem__
x[y] = z
Assign the value z to key y in the table x
__len__
len(x)
Returns the number of elements in the container x
keys
x.keys()
Return a list of keys of the table
values
x.values()
Return a list of values of the table
items
x.items()
Return a list of 2-tuples corresponding to keys and values of the table x
Indexable
See Also
OpenMaple/Python
OpenMaple/Python/Examples
OpenMaple/Python/Expression
OpenMaple/Python/List
OpenMaple/Python/Name
OpenMaple/Python/RTable
OpenMaple/Python/Set
Download Help Document
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル