BaşlayınÜcretsiz Başlayın

Using a pairplot

The pairplot() function is generally a more convenient way to look at pairwise relationships. In this exercise, we will create the same results as the PairGrid using less code. Then, we will explore some additional functionality of the pairplot(). We will also use a different palette and adjust the transparency of the diagonal plots using the alpha parameter.

Bu egzersiz

Intermediate Data Visualization with Seaborn

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Create a pairwise plot of the variables using a scatter plot
sns.___(data=df,
        ___=["fatal_collisions", "premiums"],
        kind='___')

plt.show()
plt.clf()
Kodu Düzenle ve Çalıştır