image_output_1.png
import matplotlib.pyplot as plt
import seaborn as sns
new_price_df = price_df[price_df['pred_price_ratio'] < 4]
plt.figure(figsize=(10, 20))
sns.boxplot(x='interest_level', y='pred_price_ratio', data=new_price_df)
plt.title('Interest Level and Price / Predicted Price Ratio', fontsize=32)
plt.show()