def to_linspace ( self ) : if hasattr ( self . shape , '__len__' ) : raise NotImplementedError ( "can only convert flat Full arrays to linspace" ) return Linspace ( self . fill_value , self . fill_value , self . shape )
are arange and linspace equivalent in python
convert from full to linspace
def to_linspace(self):
        """
        convert from full to linspace
        """
        if hasattr(self.shape, '__len__'):
            raise NotImplementedError("can only convert flat Full arrays to linspace")
        return Linspace(self.fill_value, self.fill_value, self.shape)