IMDB data set is given-
Extract the unique genres and its count and store in data frame with index key.
please help me out how to store in data frame with index key. I am new to R.
I tried to create data frame but not able to get how to get index value? This is confusing me
unique values of genres
unique(df$Genre)
count of unique values of variable Genre
length(unique(df$Genre))
Extract the unique genres and its count and store in data frame with index key.