Description
As suggested by srowen in https://github.com/apache/spark/pull/17130, the transform code in FPGrowthModel can be simplified.
As suggested by srowen in https://github.com/apache/spark/pull/17130, the transform code in FPGrowthModel can be simplified.