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

Call another time

You discover some patterns when you reshaped the DataFrame. Now, you want to unstack the DataFrame again. This time you will choose which level to unstack and reorganize your indices.

The same churn DataFrame is available for you. It contains data about minutes, calls, and charge for different times of the day, types of calls, and exited status.

Bu egzersiz

Reshaping Data with pandas

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

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Unstack the time level from churn
churn_time = churn.____(____=____)

# Print churn_time
print(churn_time)
Kodu Düzenle ve Çalıştır