Apply a transformation function to the data.
Usage
Pipeline.transform(func)
func: callable
A function to apply to each data item.
Pipeline
Self for method chaining.