Standard container class

For backward compatibility and as a standard "container" class, the UserArray from Numeric has been brought over to NumPy and named numpy.lib.user-array.container The container class is a Python class whose self.array attribute is an ndarray. Multiple inheritance is probably easier with numpy.lib.user_array.container than with the ndarray itself and so it is included by default. It is not documented here beyond mentioning its existence because you are encouraged to use the ndarray class directly if you can.

0 0

Post a comment