Questions tagged [rows]

A row is a single data item in a database, spreadsheet, table, grid or list. When using this tag, please also add additional tags to clarify your specific environment/language/use case.

A row is a single data item. In the context of a database or similar data structure, it's also known as a or and will have a well-defined structure. In the context of a dataset in data science, each row represents an observation.

Rows can also be added to a less structured data source, such as a , , grid or .

4419 questions
1
vote
2 answers

skip n rows of csv file in php

I have a csv file which have about 500000 number of rows. What I need to do is take first 100 rows in first loop and manipulate the rows (say, send first 100 IDs to API and save response). In Second loop, skip the first 100 rows(already taken) and…
VijayRana
  • 953
  • 1
  • 13
  • 38
1
vote
2 answers

Bootstrap/Foundation stacking rows/columns

I'm trying to achieve very simple two row stacking but can't seem to find the solution. I've tried Bootstrap and Foundation for solutions. As you can see in the photos I have 2 rows, each with 3 columns. When the screen size is medium/small i need…
Arual
  • 15
  • 3
1
vote
0 answers

add and editing row manually in gridcontrol devexpress

im using the grid control of devexpress and i wan use it for take info of a new employee in a system the user have the grid with the columns that he need but the grid have a single row for the user put in the info that i add with…
V-mos
  • 39
  • 6
1
vote
1 answer

How to show rows of zero with table

I'm having a problem with command "table". I'm comparing two matrixs which elements are 0 or 1. I want the coincidences and no-coincidences in 0 or 1, so I wrote: > asd=table(prob1,prob_obs_mod1) > asd prob_obs_mod1 prob1 0 1 0…
Alex
  • 11
  • 5
1
vote
1 answer

Specific way of positioning in Bootstrap

Let's say I have two divs with a class of "row" and and I want the second one to always be on the very bottom of the div with a class of "section"(bottom: 0). Here is the code to illustrate it better:
Maciej S.
  • 1,773
  • 3
  • 12
  • 12
1
vote
1 answer

Styling elements to appear between rows in a HTML bootstrap table

I have a bootstrap table which has pairs of rows appear like the following: There is a button generated at the end of the first row. Is there way to make it appear so its BETWEEN the two rows (i.e. sat on the line that is dividing the two rows)…
blueprintchris
  • 1,053
  • 1
  • 16
  • 38
1
vote
1 answer

MySQL - Calculate the difference between rows

So I'm working with MySQL and PHP. Having some trouble trying to get a query that calculates the difference between consecutive rows. What I need is to get the difference between each row for: data_views, data_sub & data_videos for each channel…
Harvey Connor
  • 146
  • 4
  • 19
1
vote
2 answers

reading a csv file into pandas with one column is like a list, create new rows

i have a csv file in the following form. id results_numbers results creation_time 9680 2 [(9394, u'lesbyfaye'), (999, u'Kayts & Koilsby')] 11/10/14 0:23 9690 3 …
user35577
  • 191
  • 1
  • 1
  • 7
1
vote
1 answer

Google Spreadsheet Row Lock Function

who can help to develop a script that will lock the google spreadsheet row after a user entered data to the table row. Case Description: I have a spreadsheet table. This table is used by many users to enter data. I need to be sure that different…
1
vote
2 answers

How do I find the row number of the first occurrence of a value within a query?

In MySQL, how would I find the row number of the first occurrence of a value? E.G., if the data returned by my query was value1 value1 value1 value1 value2 value2 value1 I would want to return 1 is searching on value1, and 5 if searching on value2.…
Sinister Beard
  • 3,570
  • 12
  • 59
  • 95
1
vote
0 answers

How to remove inverted edges in undirected graph in matlab

I have a edge list as cell array ['a' 'b','c' 'b','b' 'a'] I have been trying to generate a graph in MATLAB using G=graph(s,t) but I get an error for duplicate edges which i figure is because of [a b] and [b a]. I am not able to remove those in my…
Anurag
  • 21
  • 4
1
vote
3 answers

Show two or more rows in a single row

I have these four tables: table offers id id_company description table companies id name table company_customer id_company id_customer table customers id name I need to get the offers, the company that has the offer and also the customers…
cooper
  • 635
  • 1
  • 8
  • 23
1
vote
1 answer

How to get Latitude, Longitude and Altitude in separate columns Python to csv

def GPSPositionChanged(e): source = e.device print("%f, %f, %f") %(e.latitude, e.longitude, e.altitude) ValueA=[(e.latitude)] ValueB=[(e.longitude)] ValueC=[(e.altitude)] w.writerow ([ValueA]) w.writerow ([ValueB]) w.writerow ([ValueC]) This…
Joe B
  • 13
  • 5
1
vote
1 answer

Remove all rows containing certain values from a string

How do I remove all rows from a data frame that contain any of the values I assign in a string vector? I've tried grepl, but that only seems to work when one word is concerned. number <- c(1:5) text <- c("First text","Second text","Another text…
user5946647
1
vote
3 answers

Problems removing rows from dataset in C#

I have this situation: I have to create a dataset that takes all data from another dataset. In some cases I have to remove some rows from each of the new dataset. When both foreach cycles are finished, both datasets are empty, even when finish only…
Florjon
  • 3,569
  • 3
  • 22
  • 29