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()

Want to kickstart your project?Use the new AI Studio to create your code