Challenge: Summarize and Report Findings
Завдання
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 2
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Suggested prompts:
Can you explain this in simpler terms?
What are some examples related to this topic?
Where can I learn more about this?
Чудово!
Completion показник покращився до 5.56
Challenge: Summarize and Report Findings
Свайпніть щоб показати меню
Завдання
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.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 3. Розділ 2
single