How do I find the number of partitions in a dataframe without converting the dataframe to an RDD(I'm assuming that it's a costly operation).
If there's no way to do so, I wonder why the API doesn't include a method like that(an explanation for why such a method would be useless, perhaps) Thanks! Nipun