Search⌘ K

Challenge: String Filters

Explore how to apply string-based filters in Pandas to select data efficiently. This lesson guides you through filtering artist names containing a specific word and further narrowing results based on country criteria. Understand how to combine filtering methods to return a desired list from a dataset, enhancing your data manipulation skills for analytics interviews.

Problem definition

Your music data analyst is getting more curious; they want to know a list of all artists from the UK or Finland whose name contains the word The.

Expected output

...