cf
Data.
__len__
The built-in function len
len
x.__len__() <==> len(x)
>>> 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
cf.Data.__hash__
cf.Data.__getitem__