国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女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怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 wps 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国产在线一区二| 99www免费人成精品| 一区二区三区四区视频在线| 国产精品啪视频| 久久天天躁狠狠躁夜夜爽蜜月 | www.av蜜桃| 国产精品亚洲аv天堂网| 国产在线观看福利| 国产日韩一区二区| 国产伦精品一区二区三区精品视频| 国产尤物av一区二区三区| 欧美性在线视频| 精品少妇人欧美激情在线观看| 国精产品99永久一区一区| 国产在线精品成人一区二区三区| 国产欧美一区二区三区不卡高清 | 精品视频免费观看| 国产日韩欧美日韩大片| 国产精品中文字幕在线观看| 国产精品小说在线| 久久久综合av| 丝袜一区二区三区| 国产精品电影网| 一本久久a久久精品vr综合| 亚欧洲精品在线视频免费观看| 亚洲国产欧美一区二区三区不卡 | 97人人模人人爽人人喊38tv| 久久精品欧美| 久久天天躁狠狠躁老女人| 久久亚洲一区二区三区四区五区高| 精品国产免费av| 亚洲欧美国产精品桃花| 日韩av电影在线免费播放| 日韩国产欧美精品| 国产一区二区高清不卡| 91精品国产高清久久久久久久久| 国产va免费精品高清在线| 国产精品美女视频网站| 动漫3d精品一区二区三区| 欧美一级成年大片在线观看| 国产欧美日韩视频| 久草视频这里只有精品| 超在线视频97| 欧美一区二区色| 美女被啪啪一区二区| 91免费国产视频| 国产精品黄视频| 日本一区二区视频| 红桃一区二区三区| 91精品久久久久久久久中文字幕 | 精品福利影视| 日韩高清av| 国产乱人伦真实精品视频| 久久久久久久999精品视频| 欧美激情精品久久久久| 日韩女优在线播放| www.欧美日本| 国产精品美女在线| 日韩av电影免费播放| 国产欧美日韩在线播放| 日韩在线中文字幕| 亚洲影视九九影院在线观看| 欧美少妇一区| 91精品国产乱码久久久久久久久| 国产精品激情av电影在线观看| 手机看片日韩国产| yy111111少妇影院日韩夜片| 国产精品旅馆在线| 人体内射精一区二区三区| 91九色在线观看| 精品国产第一页| 黄色片视频在线免费观看| 国产高清不卡无码视频| 亚洲伊人第一页| 国产九九九九九| 国产精品国产亚洲精品看不卡 | 欧美欧美一区二区| 久久国产精品一区二区三区四区 | 久久精品欧美| 视频一区二区三区在线观看| 国产精品一区视频| 国产精品久久97| 欧美人成在线观看| 日韩有码在线观看| 日韩免费av在线| 久久9精品区-无套内射无码| 色综合电影网| 久久国产精品视频在线观看| 日韩中文字幕在线视频观看| 91精品91久久久久久| 亚洲三级一区| 91国视频在线| 岛国视频一区| 国产精品99久久久久久久| 亚洲乱码一区二区三区三上悠亚| 成人免费毛片网| 欧美日韩xxxxx| 国产精品一区二区三区不卡| 九九久久精品一区| 国产伦精品一区二区三区高清版| 国产精品第8页| 国产一区二中文字幕在线看| 精品蜜桃一区二区三区| 国产精品亚洲欧美导航| 亚洲区一区二区三区| 国产精品444| 热久久免费国产视频| 久久精品国产久精国产一老狼| 奇米影视亚洲狠狠色| 久久久精品一区二区三区| 国内精品一区二区三区四区| 国产精品美女诱惑| 国产欧美欧洲| 丁香五月网久久综合| 色偷偷91综合久久噜噜| 精品一区国产| 亚洲精品日韩成人| 日韩一二三在线视频播| 精品视频无码一区二区三区| 一本—道久久a久久精品蜜桃| 久久亚洲精品欧美| 欧美日本国产精品| 一区二区三区视频| 久久久久免费网| 国产视频福利一区| 性高潮久久久久久久久| 久久久久久九九九九| 麻豆av一区二区三区| 亚洲一区二区精品在线| 日韩中文字幕国产精品| 国产美女在线一区| 日本高清久久天堂| 国产精品成人av在线| 久久久最新网址| 国产日韩在线亚洲字幕中文| 日本午夜激情视频| 色中色综合影院手机版在线观看 | 日本一二三区视频在线| 久久色在线播放| 国产精品一区二区三区免费观看 | 亚洲精品偷拍视频| 国产精品成人久久电影| 久久青青草原| 蜜桃在线一区二区三区精品| 欧美一区二区三区免费视| 国产精品久久波多野结衣| 81精品国产乱码久久久久久 | 国产午夜福利在线播放| 日本精品久久久| 欧美日韩aaaa| 国产成人精品a视频一区www| 国模吧一区二区| 日韩中文字幕一区| 欧美精品第一页在线播放| www.久久撸.com| 97久久精品人搡人人玩| 黄色高清无遮挡| 日韩免费高清在线观看| 亚洲高清在线观看一区| 欧美成人中文字幕| www.日本久久久久com.| 久久综合毛片| 成人精品小视频| 国产欧美一区二区视频| 免费av网址在线| 日韩av高清不卡| 一道精品一区二区三区| 不卡av日日日| 国产精品久在线观看| 色青青草原桃花久久综合| 久久免费视频观看| 97干在线视频| 爱福利视频一区二区| 国产精品一区二区免费在线观看| 国内精品一区二区三区| 黄色一级大片免费| 精品人妻人人做人人爽| 欧美在线观看视频| 日韩视频在线免费看| 午夜精品一区二区三区视频免费看| 久久综合网hezyo| 国产精品免费一区二区三区在线观看| 久久久久免费精品国产| 国产福利精品av综合导导航| 91精品国产综合久久久久久久久| 成人短视频在线观看免费| 国产精品一区二区三区免费观看 | 精品国产中文字幕| 国产精品久久久久久av| 久久久久一区二区三区| 久久国产精品-国产精品| 久久久中精品2020中文| 国产精品 欧美在线| 久久精品午夜一区二区福利| 久久综合色视频| 久久理论片午夜琪琪电影网| 国产成人自拍视频在线观看| 久久久久在线观看| 久久天堂电影网| 国产精品第一页在线|