From the course: Complete Guide to Generative AI for Data Analysis and Data Science

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Challenge: Describing data

Challenge: Describing data

(upbeat music) - [Instructor] It's time for a challenge. Now we've been discussing how we can describe data and so in this challenge we're going to do some basic descriptions. We're going to use the grocery sales data set that's associated with this lesson. So given that dataset, let's create a prompt to generate a Python script that will do two things. It should calculate the mean and standard deviation of the cost per unit and the sales price per unit columns. In addition to that, we are going to calculate the mode of the product category. So again, the goal here is to create a prompt that will generate a script that will then produce for us the descriptive statistics that we have outlined here.

Contents