The CSV is produced from reading a binary format where an absent value represents that it has not changed since it was last printed, in order to cut down on space used. However, it's difficult to try and keep all the most recent values in your head as you scan the csv.
I'd like to write a new xsv command: ffill that "fills forward", replacing any missing values with the most recent value in that column. If I prepare a pull request with that addition, does that seem like something you'd want to include in the package?
I frequently work with CSVs that look something like this:
(column names are faked).
The CSV is produced from reading a binary format where an absent value represents that it has not changed since it was last printed, in order to cut down on space used. However, it's difficult to try and keep all the most recent values in your head as you scan the csv.
I'd like to write a new xsv command:
ffill
that "fills forward", replacing any missing values with the most recent value in that column. If I prepare a pull request with that addition, does that seem like something you'd want to include in the package?