Ao tentar executar o comando, conforme descrito:
filmes_sem_lingua_original_em_ingles = tmdb.query("original_language != 'en'").original_language.value_counts() sns.catplot(x = "original_language", kind="count", data = filmes_sem_lingua_original_em_ingles)
Surge a seguinte mensagem de erro:
ValueError Traceback (most recent call last) in <cell line: 2>() 1 filmes_sem_lingua_original_em_ingles = tmdb.query("original_language != 'en'").original_language.value_counts() ----> 2 sns.catplot(x = "original_language", kind="count", data = filmes_sem_lingua_original_em_ingles)
1 frames /usr/local/lib/python3.10/dist-packages/seaborn/categorical.py in establish_variables(self, x, y, hue, data, orient, order, hue_order, units) 539 if isinstance(var, str): 540 err = f"Could not interpret input '{var}'" --> 541 raise ValueError(err) 542 543 # Figure out the plotting orientation
ValueError: Could not interpret input 'original_language'