I have a table where each row contains a single measurement type at three temperatures, each stored in its own column. Ultimately, I want to calculate the deltas between these measurements and then stack that data into a new table. However, not all measurements are taken at all three temperatures, and I need to exclude those measurements (rows) where one or more of the data columns are empty. I need to do this using a JMP 9.0 script.
Given:
dtSplit =
| Measurement | T1 | T2 | T3 |
|---|
| Measurement A | 5 | 12 | 89 |
| Measurement B | 13 | | 8 |
| Measurement C | | 52 | 57 |
| Measurement D | 22 | 21 | |
| Measurement E | 8 | | |
| Measurement F | | | 15 |
| Measurement G | | 54 | |
I need to produce:
dtClean =
| Measurement | T1 | T2 | T3 |
|---|
| Measurement A | 5 | 12 | 89 |
I was trying to use something like:
dtSplit << Select Where(
Is Empty(:T1) ||
Is Empty(:T2) ||
is Empty(:T3)
) << Delete Rows;
However, any Select Where(Is Empty(:COL)) always selects all rows.
I'm sure I am missing something simple, your help is greatly appreciated, thanks,
- Matt