Bob Ross's colors

Question

The following dataset captures the colors used in the episodes of The Joy of Painting. In each episode, Bob Ross teaches viewers how to create masterpieces by using a few simple tools and oil-based paint colors.

Given this data, create a table that shows each color used along with the number and percentage of episodes each color shows up in.

To help get you started, below is code (Python) to import the referenced dataset:

# Import libraries
import pandas as pd
import numpy as np
# Import data
df = pd.read_csv('https://raw.githubusercontent.com/erood/interviewqs.com_code_snippets/master/Datasets/bob_ross_paintings.csv')

Solution

Access restricted

Subscribe to premium account to see the solution.

Get premium now