text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

import seaborn as sns

filepath = '../input/mysteryanimemanga/myanimelist-anime-mystery-detective-cleaned.csv'
df = pd.read_csv(filepath)

df.columns

genres = ['Gourmet', 'Sports', 'Adventure', 'Avant Garde', 'Supernatural', 'Suspense', 'Slice of Life', 'Sci-Fi', 'Horror', 'Comedy', 'Drama', 'Fantasy', 'Action']
df_genres = df[genres].sum()

df_genres.sort_values(ascending=False, inplace=True)

df_genres = df_genres[df_genres > 100]

fig = plt.figure(figsize=(10, 6))
ax = sns.barplot(x=df_genres.values, y=df_genres.index)
ax.set(ylabel='theme')
plt.show()