# 19.3 seaborn reference

Source: https://ravindrabagale.com/mr/datascience/ch19-cheat-sheet/19-3-seaborn.html
Language: mr (Marathi with English technical terms)

योग्य columns असलेला df आधी तयार करा. Counts, status नुसार colors, amount चा sum आणि distribution हे वेगवेगळे उपयोग आहेत:

import seaborn as sns
sns.set_theme(style="whitegrid")
sns.countplot(data=df, x="city")
sns.countplot(data=df, x="city", hue="status")
sns.barplot(data=df, x="festival", y="amount", estimator="sum", errorbar=None)
sns.boxplot(data=df, x="festival", y="amount")

प्रत्येक स्वतंत्र chart साठी नवीन figure वापरा आणि शेवटी savefig करा.

रवींद्र बागले यांची tip

barplot मध्ये sum हवा असेल तर estimator="sum" द्या. Default mean वर राहिलं तर chart वेगळ्या प्रश्नाचं उत्तर देईल.
