emlib/emlib.py
def Get(self, columnLabel):
        """
        Return a column as array.

        :param columnLabel:  The column to return
        :type param: str


        :returns: list
        :rtype: float,np.Nan,str,...

        :Example:

        - Simple grab::

            >>> salinity =  myTable.Get("SALINITY")


        """
        try:
            self.labels.index(columnLabel)
        except ValueError:
            emlog.warn(str(columnLabel)+" not in table. Try:"+str(self.labels))
            return []
        col = self.labels.index(columnLabel)
        tmp = []
        for i in range((len(self.T))):
            tmp.append(self.Rows[i][col])
        return tmp

        Return a column as array.

        :param columnLabel:  The column to return
        :type param: str


        :returns: list
        :rtype: float,np.Nan,str,...

        :Example:

        - Simple grab::

            >>> salinity =  myTable.Get("SALINITY")


        
Return a column as array.
Return a column as array .
def Get(self, columnLabel):
        try:
            self.labels.index(columnLabel)
        except ValueError:
            emlog.warn(str(columnLabel)+" not in table. Try:"+str(self.labels))
            return []
        col = self.labels.index(columnLabel)
        tmp = []
        for i in range((len(self.T))):
            tmp.append(self.Rows[i][col])
        return tmp
def Get ( self , columnLabel ) : try : self . labels . index ( columnLabel ) except ValueError : emlog . warn ( str ( columnLabel ) + " not in table. Try:" + str ( self . labels ) ) return [ ] col = self . labels . index ( columnLabel ) tmp = [ ] for i in range ( ( len ( self . T ) ) ) : tmp . append ( self . Rows [ i ] [ col ] ) return tmp
Return a column as array.
Return a column as array .
"""
        Return a column as array.

        :param columnLabel:  The column to return
        :type param: str


        :returns: list
        :rtype: float,np.Nan,str,...

        :Example:

        - Simple grab::

            >>> salinity =  myTable.Get("SALINITY")


        """
None
float,np.Nan,str,...
self
columnLabel
The column to return
The column to return
Example
Simple grab::
>>> salinity =  myTable.Get("SALINITY")
Simple grab :: >>> salinity = myTable . Get ( " SALINITY " )