You can access data in Python® container objects, like lists and dictionaries, with index values, similar to referencing an element in a MATLAB® matrix. There are, however, ways to index into matrices which are not supported for these Python types.
Indexing Features Not Supported in MATLAB |
---|
Use of square brackets, |
Indexing into a container type that does not inherit from
|
Logical indexing. |
Accessing data in a container with an arbitrary array of indices. An index
must be of the form |
Comma-separated lists. |
|