Return new Type instance from any object.
obj (object) –
previous
Type.fromnumpy
next
Type.fromstring