A Transformer implements a method transform(), which converts one DataFrame into another, generally by appending one or more columns.