Data, Data Science, Data Analysis, Python, Analytics.
categories = pd.unique(data.room_type) print('The property categories registered in New York City are: ', categories) # The property categories registered in New York City are: ['Private room' 'Entire home/apt' 'Shared room'] # Calculating the percentage of properties by category percentage_housing