unknown_member
New Member
- Joined
- Aug 17, 2016
- Messages
- 6
Hello -
I have a complicated issue. I have a file with 5 columns (A, B, C, D, E).
A is fixed string value.
B is a number increasing irregularly.
C, D, E, are given values.
What I need to do is have column B regular (i.e. every 1). So I have to insert rows between B i.e.(B2-B1) will determine how many rows between B1 & B2 and then (B3-B2) will determine how many rows between B2 & B3 and so on.
After inserting the rows, I have to linear interpolate columns C, D & E in the newly created empty rows. In all cases I want to keep the original values and interpolate between them.
The other issue is that column B has decimal/fraction, but I think I can round this to the nearest integer to make it easier for interpolation.
Example Input: http://i65.tinypic.com/v30kz6.<wbr>jpg
Desired output: http://i66.tinypic.com/<wbr>2hrod4n.jpg
I have a complicated issue. I have a file with 5 columns (A, B, C, D, E).
A is fixed string value.
B is a number increasing irregularly.
C, D, E, are given values.
What I need to do is have column B regular (i.e. every 1). So I have to insert rows between B i.e.(B2-B1) will determine how many rows between B1 & B2 and then (B3-B2) will determine how many rows between B2 & B3 and so on.
After inserting the rows, I have to linear interpolate columns C, D & E in the newly created empty rows. In all cases I want to keep the original values and interpolate between them.
The other issue is that column B has decimal/fraction, but I think I can round this to the nearest integer to make it easier for interpolation.
Example Input: http://i65.tinypic.com/v30kz6.<wbr>jpg
Desired output: http://i66.tinypic.com/<wbr>2hrod4n.jpg