Private method for a single extraction on a fixed-type tab file

def _partial_extraction_fixed(self, idx, extra_idx=0):
        """
        Private method for a single extraction on a fixed-type tab file
        """
        myarray = np.array([])
        with open(self.abspath) as fobj:
            contents = fobj.readlines()[idx+extra_idx:]
            for line in contents:
                try:
                    vals = re.findall(r' *[\w\-\+\.]*', line)
                    temp = np.array([float(val) for val in vals
                                     if val not in ('', '     ')])
                    myarray = np.hstack((myarray, temp))
                except ValueError:
                    break
        return myarray