예제 #1
0
파일: api.py 프로젝트: zdog234/SciSheets
 def getColumnValue(self, colnm):
     """
 :param str colnm: name of the column
 :return: iterable of object
 :raises: ValueError
 """
     column = self.getColumn(colnm)
     return api_util.coerceValuesForColumn(column, column.getCells())
예제 #2
0
 def getColumnValue(self, column_name):
   """
   :param str column_name: name of the column
   :return: iterable of object
   :raises: ValueError
   """
   column = self.getColumn(column_name)
   return api_util.coerceValuesForColumn(column, column.getCells())
예제 #3
0
파일: api.py 프로젝트: zdog234/SciSheets
 def coerceValues(self, colnm, values):
     """
 Coerces the values to the type appropriate for the column
 :param str colnm: global name of the column
 :return: type appropriate for column
 :raises: ValueError
 """
     column = self.getColumn(colnm)
     return api_util.coerceValuesForColumn(column, values)
예제 #4
0
 def coerceValues(self, column_name, values):
   """
   Coerces the values to the type appropriate for the column
   :param str column_name: name of the column
   :return: type appropriate for column
   :raises: ValueError
   """
   column = self.getColumn(column_name)
   return api_util.coerceValuesForColumn(column, values)