Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After Groupby,executing Aggregation error #215

Open
huotianyu opened this issue Jul 23, 2023 · 0 comments
Open

After Groupby,executing Aggregation error #215

huotianyu opened this issue Jul 23, 2023 · 0 comments

Comments

@huotianyu
Copy link

huotianyu commented Jul 23, 2023

After doing a lot of calculations, when it comes to groupby, Aggregation encountered a problem。
in the dataframe,map is not nil,but row is 0,

func (gps Groups) Aggregation(typs []AggregationType, colnames []string) DataFrame {
if gps.groups == nil {
return DataFrame{Err: fmt.Errorf("Aggregation: input is nil")}
}

Just judging whether “nil” is insufficient
Do you have any good suggestions or Could you fix this problem

@huotianyu huotianyu changed the title Group by After Groupby,executing Aggregation error Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant