ENH: Allow exponentially weighted functions to specify alpha directly by evectant · Pull Request #12492 · pandas-dev/pandas (original) (raw)

That's actually a question I had. Zero alpha is not okay, but zero half-life isn't either, and the code is not checking for that. Should I add the checks for 0 < alpha <= 1 and span >= 1, com >= 0, half-life > 0 following from that?