Reverse Rows

Simply reverses the order of rows in the CSV.

Sample Data

Line
1
2
3

Result

null

Transform Function

R.compose(
  R.reverse,
  R.prop('data'),
  parseCSVWithOptions({header: true})
)