国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代做3DA3 C02、Java/python編程代寫
代做3DA3 C02、Java/python編程代寫

時間:2024-10-21  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



Assignment 1, Commerce 3DA3 C02 - Predictive Data Analytics
To complete this assignment, please create a Jupyter notebook. The code in your jupyter notebook should provide answers to questions asked in the assignment. Please submit the assignment by uploading the file(s) into the "Assignment 1" folder on Avenue to Learn. You can find this folder under "Assessments>Assignments" on the course page. The deadline for submission is 11:59PM on Monday Oct. 21.
Background
In the past decade, we witnessed the rise of online grocery shopping. With the convenience of ordering groceries from the comfort of home, more people are turning to digital platforms for their everyday needs. This shift has been further fueled by factors such as busy lifestyles, the increasing use of mobile devices, and the covid-19 pandemic, which underscored the importance of contactless shopping.
For online grocery platforms, conducting data analysis on sales records is critical for understanding customer behavior, enhancing the overall shopping experience, and make data-driven decisions that lead to higher customer satisfaction and profitability.
Data: We will make use of two datasets from the transaction records of an online grocery delivery platform, stored in the files orders.csv (click to download) and order_products.csv (click to download).
The dataset in orders.csv includes the following columns:
order_id: This is the unique identifier of every customer order
customer_id: This is the unique identifier of every customer who placed the order order_dow: This indicates the day of the week, on which the order took place. 0 stands for Sunday, **5 indiates Monday-Friday, and 6 indicates a Saturday. order_hour_of_day: This indicates during which hour the order took place; for example, 14 indicates that the order was placed between 14:00 and 14:59. days_since_prior_order: This indicates how many days have passed since the customer's last order
coupon_use: This shows if the customer used a coupon to (partially) pay for the order
The dataset in order_products.csv records which products are purchased in an order. It

 includes the following columns:
order_id: This is the order idenfitier (same as in order.csv).
product_id: This is the identifier of a product that is purchased in the corresponding order.
quantity: This is the quantity of the product purchased in the corresponding order. unit_price: This is the unit price (in dollars) of the product purchased in the corresponding order.
customer_id: This is the identifier of the customer who purchased the product.
Please note that order_id in order_products.csv does not need to be unique. If two rows in order_products.csv share the same order_id, it means that in the same order, the products in those two rows are both purchased.
For example, suppose that the following row exists in order.csv:
order_id customer_id order_dow order_hour_of_day days_since_prior_order coupon_u
O1234 C6217 2 10 11 yes and the following two rows exist in order_products.csv:
         order_id
O1234
O1234
product_id quantity
P0217 1
P0219 2
unit price customer_id
9.99 C6217
19.99 C6217
         then we know that in the same order (order_id O1234), 1 unit of product P0217 and 2 units of product P0219 are purchased. And this order O1234 is the same order as the order O1234 in order.csv.
Imagine that you are a data analyst at the grocery delivery platform. Based on the datasets, please answer the following questions/tasks.
Questions 0.
In the first cell of your Jupyter notebook, please create the following as markdown. Add your first and last name, and your Student ID.
se

  Important: For the remaining questions, please make sure to create a markdown cell before you answer each question and in it indicate the question number, e.g., Question 1, Question 2, etc.
For each question, you should use one or more code cells to present your codes. Please make sure that you run each cell and display all the requested results. Please also ensure that you will use markdown cells to provide necessary explanations of your codes and results.
The Jupyter notebook should be a easy-to-read report that presents your analysis and results. The grading will be based on both the correctness of your coding and the readability of your notebook.
Question 1.
Import the two .csv files and assign them to a dataframe called df_orders and df_order_products , respectively. Then,
use a line of codes to review the first few rows of the dataframes. The result should be clearly displayed in the notebook after you run the code cells.
get the structures of the dataframes (number of rows, column types, etc.) using the
info() function. Review the first few rows of the dataframe.
In a markdown cell,explain the results returned by this function as comprehensive as you
can..
Question 2.
For the DataFrame df_orders loaded from orders.csv, perform the following steps in the given order.
1. Find how many missing value each column contains.
2. For any missing value in the column   , replace it with 'unknown_order'
3. For any missing value in the column   , replace it with
     'unknown_customer'
order_id
customer_id

 4. For any missing value in the column   , replace it with the mean value of the column
5. After completing the above steps, repeat the codes in Step 1 to check again the number of missing values in each column
6. For any remaining missing values, drop all rows containing a missing value
Question 3.
The grocery delivery platform is interested in assessing if offering coupons will increase customers' purchase frequency. To that end, let us again make use of the DataFrame
df_orders (loaded from orders.csv) to perform the following tasks.
1. Select all rows in df_orders where use of a coupon is yes , and assign those rows as a new DataFrame named df_orders_coupon .
2. Calculate the mean value of 'days_since_prior_order' in df_orders_coupon .
3. Select all rows in where use of a coupon is no , and assign those rows
as a new DataFrame named .
4. Calculate the mean value of 'days_since_prior_order' in df_orders_no_coupon .
Based on your findings of the above steps, answer the following question in a markdown cell:
Is the use of coupon associated with higher/lower order frequency? Please briefly explain your answer in the markdown cell.
Questions 4.
The platform is also interested in measuring the total number of orders received on each day of the week. To do this, they would like you to complete the following tasks.
Divide the order id's in the 'order_id' column of the DataFrame df_orders (loaded from orders.csv) into groups, based on the day of the week ('order_dow') when the order is placed. The result should be a Groupby object.
Construct and display the content of a pandas Series, which should show the total number of orders for each day of the week.
Question 5.
As observed, each row of the data in order_products.csv is the sales information of a product in a certain order. The information includes the per-unit price and number of units ordered, but it does not directly provide the revenue.
     df_orders
 df_orders_no_coupon
   days_since_prior_order

 Let us now create a new column named 'revenue' in the DataFrame df_order_products constructed from order_products.csv. For each row, the
column should contain the corresponding revenue, calcuated as 'quantity'×'unit price'. See the following two-row example for a demonstration.
order_id product_id quantity unit_price customer_id revenue
O1234 P0217 1 9.99 C6217 9.99
O1234 P0219 2 19.99 C621**9.98
After you have added the new column, further complete the following tasks:
Display the first few rows of the updated df_order_products DataFrame. Calculate the total revenue by summing up revenues in each row.
Question 6
From time to time, there will be customers who would like to review their purchase record. To do that, they will need to supply their customer id.
Suppose a customer with the id '0421MWMT' just contacted Customer Service and would like to see all their purchases. Perform the following tasks for the customer.
Select all rows related to this customer's purchases in the DataFrame df_order_products (loaded from order_products.csv), and assign them to a
new DataFrame named 'df_cust_inquiry'. Display the content of this DataFrame. Calculate the customer's total purchase in dollar amount.
              
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp



 

掃一掃在手機打開當前頁
  • 上一篇:INT 404代做、代寫Matlab程序設計
  • 下一篇:代寫CS 551、代做C/C++編程語言
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 豆包網頁版入口 破天一劍 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    成人黄色一区二区| 久热国产精品视频一区二区三区| 国产毛片久久久久久国产毛片| 日韩一区二区三区在线播放| 精品九九九九| 男人天堂新网址| 九色自拍视频在线观看| 亚洲国产精品视频一区| 国产剧情日韩欧美| 久久不射电影网| 蜜桃视频在线观看91| 国产精品入口夜色视频大尺度| 欧洲久久久久久| 91国产丝袜在线放| 亚洲图片欧洲图片日韩av| 国产欧美精品一区二区三区| 欧美大胆在线视频| 精品少妇人欧美激情在线观看 | 欧美亚洲在线观看| 国产av熟女一区二区三区| 欧美一区二区三区在线播放| 91久久久久久久久久| 亚洲 日韩 国产第一| 91久久精品日日躁夜夜躁国产| 伊人天天久久大香线蕉av色| www国产精品内射老熟女| 精品国产免费久久久久久尖叫 | 蜜桃av噜噜一区二区三区| 国产精品久久久久久久久久99| 黄色网在线视频| 国产精品久久久久久网站| 国产最新精品视频| 欧美精品在线观看91| 高清无码视频直接看| 伊人久久大香线蕉精品| 91免费精品国偷自产在线| 熟妇人妻va精品中文字幕| 国产免费一区| 日韩女优在线播放| 国产精品视频二| 国产精品一区二区a| 精品九九九九| 成人精品在线视频| 亚洲一区二区三区加勒比| 成人91免费视频| 午夜欧美大片免费观看| 久久国产手机看片| 欧美伊久线香蕉线新在线| 久久久精品国产亚洲| 国产在线视频2019最新视频| 中文字幕不卡每日更新1区2区| 99www免费人成精品| 午夜精品久久久久久99热软件| 成人国产精品日本在线| 亚洲 自拍 另类小说综合图区| 国产成人在线播放| 欧美激情亚洲天堂| 精品成在人线av无码免费看| 91精品视频播放| 欧美一二三区| 欧美精品久久久久久久久久| …久久精品99久久香蕉国产| 日韩久久久久久久久久久久| 精品久久久久久一区二区里番| 91精品国产乱码久久久久久久久 | 久久久成人av| 国产在线视频不卡| 亚洲欧美99| 久久久国产91| 91精品在线国产| 欧美高清性xxxxhdvideosex| 一区二区视频在线观看| 日韩专区在线播放| 国产裸体舞一区二区三区| 日本不卡视频在线播放| 精品卡一卡二| 久久精品国产综合精品| 国产日韩一区欧美| 日韩a在线播放| 久久亚洲精品小早川怜子66| 88国产精品欧美一区二区三区| 欧美在线视频观看免费网站| 欧美成人亚洲成人日韩成人| 国产超级av在线| 国精产品99永久一区一区| 欧美一级免费在线观看| 欧美激情欧美激情在线五月| 国产成人生活片| 91精品国产高清久久久久久久久| 激情综合在线观看| 日本黄网站免费| 亚洲在线免费视频| 久久综合免费视频| 日韩视频精品在线| 久章草在线视频| 国产欧美日韩精品在线观看| 欧美精品在欧美一区二区| 亚洲一区二区三区777| 国产精品人人做人人爽| 国产a级片免费观看| www.av一区视频| 国产在线xxxx| 男人天堂成人网| 青青在线免费视频| 日本精品视频在线| 亚州精品天堂中文字幕| 国产精品成人播放| 丝袜美腿精品国产二区| 久热免费在线观看| 99久久99久久精品国产片| 国产综合久久久久| 欧美日韩福利在线| 亚洲国产高清国产精品| 国产aaa精品| 欧美精品一区二区免费| 国产精品区免费视频| 久久久久久久影院| 国产高清免费在线| 久久久亚洲天堂| 97碰碰碰免费色视频| 国产精品自拍偷拍| 国产免费一区二区三区在线观看 | 国产伦精品一区二区三区| 国产日韩欧美二区| 国产人妻人伦精品| 国产欧美日韩亚洲| 国产精品伊人日日| 成人a免费视频| 99视频国产精品免费观看| 国产精品一区二区三区在线观| 国产欧美在线播放| 国产乱肥老妇国产一区二| 国产精品一区二区久久国产| 成人精品在线观看| 97精品在线观看| 99精品人妻少妇一区二区| 9a蜜桃久久久久久免费| 成人精品水蜜桃| 91精品视频在线播放| 久久一区免费| 久久久久久久亚洲精品| 久久久精品在线| 欧美精品在线播放| 亚洲图色在线| 五月天综合婷婷| 日韩不卡av| 欧美亚洲成人网| 国产有码在线一区二区视频| 国产欧美在线一区二区| 99精品在线直播| 国产精品 日韩| 久久久久亚洲av无码专区喷水| 色狠狠久久aa北条麻妃| 国产精品人成电影| 美女精品久久久| 天堂一区二区三区| 欧美日本国产精品| 国产欧美精品一区二区三区| 91精品国产综合久久久久久丝袜| 久久99九九| 欧美成人性色生活仑片| 亚洲色图都市激情| 青草视频在线观看视频| 国模精品系列视频| 97成人在线视频| 久久久久久久影院| 精品久久久久久综合日本| 亚洲精品高清视频| 欧美国产综合在线| 91久色国产| 国产精品视频成人| 在线免费一区| 日韩精品av一区二区三区| 国产自产精品| 久久视频在线观看中文字幕| 国产精品美女视频网站| 亚洲欧美久久久久一区二区三区| 欧美污视频久久久| 97人人干人人| 国产精品美女诱惑| 亚洲精品欧洲精品| 欧美日韩亚洲免费| 91精品久久久久久久久久久| 国产精品涩涩涩视频网站| 亚洲v日韩v欧美v综合| 免费看a级黄色片| 国产国语刺激对白av不卡| 久久国产精品久久久久| 日韩精品视频一区二区在线观看 | 欧美精品一区二区三区三州| 成人91免费视频| 久久精品成人欧美大片古装| 欧美人与性动交a欧美精品| 日韩精品手机在线观看| 99中文字幕| 国产精品久久久| 日本一区二区高清视频| 成人免费视频a| 国产精品久久久久91| 热久久99这里有精品|