the image is a part of a data frame with the title, author, text_reviews_count and the ratings_counts about the book. The data frame is grouped by the author column.

the image is a part of a data frame with the title, author, text_reviews_count and the ratings_counts about the book. The data frame is grouped by the author column.

In this example, I named your data frame Book_Dataframe since I didn't have much to work with.
Book_Dataframe = Book_Dataframe.groupby(['Author'](['text_reviews_count'].sum().reset_index()
Book_Dataframe = Book_Dataframe[Book_Dataframe['Author'] == 'J.K. Rowling']
Book_Dataframe.head()