Added def transform(ddf: DDF, newColumnNames: Map[String, String]): DDF into FactorIndexer, if newColumnNames is null then it overwrites the columns (previous behavior), otherwise it will create new columns based on the map.
Reviewers: @Huandao0812 @hai-adatao
Breaking changes & backward compatible issues
No
How to test
PR Progress
Make sure all checkboxes below are checked before merged
[x] Branch is in format prefix/description (see this)
[ ] Merge check has no conflicts. PR checks passed.
Description and related tickets, documents
Added
def transform(ddf: DDF, newColumnNames: Map[String, String]): DDF
intoFactorIndexer
, ifnewColumnNames
is null then it overwrites the columns (previous behavior), otherwise it will create new columns based on the map.Reviewers: @Huandao0812 @hai-adatao
Breaking changes & backward compatible issues
No
How to test
PR Progress
Make sure all checkboxes below are checked before merged
prefix/description
(see this)