Ideally we can do this in pandas master. We can possible split into multiple files: * groupby.py * ewm.py * utils.py