test.csv
1name,age
2Alice,20
3Bob,30
4Charlie,40
head
load/fetch the first n
rows
1filterx csv test.csv -H --oH -e 'head(2)'
2
3# output
4# name,age
5# Alice,20
6# Bob,30
limit
outputs n
rows starting from loaded row m
1filterx csv test.csv -H --oH -e 'age > 10;limit(2)'
2
3# output
4# name,age
5# Alice,20
6# Bob,30
tail
load/fetch the last n
rows
1filterx csv test.csv -H --oH -e 'tail(2)'
2# output
3# name,age
4# Bob,30
5# Charlie,40