国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女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 豆包網頁版入口 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    久久久国产在线视频| 国产精品一区二区久久| 国产成人精品免费看在线播放| 青青精品视频播放| 亚洲欧美国产不卡| 久久国产精品久久久| 色噜噜久久综合伊人一本| 97碰碰碰免费色视频| 妓院一钑片免看黄大片| 欧美一级特黄aaaaaa在线看片| 区一区二区三区中文字幕| 国产精品视频免费一区| 精品国产一区二区三区四区vr | 欧美xxxx黑人又粗又长密月| 91免费视频网站在线观看| 99久久精品免费看国产四区| 91精品国产高清自在线| 91精品视频在线看| 日韩中文有码在线视频| 国产成人成网站在线播放青青| 亚洲国产精品久久久久婷蜜芽 | 久久亚洲精品无码va白人极品| 欧美牲交a欧美牲交aⅴ免费下载| 日韩av高清在线播放| 亚洲一区二区精品在线| 麻豆成人在线看| 久久精品在线视频| 国产精品美女无圣光视频| 久久久久久久久久久久久国产精品| 国产日韩在线亚洲字幕中文| 国产一区二区精品在线| 国产午夜精品一区| 国产在线观看91精品一区| 欧美不卡1区2区3区| 国产在线精品91| 国产免费一区二区三区在线观看 | 中文字幕99| 久久久国产视频91| 国产精品国模在线| 欧美精品在线第一页| 国产精品高清免费在线观看| 91av免费看| 国产精品69av| 久久男人资源视频| 国产成人一二三区| 日韩一区视频在线| 不卡av电影在线观看| 亚洲一区三区在线观看| 日产国产精品精品a∨| 欧美亚洲午夜视频在线观看| 激情五月宗合网| 99久久精品无码一区二区毛片| 久久久精品有限公司| 国产精品无码一区二区在线| 九色成人免费视频| 亚洲日本无吗高清不卡| 亚洲一区二区在| 日韩中文字幕在线不卡| 国内精品久久影院| 99在线精品免费视频| 日韩一区二区欧美| 国产精品久久久久久av下载红粉| 欧美日韩第一页| 日韩人妻无码精品久久久不卡| 国语对白做受xxxxx在线中国| 成人羞羞国产免费| 国产不卡av在线| 久久国产精品偷| 久久手机精品视频| 亚洲一区高清| 激情内射人妻1区2区3区| 国产日韩在线免费| 久久亚洲精品网站| 欧美一级片中文字幕| 国产尤物91| 精品国产一区二区三区久久| 亚洲图色在线| 狠狠色综合网站久久久久久久| av免费网站观看| 国产精品久久亚洲| 日韩av电影免费在线| 国产在线拍偷自揄拍精品 | 狠狠干一区二区| 77777亚洲午夜久久多人| 精品激情国产视频| 这里只有精品66| 欧美 日韩 国产 激情| 国产精品99免视看9| 色综合导航网站| 欧美日韩一区二区视频在线观看| 久久久久国产精品熟女影院| 懂色av一区二区三区在线播放| 97精品国产97久久久久久免费| 亚洲午夜精品国产| 91久久精品美女| 亚洲a级在线观看| 久久国产成人精品国产成人亚洲| 日韩av电影免费在线| 色噜噜狠狠狠综合曰曰曰| 欧美在线一区二区三区四| 久久久亚洲国产| 日本一区二区三区免费观看| 久久99精品久久久久久久青青日本 | 久久视频免费在线| 亚洲va韩国va欧美va精四季| 97精品国产97久久久久久| 天天在线免费视频| 久久精品免费一区二区| 欧美在线视频一区二区| 国产精品久久精品国产| 精品视频免费在线播放| 欧美精品国产精品日韩精品| 91精品视频免费| 日韩精品在线视频免费观看| 国产精品视频中文字幕91| 国产伦精品一区二区三区照片| 亚洲一区二区久久久久久| 国产freexxxx性播放麻豆| 欧美日韩国产三区| 精品福利影视| 国产极品尤物在线| 欧美日韩一区二区三区电影| 欧美黄网免费在线观看| 久久影院理伦片| 黄色高清视频网站| 精品久久一二三| 久久五月天婷婷| 加勒比成人在线| 亚洲直播在线一区| 色偷偷噜噜噜亚洲男人| 免费国产在线精品一区二区三区| 亚洲一区国产精品| 国产精品视频在线播放| 91精品国产91久久久| 麻豆av一区二区三区| 欧美一级免费视频| 欧美精品videos| 日韩视频第一页| 97成人精品视频在线观看| 黄页免费在线观看视频| 一卡二卡三卡视频| 国产精品日韩欧美| 国产二区视频在线播放| 国产免费观看久久黄| 欧美性在线观看| 午夜精品久久久久久久无码| 国产精品国产三级国产专播精品人 | 久久久久久网站| 免费在线一区二区| 亚洲91精品在线观看| 国产精品成av人在线视午夜片| 国产精品亚洲片夜色在线| 日韩视频一二三| 丁香六月激情婷婷| 在线视频91| 欧美成人第一页| 神马国产精品影院av| 久久综合精品一区| 国产精品一香蕉国产线看观看| 欧美在线视频二区| 日本午夜精品一区二区| 亚洲国产精品123| 欧美日韩国产91| 国产精品九九九| 精品国产区一区二区三区在线观看| 777午夜精品福利在线观看| 国产欧美日韩综合精品二区| 欧美诱惑福利视频| 日韩国产欧美一区| 日本高清不卡一区二区三| 亚洲高清123| 午夜免费久久久久| 午夜精品久久久久久99热| 中文字幕一区二区三区四区五区 | 日韩精品手机在线观看| 亚洲福利av在线| 美日韩精品视频免费看| 国产精品免费在线| 久久视频在线免费观看| 国产精品日韩欧美综合| 国产精品网址在线| 久久精品视频在线播放| 国产成人精品在线| 久久久精品国产网站| 久久精品国产亚洲| 国产精品天天av精麻传媒| 久久视频中文字幕| 国产精品久久久久福利| 国产精品久久久久久久久久| 国产精品偷伦免费视频观看的| 深夜福利国产精品| 久久九九有精品国产23| 国产精品视频999| 久久夜精品va视频免费观看| 精品国产乱码久久久久久郑州公司| 美女视频久久黄| 亚洲一区二区三区色| 无码人妻精品一区二区三区66 | 亚洲精品免费在线视频| 日韩av高清不卡|