0

The statsmodels API says Returns empirical CDF as a step function.

That's a mathematical statement. In terms of Python variables and data structures what is the ECDF as a step function? Is it a tuple, list, array, scalar, etc.?

  • 1
    It's a numpy array as illustrated by the [docs](http://www.statsmodels.org/dev/generated/statsmodels.distributions.empirical_distribution.ECDF.html). – ayhan Jun 20 '17 at 20:51
  • @jeremycg I was asking what the return of it was, not what ecdf was. –  Jun 20 '17 at 20:54
  • 2
    ok the function `ECDF` returns an 'ECDF' object, that works like a function, and returns a numpy array when called. – jeremycg Jun 20 '17 at 20:58

0 Answers0