MulaiMulai sekarang secara gratis

Jointplots and regression

Since the previous plot does not show a relationship between humidity and rental amounts, we can look at another variable that we reviewed earlier. Specifically, the relationship between temp and total_rentals.

Latihan ini adalah bagian dari kursus

Intermediate Data Visualization with Seaborn

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Plot temp vs. total_rentals as a regression plot
sns.____(x="temp",
         y="____",
         kind='____',
         data=df,
         order=____,
         xlim=(0, 1))

plt.show()
plt.clf()
Edit dan Jalankan Kode