Allow functions to be run on output DF columns …
Created by: julianhess
Previously, the output dataframe could only contain filepaths. However, it is often useful to read in the contents of those files and store those in the DF instead. This allows us to do that (and apply any other callable to DF output columns).
Example syntax:
outputs = {
"foo" : "foo.txt",
"bar" : "bar.jpg",
"baz" : ("baz.txt", callable)
}
will results in the output dataframe column baz
containing callable
applied to baz.txt