Of course, few Python programmers want to work with increasingly complex forests of data structures like the lists, tuples, and dictionaries above.
当然,很少有 Python 程序员希望使用上面的诸如列表、元组和字典等日益复杂的数据结构。
I have focused on lists of tuples, but almost all of the examples in this chapter also work with lists of lists, tuples of tuples, and tuples of lists.
之前我一直在讲由元组组成的列表,但本章几乎所有的例子也适用于由列表组成的列表、元组组成的元组以及列表组成的元组。
In contrast to lists, tuples, and dictionaries, which may contain heterogeneous elements, Numarray arrays contain only elements of a homogeneous data type.
与可以包含不同类型元素的列表、元组和词典不同的是,Numarray数组只能包含同一类型的数据。
应用推荐