Skip to content
Prev 180871 / 398503 Next

Using while statements to insert rows in a dataframe

Eric McKibben wrote:
It's always good to boil down you example to the minimal possible, your
example is too big.
To clarify you point: assuming there are only two questions:

You have:

Question Latency Response
1        265 -1
2        466 84
-32767 0   NA

You need? 

Question Latency Response
1        265 -1
2        466 84
1        265 -1
2        466 84