-
Notifications
You must be signed in to change notification settings - Fork 0
Array
Ferenc Bodon edited this page May 27, 2018
·
5 revisions
I call a homogeneous list as an array, i.e. the type of each element is the same. In most cases, this is a list of numbers. Although Q's lists are more powerful than Python's lists. The game changes as soon as we restrict to an array of numbers as Python's library Numpy has a lot of benefits.
| command | Q | Numpy | Q example | Numpy example | comment | |
|---|---|---|---|---|---|---|
| nr of dimension | not supported | ndim |
a.ndim |