<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def getElement(self, attri, fname, numtype='cycNum'):
        '''
        In this method instead of getting a particular column of data,
        the program gets a particular row of data for a particular
        element name.

        attri : string
            The name of the attribute we are looking for. A complete
            list of them can be obtained by calling

            >>> get('element_name')
        fname : string
            The name of the file we are getting the data from or the
            cycle number found in the filename.
        numtype : string, optional
            Determines whether fname is the name of a file or, the
            cycle number.  If it is 'file' it will then  interpret it as
            a file, if it is 'cycNum' it will then  interpret it as a
            cycle number.  The default is "cycNum".

        Returns
        -------
        array
            A numpy array of the four element attributes, number, Z, A
            and abundance, in that order.

        Notes
        -----
        Warning
        '''
        element=[] #Variable for holding the list of element names
        number=[]  #Variable for holding the array of numbers
        z=[]       #Variable for holding the array of z
        a=[]       #Variable for holding the array of a
        abd=[]     #Variable for holding the array of Abundance
        data=[]    #variable for the final list of data

        fname=self.findFile(fname,numtype)
        f=open(fname,'r')
        for i in range(self.index+1):
            f.readline()
        lines=f.readlines()
        for i in range(len(lines)):
            lines[i]=lines[i].strip()
            lines[i]=lines[i].split()
        index=0
        data=[]

        while index < len (self.dcols):
            if attri== self.dcols[index]:
                break
            index+=1

        element=self.get(self.dcols[5],fname,numtype)
        number=[]
        z=[]
        a=[]
        isom=[]
        abd=[]
        for i in range(len(lines)):
            number.append(int(lines[i][0]))
            z.append(float(lines[i][1]))
            isom.append(float(lines[i][2]))
            abd.append(float(lines[i][1]))
        index=0 #Variable for determing the index in the data columns


        while index < len(element):
            if attri == element[index]:
                break

            index+=1

        data.append(number[index])
        data.append(z[index])
        data.append(a[index])
        data.append(isom[index])
        data.append(abd[index])

        return array(data)