KitchenSink v1.0.0 KitchenSink.CSV

This module is for CSV helper functions.

Summary

Functions

transforms a sparse list into a new list of the same size with the sparse values filled in with the previous non-sparse values

Functions

fill(sparse_list, empty_matcher)

transforms a sparse list into a new list of the same size with the sparse values filled in with the previous non-sparse values.

Example

iex> KitchenSink.CSV.fill([1,"","",2,"",3,""], "")
 [1,1,1,2,2,3,3]