cf.Data.__len__

Data.__len__()[source]

The built-in function len

x.__len__() <==> len(x)

Examples:
>>> len(cf.Data([1, 2, 3]))
3
>>> len(cf.Data([[1, 2, 3]]))
1
>>> len(cf.Data([[1, 2, 3], [4, 5, 6]])
2
>>> len(cf.Data(1))
TypeError: len() of scalar Data