Exercise: Get number of unique values

Get the number of unique observations in the 'Industry' column.
Hint: Use the unique() function to get all the different values, and then count them to see how many there are.
import pandas as pd df = pd.read_csv('/data/companies.csv') # get number of unique values of 'Industry' column
num_unique =
print(num_unique)
Python
Setting up Python environment...
Output