KitchenSink v1.3.5 KitchenSink.CSV View Source

This module is for CSV helper functions.

Link to this section 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

Link to this section Functions

Link to this function fill(sparse_list, empty_matcher) View Source

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]