text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

calendar = pd.read_csv('../input/prague-airbnb/Prague_calendar.csv')
listings = pd.read_csv('../input/prague-airbnb/Prague_listings.csv')
reviews = pd.read_csv('../input/prague-airbnb/Prague_reviews.csv')

(calendar.shape, listings.shape, reviews.shape)

calendar = calendar[['listing_id', 'date', 'year', 'month', 'day', 'available', 'price', 'adjusted_price', 'minimum_nights', 'maximum_nights']]

calendar.dtypes

f'Número de imoveis listados: {len(calendar.listing_id.unique())}'

fig, ax = plt.subplots(1, 2, sharey=True)
ax[0].boxplot(calendar['price'])
ax[0].set_xlabel('Price')
ax[1].boxplot(calendar.adjusted_price)
ax[1].set_xlabel('Adjusted Price')
plt.show()