text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

museums = pd.read_csv('../input/museums.csv').dropna(subset=['Revenue'])
museums = museums[museums.Revenue != 0]

zoos = museums['Revenue'][museums['Museum Type'] == 'ZOO, AQUARIUM, OR WILDLIFE CONSERVATION']
other = museums['Revenue'][museums['Museum Type'] != 'ZOO, AQUARIUM, OR WILDLIFE CONSERVATION']

plt.hist(other, alpha=0.5, label='other')
plt.hist(zoos, label='zoos')
plt.legend(loc='upper right')
plt.title('Revenus')