Python Empirical Distribution Function