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

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

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

時間:2024-10-21  來源:合肥網(wǎng)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



 

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

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

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    99精品在线免费视频| 国产极品在线视频| 欧美成人一区二区三区电影| 久久久久久久久亚洲| 97精品视频在线观看| www久久99| 9191国产视频| 国产ts一区二区| 啊v视频在线一区二区三区| 色黄久久久久久| 国产精品免费网站| 欧美成人精品在线观看| 一区二区三区四区免费视频| 午夜免费福利小电影| 日本精品性网站在线观看| 欧美日本国产精品| 国产综合av在线| 国产精品一区二区不卡视频| 91精品国产综合久久香蕉最新版 | av观看久久| 久久频这里精品99香蕉| 国产成人啪精品视频免费网| 国产精品久久久久久婷婷天堂| 九九热这里只有精品6| 日本视频一区在线观看| 国产亚洲精品网站| 国产成人高清激情视频在线观看| 国产精品精品视频| 欧美一级片一区| 国产又粗又爽又黄的视频| aaa免费在线观看| 国产成人免费高清视频| 午夜精品一区二区三区视频免费看| 欧美亚洲一级片| 99爱精品视频| 精品中文字幕在线2019| 日韩美女中文字幕| 国产精品一区久久久| 国产精品久久久久久久久粉嫩av| 欧美一区二区三区免费视| 国产在线一区二区三区播放| 国产成人精品优优av| 日本一欧美一欧美一亚洲视频| 国产在线观看一区二区三区| 日韩在线免费高清视频| 亚洲欧美一区二区原创| 欧美一区二区视频在线播放| 久久久97精品| 欧美专区第一页| 久久久久久久久久伊人| 日韩少妇内射免费播放| av在线不卡一区| 久久亚洲精品成人| 日韩少妇中文字幕| av日韩一区二区三区| 日韩亚洲精品视频| 在线观看成人一级片| 国产特级淫片高清视频| 国产v亚洲v天堂无码| 亚洲色欲综合一区二区三区| 美女黄毛**国产精品啪啪| 久久青草精品视频免费观看| 少妇人妻无码专区视频| 国产日韩欧美中文| 国产精品国产亚洲伊人久久| 国产一区二中文字幕在线看| 久久精品视频99| 欧美在线日韩精品| 精品国产一区二区三区久久狼5月| 日韩精品一区二区三区电影| 国产精品偷伦一区二区| 国产专区欧美专区| 久久久久久国产| 91久久国产精品| 日韩av大片在线| 国产精品99久久99久久久二8| 青青草影院在线观看| 久久夜色精品国产亚洲aⅴ| 国产女主播一区二区三区| 午夜老司机精品| 国产精品国模大尺度私拍| 国产精彩免费视频| 黄色片一级视频| 亚洲综合国产精品| 久久久av一区| 91精品久久久久久久| 精品人妻人人做人人爽| 日韩一级特黄毛片| 欧美精品在线视频观看| 久久久久久亚洲| 国产九色91| 国产一区视频在线| 欧美亚洲另类视频| 性欧美在线看片a免费观看| 在线观看日本一区| 久久综合亚洲社区| 国产精品免费一区二区| 久久99九九| 91精品视频专区| av免费观看网| 粉嫩av一区二区三区免费观看 | 中文字幕中文字幕在线中心一区| 久久人人爽人人爽爽久久 | 日韩精品一区二区三区色欲av| 午夜精品久久久久久久久久久久久 | 久久久久久久激情| 久久久久高清| 国产欧美韩日| 成人国产精品一区| 国产精品香蕉av| 波多野结衣成人在线| 国产精品一区二区久久精品| 精品视频无码一区二区三区| 免费看国产一级片| 国产精品自拍首页| 99精品免费在线观看| 波多野结衣精品久久| 91久久嫩草影院一区二区| 久久精品日产第一区二区三区精品版 | 国产精品自在线| 国产精品一区二区三区免费观看| 免费观看精品视频| 国产视频一区二区视频| av在线播放亚洲| 久久久久久综合网天天| 久久在精品线影院精品国产| 久久久久成人精品| 欧美一级淫片播放口| 精品欧美国产| 日本一本中文字幕| 欧美久久在线| 精品一区二区三区自拍图片区| 久久久久久久久久久久久久久久av | 日韩在线三级| 国模私拍视频一区| 日韩最新av在线| 亚洲欧洲日夜超级视频| 国产欧美日韩最新| www.日韩av.com| 黄色一级片黄色| 国产女女做受ⅹxx高潮| 欧美精品免费看| 欧美影院在线播放| 国产在线精品日韩| 午夜老司机精品| 国产精品久久久久久久电影| 久久精品美女| 三年中国中文在线观看免费播放 | 国产在线拍揄自揄视频不卡99| 欧美精品一区三区| 成人av一级片| 日本精品视频网站| 久久精品国产一区二区三区不卡 | 国产富婆一区二区三区| 欧美性受xxx| 国产伦精品一区二区三区高清版| 青青视频免费在线观看| 五月天综合婷婷| 视频一区在线免费观看| 国产精品国内视频| 国产精品视频xxxx| 色偷偷av一区二区三区| 蜜桃久久影院| 欧美日韩性生活片| 日韩精品 欧美| 黄色免费视频大全| 男人天堂手机在线视频| 色婷婷综合久久久久中文字幕| 久久精品国产v日韩v亚洲| www.久久撸.com| 精品无码av无码免费专区| 黄色大片在线免费看| 国产亚洲欧美另类一区二区三区| 国产精品美女呻吟| 久久久性生活视频| 欧洲成人免费视频| 在线播放 亚洲| 日本精品免费观看| 麻豆91av| 亚洲在线免费视频| 久久久久久久97| 国产淫片免费看| 大j8黑人w巨大888a片| 久久精品男人天堂| 粉嫩高清一区二区三区精品视频| 亚洲人久久久| 国产精品视频区| 97精品一区二区视频在线观看| 人偷久久久久久久偷女厕| 欧美精品在线网站| 91蜜桃网站免费观看| 欧美在线日韩精品| 亚洲精品国产一区| 国产精品免费一区二区| 97精品国产97久久久久久| 欧美亚洲色图视频| 亚洲 日韩 国产第一| 精品乱码一区二区三区| 国产国产精品人在线视| 国产免费黄视频|