I have been trying to execute this line of code. But the execution time is very slow
data_gr = ( data.groupby(["sales"])["ID"] .ap