fixed the groupby error on localhost
Merge pull request #143 from LI-HE/master

fixed the groupby error on localhost