I want to know how df.describe() and df.summary() is implemented
def summary(self, *statistics):
if len(statistics) == 1 and isinstance(statistics[0], list):
statistics = statistics[0]
jdf = self._jdf.summary(self._jseq(statistics))
return DataFrame(jdf, self.sql_ctx)
I'm not very familliar with OO in python and I'm a bit confused. Where is the quantile and other statistics implemented?