Apply a transformation function to the data.
Usage
DataProcessor.transform(func)
func
A callable that transforms the data.
DataProcessor
Self, for method chaining.