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

Calculate statistics of variables

We have created a pandas DataFrame called data for you with three variables: var1, var2 and var3.

You will now calculate average and standard deviation values for the variables, and also print key statistics of the dataset.

You can use the console to explore the dataset.

Bu egzersiz, kursun bir parçasıdır

Customer Segmentation in Python

Kursa Göz Atın

Egzersiz talimatları

  • Print the average values of the variables in the dataset.
  • Print the standard deviation of the variables in the dataset.
  • Describe the key statistics of the dataset.

Uygulamalı etkileşimli egzersiz

Bu egzersizi bu örnek kodu tamamlayarak deneyin.

# Print the average values of the variables in the dataset
print(____.____())

# Print the standard deviation of the variables in the dataset
print(____.____())

# Get the key statistics of the dataset
print(____.____())
Kodu Düzenle ve Çalıştır