Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
genre_df= anime_list["genre"].str.get_dummies(sep=",")
num_genres = len(genre_df.columns)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment