Question: Split list in Pandas dataframe I am working with TMDb movie Database and have a dataframe column for the movie genres. The column contains a

Split list in Pandas dataframe

I am working with TMDb movie Database and have a dataframe column for the movie genres. The column contains a list of movie genres for each movie (as most movies are assigned to multiple genres). This column contains multiple values separated by pipe (|) characters. How can I use Series to split it and use value_counts() to counts each genre to know Succesful Genres?

more info

https://www.kaggle.com/tmdb/tmdb-movie-metadata

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!