Pandas Groupby and sorting

I am not finding a way to organize the following dataframe in Pandas to show all information I need. I have the following dataframe: Fecha ID Nombre Doc Doc2 Prod Cantidad 0 2021-03-…