I want to define a function which returns the sliced dataframe for a country if the string matches the name of the country-however when I call the function I get the error f