I haven't used xsv, but one of the nice feature appears to be that it will work on arbitrarily large datasets. From the README[0]:
> These commands are instantaneous because they run in time and memory proportional to the size of the slice (which means they will scale to arbitrarily large CSV data).
The example given with LINQ reads the whole files into memory:
As a fellow LINQ (probably with LINQPad in this case for a quick and dirty script) user, I'd love to know LINQ can be used to read the files in "slices" like xsv. I'm sure this could be accomblished with enough code, but is there quick / easy way to do it?
>The example given with LINQ reads the whole files into memory:
The examples indeed use `File.ReadAllLines` which returns a `string[]`, but the same thing can be done with `File.ReadLines` which returns an `IEnumerable<string>` - a lazy sequence of lines read on demand as the sequence is enumerated.
https://docs.microsoft.com/en-us/dotnet/csharp/programming-g...