Skip to content

Allow functions to be run on output DF columns …

Aaron Graubert requested to merge github/fork/julianhess/output_funcs into master

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

Merge request reports