Challenge: Summarize and Report Findings
Tâche
Swipe to start coding
You are preparing a data report for a company's regional sales. Use the provided sales_data dataset to create a clear summary table that highlights key statistics for each region.
- Calculate the total sales and average sales for each region.
- Organize your results in a summary table with columns:
region,total_sales, andaverage_sales. - Assign your summary table to a variable named
summary_sales_table. - Do not print or display the table; just create and assign it.
- Do not use the same code structure as shown in previous examples (avoid
summarise(mean_value = mean(value))). - Focus on clarity and concise presentation of the statistics.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 2
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 5.56
Challenge: Summarize and Report Findings
Glissez pour afficher le menu
Tâche
Swipe to start coding
You are preparing a data report for a company's regional sales. Use the provided sales_data dataset to create a clear summary table that highlights key statistics for each region.
- Calculate the total sales and average sales for each region.
- Organize your results in a summary table with columns:
region,total_sales, andaverage_sales. - Assign your summary table to a variable named
summary_sales_table. - Do not print or display the table; just create and assign it.
- Do not use the same code structure as shown in previous examples (avoid
summarise(mean_value = mean(value))). - Focus on clarity and concise presentation of the statistics.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 2
single