ddf-project / DDF

Distributed DataFrame: Productivity = Power x Simplicity For Scientists & Engineers, on any Data Engine
http://ddf.io
Apache License 2.0
168 stars 42 forks source link

FactorIndexer returns new columns #342

Closed phvu closed 8 years ago

phvu commented 8 years ago

Description and related tickets, documents

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

Huandao0812 commented 8 years ago

lgtm