Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
10 views
Python Project
Project for python
Uploaded by
poojasharmagwl1409
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Python project For Later
Download
Save
Save Python project For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
10 views
Python Project
Project for python
Uploaded by
poojasharmagwl1409
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Python project For Later
Carousel Previous
Carousel Next
Save
Save Python project For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 7
Search
Fullscreen
6111123, 9:24 PM In [4]: import pandas as pd import numpy as np Iphone sales analysis -Jupyter Notebook import plotly.express as px import plotly.graph_objects as go In [5]: data = pd.read_csv(“apple_products.csv") print(data.head()) RUNHS @ https: //www.flipkart.com/apple-iphone-8-plus-g... (https: //www.flipkart. Product Name \ m/apple-iphone-8-plus-g...) Apple 1 https: //www.flipkart m/apple-iphone-8-plus-s Yea. flipkart. m/apple-iphone-8-plus-s ww. flipkart. /apple-iphone-8-silver ww. flipkart. m/apple-iphone-8-gold-2 2 https: 3 https: 4 https: APPLE iPhone 8 Plus (Gold, 64 GB) APPLE iPhone 8 Plus (Space Grey, APPLE iPhone 8 Plus (Silver, APPLE iPhone 8 (Silver, APPLE iPhone 8 (Gold, 256 GB) 256 GB) 256 GB) 256 GB) Product URL Brand Sale Price \ 49900 con/apple-iphone-8-plus-s +) Apple 84900 con/apple-iphone-8-plus-s -) Apple 84900 -con/apple-iphone-8-silver. -) Apple 77000 -con/apple-iphone-8-gold-2... -) Apple 7008 Mrp Discount Percentage Number Of Ratings 49900 84900 84900 77008 77000 RUNS Upe MOBEXRGV7EHHTGUH MOBEXRGVACGTITAF MOBEXRGVGETABXWZ MOBEXRGVMZWUHCBA MOBEXRGVPK7PFEIZ RUNS coooe Star Rating 4.6 Baas Ram 268 2 6B 2 6B 2B 2 6B 3431 3431 3431 11202 11202 cee (https://www.flipkart. ses (bttps://wiw.flipkart. Number OF Reviews \ 356 356 356 794 794 (https: //www. flipkart. (https: //www. flipkart. Before moving forward, let's have a quick look at whether this dataset contains any null values or not: localhost 8889inotebooks/Documents/Untiled Foldr/swati programs/Youtube 30 days pylhoniphone sales analysis ipynb wr911123, 924 Pm iphone sales analysis -Jupyter Notebook In [6]: print(data.isnul1().sum()) Product Name Product URL Brand Sale Price Mp Discount Percentage Number Of Ratings Number Of Reviews upc star Rating Ram dtype: intea eseces0s000 The dataset doesn't have any null values, Now, let's have a look at the descriptive statistics of the data: In [7]: print(data.describe()) Sale Price Mrp Discount Percentage Number Of Ratings \ count, 62.000000 62.000000 62.000000 62.000000 mean 80073.887097 88058.064516 9.951613 22420 .403226 std 34310.446132 34728.825597 7.608079 33768589550 min 29999.@e¢¢@@ © 39900.e00000 2.200000 542.000000 25% -49900.e00000 © 54900. 000000 6.000000 740.0000 50%
[email protected]
79900. 000000 10.000000 2101.000000 75% 117100.eeee@ 120950.e00000 14,000000 43470.200000 max
[email protected]
@@¢¢@ 149900. 000000 29.000000 95909. 2¢0000 Number Of Reviews Star Rating count 62.000008 62. 900008 mean 1861.677419 4.575806 std 2855.883830 0.059190 min 42.000088 © 4, 5¢e800 25% 64.00000a © 4. 500000 50% 180.000008 © 4.600000 75K 3331.000000 © 4. 620000 max 8161.000000 4. 720000 iPhone Sales Analysis in India Now | will create a new dataframe by storing all the data about the top 10 highest-rated iPhones in India on Flipkart. It will help in understanding what kind of iPhones are liked the most in India: localhost 8889inotebooks/Documents/Untiled Foldr/swali programs/Youtube 30 days pylhoniiphone sales analysis ipynb6111128, 324 PM Iphone sales analysis -Jupyter Notebook In [8]: highest_rated = data.sort_values(by=["Star Rating"], ascending-False) highest_rated = highest_rated.head(1¢) print(highest_rated[ ‘Product Name’ ]) 28 APPLE iPhone 11 Pro Max (Midnight Green, 64 GB) wv APPLE iPhone 11 Pro Max (Space Grey, 64 GB) 16 APPLE iPhone 11 Pro Max (Midnight Green, 256 GB) 4s APPLE iPhone 11 Pro Max (Gold, 64 GB) 4 APPLE iPhone 11 Pro Max (Gold, 256 GB) e APPLE iPhone 8 Plus (Gold, 64 GB) 29 APPLE iPhone 12 (White, 128 GB) 32 APPLE iPhone 12 Pro Max (Graphite, 128 GB) 35 APPLE iPhone 12 (Black, 128 GB) 36 APPLE iPhone 12 (Blue, 128 GB) Name: Product Name, dtype: object Now let's have a look at the number of ratings of the highest-rated iPhones on Flipkart: localhost 8889inotebooks/Documents/Untiled Foldr/swati programs/Youtube 30 days pylhonliphone sales analysis ipynb a76111123, 9:24 PM In [9]: localhost 8889inotebooks/Documents/Untiled Foldr/swali programs/Youtube 30 days pylhoniiphone sales analysis ipynb Iphone sales analysis -Jupyter Notebook highest_rated[ "Product Name"].value_counts() label = iphones. index counts = highest_rated{ "Number Of Ratings"] figure = px.bar(highest_rated, x=label, y = counts, title="Number of Ratings of Highest Rated iPhones") Figure. show() iphones Number of Ratings of Highest Rated iPhones 309 2 200 5 3 = so00 dl Fey Maye Miyg Vag Pg am 6g Egy Pp, Op, eg Cup gy Pip, Me Png tng Pag Mn nore on rena e Lap Lm a Ua Ua Bry. ay ay, "my, Mg ig ig, ty, toy, Mtg According to the above bar graph, APPLE iPhone 8 Plus (Gold, 64 GB) has the most ratings on Flipkart. Now let's have a look at the number of reviews of the highest-rated iPhones on Flipkart: an6111123, 9:24 PM In [10]: Iphone sales analysis -Jupyter Notebook highest_rated[ "Product Name"].value_counts() label = iphones. index counts = highest_rated{ "Number Of Reviews] figure = px.bar(highest_rated, x=label, y = counts, title="Number of Reviews of Highest Rated iPhones") igure. show() iphones Number of Reviews of Highest Rated iPhones g 300 2 3 & = 200 5 g E100 ong 4) 4 4 4s Vay ey 4 VP, Pa = Pa ip, iy” Si, em ip, Grp ‘Sip Cp ny hong ma hang Phang Phan, Phan, hag, hog, ap ag try tap Slay 8m day lap oy ny" my ny Sie Why, Pro Mo, Ma, Min, My, Ma, Coy, Meo. APPLE iPhone 8 Plus (Gold, 64 GB) is also leading in the highest number of reviews on Flipkart among the highest-rated iPhones in India, Now let's have a look at the relationship between the sale price of iPhones and their ratings on Flipkart localhost 8889inotebooks/Documents/Untiled Foldr/swali programs/Youtube 30 days pylhoniiphone sales analysis ipynb6111128, 324 PM Iphone sales analysis -Jupyter Notebook In [11]: figure = px.scatter(data_frame = data, x="Number OF Ratings”, ‘Sale Price”, size="Discount Percentage”, trendline="ols", "Relationship between Sale Price and Number of Rating figure. show() Relationship between Sale Price and Number of Ratings of iPhone 140k 120k 100k 80k Sale Price 60k 40k There is a negative linear relationship between the sale price of iPhones and the number of ratings. It means iPhones with lower sale prices are sold more in India. Now let's have a look at the relationship between the discount percentage on iPhones on Flipkart and the number of ratings: Relationship Between Discount Percentage & Number of ratings of iphone localhost 8889inotebooks/Documents/Untiled Foldr/swali programs/Youtube 30 days pylhoniiphone sales analysis ipynb or6111128, 324 PM Iphone sales analysis -Jupyter Notebook In [12]: figure = px.scatter(data_frame = data, x="Number OF Ratings", Discount Percentage", size="Sale Price", trendline="ols", title="Relationship between Discount Percentage and Number Figure. show() Relationship between Discount Percentage and Number of Rating: 30 e 25 20 e - 8 ° » 6 Discount Percentage Summary APPLE iPhone 8 Plus (Gold, 64 GB) was the most appreciated iPhone in India iPhones with lower sale prices are sold more in India iPhones with high discounts are sold more in India localhost 8889inotebooks/Documents/Untiled Foldr/swali programs/Youtube 30 days pylhoniiphone sales analysis ipynb W
You might also like
App Rating Prediction Project
PDF
100% (5)
App Rating Prediction Project
14 pages
The Mobile Marketers Guide To App Store Ratings and Reviews
PDF
0% (1)
The Mobile Marketers Guide To App Store Ratings and Reviews
55 pages
iphone sales analysis by Nomaan Galiyara.ipynb - Colaboratory
PDF
No ratings yet
iphone sales analysis by Nomaan Galiyara.ipynb - Colaboratory
5 pages
Python Assignment
PDF
20% (5)
Python Assignment
3 pages
Google Play Store Apps
PDF
No ratings yet
Google Play Store Apps
63 pages
BS Report
PDF
No ratings yet
BS Report
23 pages
Predictive Analytics of Product Quality in Industry 4.0
PDF
No ratings yet
Predictive Analytics of Product Quality in Industry 4.0
9 pages
iPhone Sales Ppt
PDF
No ratings yet
iPhone Sales Ppt
8 pages
E-Commerce Business Flipkart
PDF
No ratings yet
E-Commerce Business Flipkart
18 pages
How Can Flipkart - Com Data Scraping Revolutionize Market Research Efforts
PDF
No ratings yet
How Can Flipkart - Com Data Scraping Revolutionize Market Research Efforts
7 pages
I Revolution
PDF
No ratings yet
I Revolution
4 pages
Data analysis and interpretation 2
PDF
No ratings yet
Data analysis and interpretation 2
21 pages
Classification of Shopify App User Reviews Using Novel Multi Text Features
PDF
No ratings yet
Classification of Shopify App User Reviews Using Novel Multi Text Features
11 pages
Flipkart
PDF
No ratings yet
Flipkart
11 pages
C Book Be8a98c4dc6649ce 0708-1406FK REQ9LX9XOKE23
PDF
No ratings yet
C Book Be8a98c4dc6649ce 0708-1406FK REQ9LX9XOKE23
239 pages
Imtiaz Sp23mbai0005 Quiz1
PDF
No ratings yet
Imtiaz Sp23mbai0005 Quiz1
4 pages
Assgn
PDF
No ratings yet
Assgn
6 pages
Feature Level Review Table Generation For E-Commer
PDF
No ratings yet
Feature Level Review Table Generation For E-Commer
7 pages
Chi Table
PDF
No ratings yet
Chi Table
13 pages
FlipKart Case Study
PDF
No ratings yet
FlipKart Case Study
17 pages
Web Scraping - Samsung Mobiles Data from Flipkart
PDF
No ratings yet
Web Scraping - Samsung Mobiles Data from Flipkart
33 pages
Amazon Sales Data Analysis
PDF
No ratings yet
Amazon Sales Data Analysis
32 pages
Rating Prediction
PDF
No ratings yet
Rating Prediction
20 pages
Code of The Project
PDF
No ratings yet
Code of The Project
10 pages
NextLeapLIPChallenge 2 SouravSingh f0e686fa 5d3a 4790 b769 6ed2030d5e83
PDF
No ratings yet
NextLeapLIPChallenge 2 SouravSingh f0e686fa 5d3a 4790 b769 6ed2030d5e83
13 pages
Group 7 Flipkart Mid Term Presentation
PDF
No ratings yet
Group 7 Flipkart Mid Term Presentation
29 pages
CC Project
PDF
No ratings yet
CC Project
11 pages
c Shirt 529dd06b06cd42b4 1702-1627fk Reqe9qjjvlalh
PDF
No ratings yet
c Shirt 529dd06b06cd42b4 1702-1627fk Reqe9qjjvlalh
65 pages
Presentation
PDF
No ratings yet
Presentation
17 pages
General Guidelines Catalog Template Guidelines: Step 1: Understand The Template
PDF
No ratings yet
General Guidelines Catalog Template Guidelines: Step 1: Understand The Template
69 pages
C T-Shirt 7e9d2e51b6d54918 3103-1824FK REQYALKQENIOJ
PDF
No ratings yet
C T-Shirt 7e9d2e51b6d54918 3103-1824FK REQYALKQENIOJ
93 pages
C Kurta 88b5d84911144a66 1109-0228FK REQY3LTFYQY6X
PDF
No ratings yet
C Kurta 88b5d84911144a66 1109-0228FK REQY3LTFYQY6X
64 pages
An Assignment On Operation Process of Flipkart
PDF
No ratings yet
An Assignment On Operation Process of Flipkart
11 pages
Comparing Mobile Apps by Identifying 'Hot' Features
PDF
No ratings yet
Comparing Mobile Apps by Identifying 'Hot' Features
11 pages
SM Khushbu
PDF
No ratings yet
SM Khushbu
17 pages
sentiment-analysis
PDF
No ratings yet
sentiment-analysis
11 pages
Final Report
PDF
No ratings yet
Final Report
24 pages
C Shopsy-watch d15dd8cd1b8a42f3 2312-1120FK REQJJ2HOH9JHY
PDF
No ratings yet
C Shopsy-watch d15dd8cd1b8a42f3 2312-1120FK REQJJ2HOH9JHY
66 pages
Projects
PDF
No ratings yet
Projects
31 pages
Apps Rating Prediction
PDF
No ratings yet
Apps Rating Prediction
51 pages
Presented by
PDF
No ratings yet
Presented by
17 pages
Google Play Store Analysis
PDF
No ratings yet
Google Play Store Analysis
3 pages
Polarity Categorization On Product Reviews
PDF
No ratings yet
Polarity Categorization On Product Reviews
4 pages
Flipkart APM Deck 1652933673
PDF
No ratings yet
Flipkart APM Deck 1652933673
9 pages
Flipkart is a leading
PDF
No ratings yet
Flipkart is a leading
9 pages
Microeconomics
PDF
No ratings yet
Microeconomics
16 pages
Identifying Significance of Product Features
PDF
No ratings yet
Identifying Significance of Product Features
18 pages
AIP - Stage - 2 - Submission - Group - 13
PDF
No ratings yet
AIP - Stage - 2 - Submission - Group - 13
11 pages
social media analysis (1)
PDF
No ratings yet
social media analysis (1)
10 pages
Week 10 - Simran Report
PDF
No ratings yet
Week 10 - Simran Report
6 pages
Sentiment_Analysis_on_E-commerce_Product_using_Mac
PDF
No ratings yet
Sentiment_Analysis_on_E-commerce_Product_using_Mac
6 pages
Comsats University Islamabad Wah Campus (Project Report) : Submitted by
PDF
No ratings yet
Comsats University Islamabad Wah Campus (Project Report) : Submitted by
14 pages
Flipkart - Google Search
PDF
No ratings yet
Flipkart - Google Search
2 pages
Documentation
PDF
No ratings yet
Documentation
4 pages
Ieb Flipkart Report
PDF
No ratings yet
Ieb Flipkart Report
17 pages
Phase 2
PDF
No ratings yet
Phase 2
17 pages
Advanced Marketing Research: Project
PDF
No ratings yet
Advanced Marketing Research: Project
22 pages
zameer DBMS Case Study
PDF
No ratings yet
zameer DBMS Case Study
17 pages
Flipkart Sds Polished
PDF
No ratings yet
Flipkart Sds Polished
4 pages