डिस्ट्रिब्यूशन प्लॉट का उपयोग

इंटरमीडिएट Data Visualization with Seaborn

Chris Moffitt

Instructor

हिस्टोग्राम बनाना

  • displot फंक्शन में कई वैकल्पिक आर्ग्युमेंट होते हैं
  • आप हिस्टोग्राम पर KDE प्लॉट ओवरले कर सकते हैं और बिन्स की संख्या तय कर सकते हैं
sns.displot(df['alcohol'], kde=True, bins=10)

Seaborn हिस्टोग्राम उदाहरण

इंटरमीडिएट Data Visualization with Seaborn

वैकल्पिक डेटा डिस्ट्रीब्यूशन

  • रग प्लॉट, x-अक्ष पर छोटे टिकमार्क जोड़कर डेटा की डिस्ट्रीब्यूशन देखने का एक विकल्प है
  • आप kde कर्व और रग प्लॉट को साथ जोड़ सकते हैं
sns.displot(df['alcohol'], kind='kde', rug=True, fill=True)

Seaborn हिस्टोग्राम उदाहरण

इंटरमीडिएट Data Visualization with Seaborn

और प्लॉट प्रकार

  • displot फंक्शन अंदरूनी तौर पर kdeplot, rugplot और ecdfplot जैसी फंक्शन का उपयोग करता है
  • ecdfplot डेटा की cumulative distribution दिखाता है
sns.displot(df['alcohol'], kind='ecdf')

Seaborn हिस्टोग्राम उदाहरण

इंटरमीडिएट Data Visualization with Seaborn

अभ्यास करते हैं!

इंटरमीडिएट Data Visualization with Seaborn

Preparing Video For Download...