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.
Este exercício faz parte do curso
Machine Learning for Marketing in Python
Instruções do exercício
- Print the data types of
telco_raw
. - Print the header of
telco_raw
. - Print the number of unique values in each
telco_raw
column.
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# 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.___())