here is a simplified version of my question:
csv file:
| id | colA | colB | | 1 | | 1.5 | | 2 | | 2.2 | | 3 | 3.3 | 3.5 |