Skip to content
Ferenc Bodon edited this page May 27, 2018 · 5 revisions

What is an array?

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.

Creation

Shape

command Q Numpy Q example Numpy example comment
nr of dimension not supported ndim a.ndim

Clone this wiki locally