danfo. convertFunctionTotransformer
Converts a function to a pipe transformer. Only available in Nodejs version.
danfo.convertFunctionTotransformer(func)
Parameters
Type
Description
Default
func
Function
Returns:
return A pipe transformer that applies the function to each row of object.
The convertFunctionTotransformer takes a function and converts it to a Nodejs stream transformer function which can be used in combination with streamCsvTransformer to incrementally transform large files.
Converting a function to a transformer
Last updated