You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It returns the same results when the column 'sale' is too big . It seems when the number is bigger than 1e+08 , this bug shows.
On ther other hand, the type of avg is scientific notation, but others are normal.
The text was updated successfully, but these errors were encountered:
It's not a bug. The latter f.sale refers to the column created by summarize with the first item, instead of the original column in the original data frame.
See the same behavior in R:
r$>data# A tibble: 6 × 2salebrand<dbl><chr>180000000000xiaomi290000000000xiaomi330000000000xiaomi420000000000huawei560000000000huawei670000000000huaweir$>data|> group_by(brand) |> summarise(sale= sum(sale), avg= mean(sale))
# A tibble: 2 × 3brandsaleavg<chr><dbl><dbl>1huawei1500000000001500000000002xiaomi200000000000200000000000
It returns the same results when the column 'sale' is too big . It seems when the number is bigger than 1e+08 , this bug shows.
On ther other hand, the type of avg is scientific notation, but others are normal.
The text was updated successfully, but these errors were encountered: