I am examining example Pandas code for creating a MultiIndex:
In [1]: arrays = [['bar', 'bar', 'baz', 'baz', 'foo', 'foo', 'qux', 'qux'], ...: ['one', 'two', 'one', 'two', 'one', 'two', 'one', 'two']] ...: Is this a mistakened use of the term arrays?
From surfing, I find that square brackets delineate Lists. True arrays need to be constructed using the array function of NumPy, as shown here and on SO.
Even though the SO link suggests a conflation of terms, the answers are very clear about the distinction. The Pandas link seems to be authoritative, however, so I want to be 100% sure before I do a mental translation of their every use of "array" into "list".
arraymodule, defining an object type namedarray...