Aan de slagGa gratis aan de slag

Investigate the data

Great work so far! Now you know the key techniques to explore and prepare datasets for supervised machine learning models. You will now test your knowledge in practice. In this exercise, you will explore the key characteristics of the telecom churn dataset. You should run each line separately before submitting the assignment so you get valuable information about the dataset. The pandas module has been loaded for you as pd.

The raw telecom churn dataset telco_raw has been loaded for you as a pandas DataFrame. You can familiarize yourself with the dataset by exploring it in the console.

Deze oefening maakt deel uit van de cursus

Machine Learning for Marketing in Python

Cursus bekijken

Oefeninstructies

  • Print the data types of telco_raw.
  • Print the header of telco_raw.
  • Print the number of unique values in each telco_raw column.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Print the data types of telco_raw dataset
print(telco_raw.___)

# Print the header of telco_raw dataset
print(telco_raw.___())

# Print the number of unique values in each telco_raw column
print(telco_raw.___())
Code bewerken en uitvoeren