सांख्यिकीय प्लॉटिंग

Matplotlib के साथ डेटा विज़ुअलाइज़ेशन परिचय

Ariel Rokem

Data Scientist

बार चार्ट में एरर बार जोड़ना

fig, ax = plt.subplots()

ax.bar("Rowing",
       mens_rowing["Height"].mean(),
       yerr=mens_rowing["Height"].std())

ax.bar("Gymnastics",
       mens_gymnastics["Height"].mean(),
       yerr=mens_gymnastics["Height"].std())

ax.set_ylabel("Height (cm)")

plt.show()
Matplotlib के साथ डेटा विज़ुअलाइज़ेशन परिचय

बार चार्ट में एरर बार

Matplotlib के साथ डेटा विज़ुअलाइज़ेशन परिचय

प्लॉट में एरर बार जोड़ना

fig, ax = plt.subplots()

ax.errorbar(seattle_weather["MONTH"],
            seattle_weather["MLY-TAVG-NORMAL"],
            yerr=seattle_weather["MLY-TAVG-STDDEV"])

ax.errorbar(austin_weather["MONTH"],
            austin_weather["MLY-TAVG-NORMAL"],
            yerr=austin_weather["MLY-TAVG-STDDEV"])

ax.set_ylabel("Temperature (Fahrenheit)")

plt.show()
Matplotlib के साथ डेटा विज़ुअलाइज़ेशन परिचय

प्लॉट में एरर बार

Matplotlib के साथ डेटा विज़ुअलाइज़ेशन परिचय

बॉक्सप्लॉट जोड़ना

fig, ax = plt.subplots()

ax.boxplot([mens_rowing["Height"], mens_gymnastics["Height"]])
ax.set_xticklabels(["Rowing", "Gymnastics"]) ax.set_ylabel("Height (cm)") plt.show()
Matplotlib के साथ डेटा विज़ुअलाइज़ेशन परिचय

बॉक्सप्लॉट की व्याख्या

Matplotlib के साथ डेटा विज़ुअलाइज़ेशन परिचय

खुद आज़माएँ!

Matplotlib के साथ डेटा विज़ुअलाइज़ेशन परिचय

Preparing Video For Download...