LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Intermediate Data Visualization with Seaborn

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

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

plt.show()
plt.clf()
Code bearbeiten und ausführen