I have a code chunk that uses DataFrame
combine() and that requires heavy computation for each group. I would like to see its progress such as out of
n groups… how many groups have finished the computation currently.
I found a couple of potential options to do so such as
However, it seems that many tutorials for those options are based on a for-loop approach or functions like
Below is a simple code that counts the number of observations by group
I wonder if there is a way to display some sort of progress of the DataFrame
combine() command in that code.
df = DataFrame(gr = rand(1:10, 100000)) @chain df begin groupby(:gr) combine(nrow) end