groupby 按照a列的前四个字符分组
https://www.cnblogs.com/alexzhang92/p/9794035.html
写excel
https://www.cnblogs.com/keeptg/p/10609222.html