Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def app():
|
|
19 |
# Calculate key metrics
|
20 |
total_orders = df['order_id'].nunique() #Write the appropriate function which can calculate the number of unique values
|
21 |
total_revenue = df['total_price'].sum() #Write a appropriate function which can sum the column
|
22 |
-
most_popular_size = df['pizza_size'].value_counts().idxmax #Write a appropriate function which can get the maximum value
|
23 |
most_frequent_category = df['pizza_category'].value_counts().idxmax() #Write a appropriate function which can count of value of each product
|
24 |
total_pizzas_sold = df['quantity'].sum()
|
25 |
|
|
|
19 |
# Calculate key metrics
|
20 |
total_orders = df['order_id'].nunique() #Write the appropriate function which can calculate the number of unique values
|
21 |
total_revenue = df['total_price'].sum() #Write a appropriate function which can sum the column
|
22 |
+
most_popular_size = df['pizza_size'].value_counts().idxmax() #Write a appropriate function which can get the maximum value
|
23 |
most_frequent_category = df['pizza_category'].value_counts().idxmax() #Write a appropriate function which can count of value of each product
|
24 |
total_pizzas_sold = df['quantity'].sum()
|
25 |
|