Migrate the implementation of IDF from MLLib to ML in order to avoid converting from ML vectors to MLLib vectors and back.
This Jira ticket is similar to SPARK-21748.
Make the transform natively in ml framework to avoid extra conversion
[Github] Pull Request #19759 (flowcont)
GitHub Pull Request #19759