I have calculated using dask
by
from dask import dataframe
all_data = dataframe.read_csv(path)
total_sum = all_data.account_balance.sum()
The csv file has a column named account_balance
.
The total_sum
is a dd.Scalar
object, which seems to be difficult to change it to integer. How to get the integer version of it? or save it in a .txt
file containing the number is also ok.
I have also tried total_sum.compute()
.
Thanks.