Retrieve the raw row data as an array
359118
public Object[] getRowData() throws SQLException {
        Object[] row = new Object[columnCount];
        for (int i = 1; i < columnCount + 1; i++) {
            row[i - 1] = getObject(i);
        }
        return row;
    }
136266
def toArray(self):
        
        if self.isTransposed:
            return np.asfortranarray(
                self.values.reshape((self.numRows, self.numCols)))
        else:
            return self.values.reshape((self.numRows, self.numCols), order='F')
748677
function(data){
			var rows = this.calculateRowsNumber();
			var datas = [];
			for(var i = 0; i < data.length; i += rows){
				datas.push(data.slice(i, i+rows));
			}
			return datas;
		}
151275
public function toArray($var = null, $key = null, $rows = [], $cb = null) {
        if (!$this->performed) {
            $this->select();
        }
        $rows = is_array($rows) ? $rows : [];
        if (is_array($var)) {
            $rows = $var;
            $var  = null;
        }
        if ($var == null && $key == null) {
            if ($rows) {
                foreach ($rows as $row) {
                    if (is_array($row)) {
                        array_unshift($this->resultSets, $row);
                    }
                }
            }

            return $this->resultSets;
        } else if ($var != null) {
            if ($cb instanceof \Closure) {
                foreach ($this->resultSets as $row) {
                    $value = $row [ $var ];
                    if ($key != null && isset ($row [ $key ])) {
                        $id           = $row [ $key ];
                        $rows [ $id ] = $cb($value, $id);
                    } else {
                        $rows [] = $cb($value);
                    }
                }
            } else {
                foreach ($this->resultSets as $row) {
                    $value = $row [ $var ];
                    if ($key != null && isset ($row [ $key ])) {
                        $id           = $row [ $key ];
                        $rows [ $id ] = $value;
                    } else {
                        $rows [] = $value;
                    }
                }
            }

            return $rows;
        } else if ($key != null) {
            if ($cb instanceof \Closure) {
                foreach ($this->resultSets as $row) {
                    $id           = $row [ $key ];
                    $rows [ $id ] = $cb($row);
                }
            } else {
                foreach ($this->resultSets as $row) {
                    $id           = $row [ $key ];
                    $rows [ $id ] = $row;
                }
            }

            return $rows;
        }

        return [];
    }
11148
def get_row_data(row, column_name, cat_time_ns = True):
    
    column_name_ns = re.sub(r'_time', r'_time_ns', column_name)
    try:
        rowattrs = [attr for attr in row.__slots__]
    except AttributeError:
        rowattrs = [attr for attr in row.__dict__.iterkeys()]

    if cat_time_ns and "_time" in column_name and column_name_ns in rowattrs:
        return int(getattr(row, column_name)) + 10**(-9.)*int(getattr(row, column_name_ns))
    else:
        return getattr(row, column_name)
234867
public function data(): array
    {
        if (empty($this->data) && ! empty($this->model)) {
            $this->buildRowsFromModel($this->model);
        }

        return $this->data;
    }
177424
def file_rows(self, fo):
        """"""

        rows = []
        for i in range(NUMROWS):
            line = fo.readline()
            if not line:
                break
            rows += [line]

        return rows
942067
def _parse_row(self, i):
        
        row = self.data[i]
        for j in range(len(row)):
            self.data[i][j] = self._parse_value(self.data[i][j])
831364
def rows(self) -> List[List[str]]:
        
        return [list(d.values()) for d in self.data]
1076656
protected function getData()
    {
        $data = [];
        foreach ($this->data as $dataValue) {
            $row = [];
            foreach ($this->table->getColumns() as $column) {
                if ($column instanceof ColumnInterface) {
                    $row[$column->getData()] = $column->getContent($dataValue);
                    continue;
                }

                if (is_callable($column->getFormatter())) {
                    $row[$column->getData()] = call_user_func_array(
                        $column->getFormatter(),
                        [
                            $dataValue[$column->getData()],
                            $dataValue
                        ]
                    );
                } else {
                    $row[$column->getData()] = (string)$dataValue[$column->getData()];
                }
            }
            $data[] = $row;
        }

        return $data;
    }
1288400
def _get_rows(self):
        
        html = requests.get(self.url.build()).text
        if re.search('did not match any documents', html):
            return []
        pq = PyQuery(html)
        rows = pq("table.data").find("tr")
        return map(rows.eq, range(rows.size()))[1:]
18482
protected function getNextRow()
    {
        if ($this->position >= $this->totalRows) {
            return;
        }

        if ($this->indexMap) {
            $rowIndex = $this->indexMap[$this->position];
        } else {
            $rowIndex = $this->position;
        }

        $data = Json::decodeFromFile($this->dir . "/" . $rowIndex . ".row");

        $this->position++;

        return $data;
    }
613397
public function convert_to_array($raw_data)
	{
		$xml = new \SimpleXMLElement($raw_data);
		$xml->registerXPathNamespace(
			self::XML_NAMESPACE,
			self::XML_NAMESPACE_URL
		);

		$data = $xml->xpath(self::XPATH_CURRENCY);
		$currencies = array();

		foreach ($data as $currency)
		{
			$currencies[ (string) $currency->attributes()->currency] = (string) $currency->attributes()->rate;
		}

		return $currencies;
	}
496917
def parse_array(raw_array):
    """"""
    array_strip_brackets = raw_array.replace('{', '').replace('}', '')
    array_strip_spaces = array_strip_brackets.replace('"', '').replace(' ', '')
    return array_strip_spaces.split(',')
398901
def get_value(row, field_name):
    '''
    
    '''
    result = None
    dict_row = convert_to_dict(row)
    if detect_list(field_name):
        temp = row
        for field in field_name:
            dict_temp = convert_to_dict(temp)
            temp = dict_temp.get(field, None)
        result = temp
    else:
        result = dict_row.get(field_name, None)
    return result
249276
private function fetchRow()
    {
        ++$this->cursor;
        $fileId = $this->rowReader->getRow();

        $this->item = $fileId;
    }
251114
public function getRow()
	{
		$alias = $this->getAlias();
		$rows = static::findById( $this->id )->loadArray();
		$row = array_shift( $rows );
		$ret = $this->fromArray( $row[ $alias ], true );
		return $ret;
	}