Generation

generate functionWed, 18 Jan 2023

Count all value_counts in the decade pandas column of the dataview if the value in the rating column == 5.0

df = dataview[dataview['rating'] == 5.0] df['decade'].value_counts()

Questions about programming?Chat with your personal AI assistant