Address
:
[go:
up one dir
,
main page
]
Include Form
Remove Scripts
Session Cookies
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)
95 views
4 pages
P3
Uploaded by
Lokeswar Patnaik
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
Save
Save P3 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
95 views
4 pages
P3
Uploaded by
Lokeswar Patnaik
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
Carousel Previous
Carousel Next
Download
Save
Save P3 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 4
Search
Fullscreen
27823, 1:11 PM (swayamn De NPTEL (https://swayam.go Course outline How does an NPTEL online course work? 0 Week 0 () Week 1 Week 2 () Week 3 () Reading data (unit? unite41&lesson=42) @ Pandas Datatrames | (unit? Unit=41&lesson=43) Pandas Dataframes I hitpsortinecourses.np 1 innoe23_cs2 lunt?unit=41assessment=104 Python for Data Science -- Unit 5- Week 3 ) (https://swayam.gov.in) @ (etpatowayan govbie, diaNeTEL) patnaik.sathyabama@gmail.com » jexplorer?ncCode=NPTEL) » Python for Data Science (course) Week 3: Assignment 3 Your last recorded submission was on 2023-02-08, 11:43 IST Due date: 2023-02-15, 23:59 IST. 1) Which of the following is the correct approach to fill missing values in case of 1 point categorical variable? OMean @ Median O Mode ONone of the above ‘Assume a pandas dataframe df_cars which when printed is as shown below. Based on this information, answer questions 2 and 3. Car name Type Brand Price (in Lakhs) ° A2 Sedan ASP 15 a c3 suv TRE 20 2 D2 Hatchback ASP 14 3 A3 Sedan TOY 13 4 ce Muy TOY 18 2) Of the following set of statements, which of them can be used to extract the column 1 point ‘Type as a separate dataframe?27823, 1:11 PM Blesson=44) Pandas Dataframes Ill (unit? Unit=41&lesson=45) Controt structures & Functions (unit? Unit=41&lesson=46) Exploratory data analysis, (unit? Unit=418lesson=47) Data Visualization- Part | (unit? unit=418lesson=48) Data Visualization- Part (unit? unit=41alesson=49) Dealing with missing data (unit? unit=418lesson=50) Datasets (unit? Uunit=418lesson=51) Week 3: Lecture slides (unit? Unit=41&lesson=52) Week 3-FAQs (unit? unit=418lesson=53) Practice: Week 3: Practice Assignment 3 (assessment? name=96) © Quiz: Week 3: Assignment 3 (assossmont? name=104) hitpsontinecoureesin cvnoe23_c82 unt?unt=4 assessmer Python for Data Science -- Unit 5- Week 3 df cars{(Type'}} df carsiiloc{: 1] Odfcars.locl:, [Type']] (ONone of the above 8) The method df_cars.describe() will give description of which of the following column? 1 point Ocername Ocrana O Price (in aks) @allof the above 4) Which pandas function is used to stack the dataframes vertically? 1 point Opa merge © paconcati Ofeine) ONone of the above 5) Which of the following are liabraries in Python? 1 point OPandas O matpioti Onumey A of the above Read the comma-separated values file hotel bookings.csv {hitps:tirive.google.comifile/al imimTyULec38KJGKYACQMhuPDOc-vldXkview?usp=sharing) as a ddataframe data hotel and answer questions 6 - 8. Please refer to Hotel Bookings Data Description pat (hitps:lirive.google.comfile/d/tkiJmX6mSqatqaNu4SQRCwBWXWhVTUCculview?usp=sharing) for data and variable description. 6) Choose the appropriate command{s) to fiter those booking details whose 1 point reservation-status are 2 No-show? a data_hotel_ns = data_hotel.loc[data_hotel.reservation_status = No-Show’) data_hotel_ns = data_hotel{data_hotel.reservation_status == ‘No-Show’ ] 6 data hotel_ns = data_hotel.reservation_status.loc{data hotel isin(('No-Show'])] 2627823, 1:11 PM Week 3 Feedback Form Python for Data Science (unit? unit=418lesson=100) Download Videos () Books () Text Transcripts () hitpsontinecourees.np Python for Data Science -- Unit 5- Week 3 data_hotel_ns = data_hotel. loc[data_hotel .reservation_status.isin({'No-Show' ])] 7) From the same data, find how many bookings were not canceled in the year 2017? 1 point @ 9064 Oca O 9046 None of the above 8) From the total bookings that were made in 2017 and not canceled, which month had 1 point the highest number of repeated guests? Ouuy O February © January ONone of the above 9), What will be the output of the following code? 1 point import numpy as np B = [True, 2, 3.0, np.nan, “False"] [type(i) for i in B] © [boo int, float, float, st] Ofer, int, oa, float, st] O foot, at, int, st] © foot, int, int, float, st] 1 innoe23_cs2 /unt?unit=41assessmont=104 34218/28, 1:14 PM Python for Data Science -- Unit Week 3 110) Which command is used to generate the plot shown below? 1 point 0 9 2q- oo 05 10 15 20 25 30 35 40 Opttplotx, inesiyle @ pt plotx,inestylo =~") Opttplotx,tnestyle ==") Oplt.plot(x, tinestyle = *") You may submit any number of times before the due date, The final submission will be considered for grading ‘Submit Answers Intps:foninecourses.nptol.ac.invnoc23_es2"/unit?unit=418assessment=104 4a
You might also like
Yash Week 3 Uber Case Study
PDF
No ratings yet
Yash Week 3 Uber Case Study
38 pages
Python For Data Science - Unit 5 - Week 3 - Assignment
PDF
No ratings yet
Python For Data Science - Unit 5 - Week 3 - Assignment
5 pages
Aditya English Medium School: Baner, Pune
PDF
No ratings yet
Aditya English Medium School: Baner, Pune
4 pages
Pandas Missing Data
PDF
No ratings yet
Pandas Missing Data
30 pages
Kenny-230722-Data Cleaning With Python and Pandas - Detecting Missing Values
PDF
No ratings yet
Kenny-230722-Data Cleaning With Python and Pandas - Detecting Missing Values
13 pages
Python For Data Science - Unit 4 - Week 2 - Assignment
PDF
No ratings yet
Python For Data Science - Unit 4 - Week 2 - Assignment
4 pages
Data Cleaning With Python and Pandas
PDF
No ratings yet
Data Cleaning With Python and Pandas
49 pages
Data Science - Assignment 1
PDF
No ratings yet
Data Science - Assignment 1
4 pages
Python CAT Papers
PDF
No ratings yet
Python CAT Papers
6 pages
12 Ip Pa2 2024-25
PDF
No ratings yet
12 Ip Pa2 2024-25
7 pages
Data Cleaning
PDF
No ratings yet
Data Cleaning
13 pages
Solution
PDF
No ratings yet
Solution
18 pages
More Practice Questions For DataFrame
PDF
No ratings yet
More Practice Questions For DataFrame
9 pages
Overview of Data Cleaning
PDF
No ratings yet
Overview of Data Cleaning
17 pages
All Assignments
PDF
No ratings yet
All Assignments
33 pages
ML Practical 03
PDF
No ratings yet
ML Practical 03
20 pages
Question Bank Class XII IP 065 MCQ With Answer
PDF
No ratings yet
Question Bank Class XII IP 065 MCQ With Answer
35 pages
How To Handle Missing Data in Python. (Explained in 5 Easy Steps)
PDF
No ratings yet
How To Handle Missing Data in Python. (Explained in 5 Easy Steps)
10 pages
PW2 DataCleaning
PDF
No ratings yet
PW2 DataCleaning
6 pages
MY Question Bank
PDF
No ratings yet
MY Question Bank
3 pages
Lec9 Dealing With Missing Values
PDF
No ratings yet
Lec9 Dealing With Missing Values
22 pages
Uber Drive Practice DP PDF
PDF
No ratings yet
Uber Drive Practice DP PDF
10 pages
Dav End Sem
PDF
No ratings yet
Dav End Sem
2 pages
Lec 16
PDF
No ratings yet
Lec 16
11 pages
Lession5 Python Visualize
PDF
No ratings yet
Lession5 Python Visualize
33 pages
P2
PDF
No ratings yet
P2
4 pages
DS Question Bank Unit-1 Part-2
PDF
No ratings yet
DS Question Bank Unit-1 Part-2
3 pages
11,12, 13, 14operations On DF
PDF
No ratings yet
11,12, 13, 14operations On DF
5 pages
20ca2204 Data Science QB With Answers
PDF
No ratings yet
20ca2204 Data Science QB With Answers
48 pages
Chapter 2 Python Pandas
PDF
No ratings yet
Chapter 2 Python Pandas
8 pages
Python For Data Science - Unit 6 - Week 3
PDF
No ratings yet
Python For Data Science - Unit 6 - Week 3
3 pages
Lec 4
PDF
No ratings yet
Lec 4
9 pages
HEALTHCARE
PDF
No ratings yet
HEALTHCARE
3 pages
QP Xii Ip Hy 2024-25
PDF
No ratings yet
QP Xii Ip Hy 2024-25
9 pages
Nptel Assessment
PDF
No ratings yet
Nptel Assessment
25 pages
Gujarat Technological University
PDF
No ratings yet
Gujarat Technological University
2 pages
Test 11
PDF
No ratings yet
Test 11
2 pages
? Sample Paper by Aadish
PDF
No ratings yet
? Sample Paper by Aadish
7 pages
12th - Mid-Term-IP
PDF
No ratings yet
12th - Mid-Term-IP
5 pages
Kendriya Vidyalaya No. 3, Nal, Bikaner SESSION: 2021-22 Unit Test - 1
PDF
No ratings yet
Kendriya Vidyalaya No. 3, Nal, Bikaner SESSION: 2021-22 Unit Test - 1
2 pages
Sessional QP-TaT
PDF
No ratings yet
Sessional QP-TaT
5 pages
QP - Info - Gr.12 - June Test - 2021 - Without Options
PDF
No ratings yet
QP - Info - Gr.12 - June Test - 2021 - Without Options
6 pages
Set-3 Ip QP Practice
PDF
No ratings yet
Set-3 Ip QP Practice
9 pages
IAT-II FDS-Answer Key
PDF
No ratings yet
IAT-II FDS-Answer Key
11 pages
Bca212 Ids 2023
PDF
No ratings yet
Bca212 Ids 2023
3 pages
Ip CLSS Xii 2024-25 Hy
PDF
No ratings yet
Ip CLSS Xii 2024-25 Hy
14 pages
12 IP Dataframe and Pyplot Notes
PDF
No ratings yet
12 IP Dataframe and Pyplot Notes
14 pages
Assigment - 1 - Week 1 - 2023 - G
PDF
No ratings yet
Assigment - 1 - Week 1 - 2023 - G
3 pages
Data Cleaning in Python
PDF
No ratings yet
Data Cleaning in Python
6 pages
Worksheet On Dataframe For Summer Holiday May June 2025
PDF
No ratings yet
Worksheet On Dataframe For Summer Holiday May June 2025
3 pages
QP Xii Ip Hy 2023-24
PDF
No ratings yet
QP Xii Ip Hy 2023-24
9 pages
DVW 203105491 - 5926 - Question - Paper
PDF
No ratings yet
DVW 203105491 - 5926 - Question - Paper
2 pages
Python-2 Practice Book 2024
PDF
No ratings yet
Python-2 Practice Book 2024
48 pages
Python MCQs
PDF
No ratings yet
Python MCQs
21 pages
Assigment - 2 - Week 2 - 2023 - G
PDF
No ratings yet
Assigment - 2 - Week 2 - 2023 - G
4 pages
Ip Sample Paper 2
PDF
No ratings yet
Ip Sample Paper 2
6 pages
Set-D CT2 Answerkey
PDF
No ratings yet
Set-D CT2 Answerkey
11 pages
SET-4 IP QP Practice
PDF
No ratings yet
SET-4 IP QP Practice
11 pages
Lec 6
PDF
No ratings yet
Lec 6
7 pages
Sustainability 16 01223 v2
PDF
No ratings yet
Sustainability 16 01223 v2
19 pages
Sustainable Engineering Polymer Composites Fabricated Using Delignified Bamboo Fiber As Reinforcement and Walnut Shell Powder As Filler
PDF
No ratings yet
Sustainable Engineering Polymer Composites Fabricated Using Delignified Bamboo Fiber As Reinforcement and Walnut Shell Powder As Filler
14 pages
Lec 4
PDF
No ratings yet
Lec 4
4 pages
Lec 2
PDF
No ratings yet
Lec 2
3 pages
Module 4 Lecture 5 Final
PDF
No ratings yet
Module 4 Lecture 5 Final
12 pages
Lec 5
PDF
No ratings yet
Lec 5
4 pages
Lec 3
PDF
No ratings yet
Lec 3
5 pages
MID Exam Question ME
PDF
No ratings yet
MID Exam Question ME
2 pages
Revised Form Joint Option For Higher Pension PDF
PDF
No ratings yet
Revised Form Joint Option For Higher Pension PDF
2 pages
RR PDF
PDF
No ratings yet
RR PDF
2 pages