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)
60 views
9 pages
DS Ise 1
Uploaded by
Phunsukh Wangdu
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
Save
Save DS ISE 1 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
60 views
9 pages
DS Ise 1
Uploaded by
Phunsukh Wangdu
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
Carousel Previous
Carousel Next
Download
Save
Save DS ISE 1 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save DS ISE 1 For Later
You are on page 1
/ 9
Search
Fullscreen
Total No. of } | t WALCHAND INSTITUTE OF TECHNOLOGY, SOLAPUR Information Technology, SEMESTER-II, 2021-22 In-Sem. Examination -I Blective-I: Data Science ( IT324A) Class: TY Maximum Marks: 30 Date: 21/04/2022 ‘Time: 60 min Anstruetions: Solve all the questions Qu [Sub Mark | C | Blooms e | Que s - |O | Learning No. |. Level [qr Objective Type Questions- 6 i) | The command to detect NaN (null) values in pandas 2 | Remembe dataframes is r a. isna( )b. isnull()c. isnan( ygBioth a and b 4 ii) | The command used for reading a text file in python is: = 2 | Understa ey a.read_csv Ub(read table nd * d. both aand b F ' iii) | Which of the package is used for visualization in Python? 2 | Understa nd a. ggplot2_b. matplotlib_c._seabormdAll of the above Iv) | Sum of mode and median of the data 1 | Understa 12, 15, 11, 13, 18, 11, 13, 12, 13 nd | |__|at6 b.31 36 . 25 YW) | Determinant of matrix Y rounded offto zero decimal place is 1 | Understa y |y= nd= 7 [10M ttempt any two - - = 5 Un 1) | Write python code for creating and generating array using 2 vy dersta built-in functions 1. Create an array with equally spaced number in the range | to 10 2. Generate array of shape 5 X 2 initialized to one 3. Generate an array with 15 samples with base 10.0 4. Convert one-dimensional array of size 9 to two- dimensional array of appropriate size 5. Find rowwise and columnwise sum of all array elements ii) | Consider Following dataset 2 | Understa nd model mpg__| cyl disp | hp drat Mazda RX4 wt 6 160 110} ek Mazda RX4 Wag 21 6! 160] 110} 3.9 Datsun 710 22.8 4 108 93 3.85 Hornet 4 [= vi Drive 214 Hornet Sportabout 18.7 | Valiant 18.1 Duster 360 |__ 14.3 Mere 240D _ 24.4 Mere 230 22.8 | Mere 280 19.2 Mere 280C 17.8 Mere 450SE 16.4 | Merc 450SL. 17.3 Mere 450SLC 15.2 8| 275.8| 180| 3.07 Cadillac 1 Fleetwood 10.4 8 472 205 2.93 Lincoln Continental 10.4 8 460 215 3 Chrysler Imperial 14.7 8| 440] 230] 3.23 Fiat 128 32.4 4|_ 78.7 66 | 4.08 Honda Civie | 30.4 4| 757 52| 4.93 Toyota Corolla 33.9 f4{ ma 65| 4.22 Find Frequency table for column model, two-way table for the columns medel and cyl with and without normalization null values.Consider above data table and wi output for the following 1. Find Number of records and attributes 2. Find Unique values for every attribute 3. Find histogram using any attribute(s). rite python code and its Dec 2002 [225792 | Mar2005_ | 37241.1 | Mar 2003 | 26759.5 June 2005 | 34789.2 June 2003 | 24583,3 Sept 2005 | 31567.8 Sept 2003 | 26105.9 Dec 2005 | 39977.4 Dec 2004 | 24777.6 Mar 2006 | 38899.0 Mar 2004 [33827.4 | June 2006 | 39300.6 L June 2004 | 32030,5 Sept 2006 | 40021.5 Sept 2004 | 34070.0_ Dec 2006 43902.6 Dec 2004 32400.5_ Mar 2007 51675.0 | Attempt any two - 14M i) - Calculate ‘Understa 1. product of matrix A and vector X me 2. product of Vector X and Vector Y 3. addition of Vector X and Vector Y Ne naa we 1 ae Ce ee 1 Pola X=(2,i,0) Y = (10,12,-34) ii) | Maruti Suzuki captured the Indian automobile market with ai Understa Maruti 800. The quarterly gross sales of Maruti Suzuki from nd Dec 2002 to Dec 25 007Is given below. Compute average, mean, median, 40% quantile Value,range Quarter [Salesin | Quarter __| Sales in ae million Rs. million Rs.Q3] 3) HU =18 s] A=) -20 -\s 4 -s -4& 1 (Q\_ = -24(-1s 416) 418 (-20+20) +5 (0-78) *_-2u 0) +8(0> + s(s) 5-24 +25 WY 1 c24 20-57] Met -8 As 4 | s 4 ¢ Vy 2 = So find cofactors of “Adj mabix- O_jers_-4) 2 -istee @ [8 -4[, ~1e 420 4 \ =) [-s 1 Qo @ fas sl 70018 Ss & 2& @| [-% | -s| ~-20400 HB lQy -s elk 425 4 \ = O° Stash f ret @ \-2, -20| . -9¢+100 S by a4 B| | =S) = go-75 @J-24 -s {246-50 -\S “4 =S “1g “ffs 6 wy ‘ { | | -24 = 20 | = 60 -366 [fa -isl =o Fnpe> above values the adj matin of @ te | Adecay = [1 2 47| cae |i et ome | eo emmy ay p >, > 7 In i n Fe a o)~ Bl- 2 >, a s|- \2 IS ce =-|P Pa \ q ® Gers > J Ae tie3y a Ne{2z 3 s en ce es ad ys 3 Ro 2 Rain 2Rr_- Ra 7 Ry - BR Ry 7 Ry — 4 Ri i he ERD ST iS } Xt{-o-y iol oe a Lo “3 “J 1 LL oF a yzlo aN 2 o oO 0 oO 0) non zero matrix The vane of matrix #5 2From the Gbove table O average of sales: + average -(22579.2+261S%S + 24S63-3 426105-9 4247776 33527-4 + 32030-S 494670 -0 1 32400-5 $324)-) 7 BTEY-L: + BISET-B 4 99977 FBS. £3904 + 4o021-5 + 439026 + 51(75.0) Y:3 it overage of Sales = A435 34 enitlion Re { @ mean . £ : mean = Sue of ail ngmbers + : Total no. 5 (228 74-2 +26454-S + 2458.3 $26 105.342 TITS FE BBBLTLG + 32ID~ 5 + BhOTAO $32400-S T372G IT BYIBIL FE BSCTR FIFA AEZG 0 $35 FOOL < Goo § FBV. FSVZTS- 9) ; 1 Venn = 44138:34 sion Re J media median - 2 +(fe) ee Mere ee median %2h60-S ABU A. xe S sable BSBVUTL + 240700 7 u ake Retin 282 33940 million S*Guar 40%, quantile Value a of —feecenbone (nt!) = \O0 7 ho \9) - 7 \op 16 2 Hin \o . ko 76 Lame 2. Guantile value sah th pasbisn ot quarter ep non m 7 0400.5 © Metading cinder) i.e Bld er6: milion “Rs B Range Fre table vos a adbghest value = SI67S-0- Lowest datgi 22S 79-L 2 Ranges =. SNGTS Or TESA E 2 19088-5__ aiifers ys coeSficient of vange = 516.15.0 - 12S T3-L" “s\G1S-0 A VUSTS-L & 095.8 \ FS US4eL (TD) 5 0-386d ad import Aumpy as Ap G= Ape avray( |, 10, 2) print (a) 1 leport__numpy as ag A= Op array -ones (05,2)) print Ca) yl opatt dumpy as ap G=_p.logspace C1, 1s~, endporit~ Tue ,d hypesfali| - E import _numpy ac np. b os np. array ((1.2 3 GS 6° 7 § 91) 1 print la) i] G='Hip. arwoy weshape (13,39) > (hy 5 + priok_(2) : Way
You might also like
Ps 1
PDF
No ratings yet
Ps 1
25 pages
Outputs For Data Science Laboratory
PDF
No ratings yet
Outputs For Data Science Laboratory
8 pages
Assignment 1... Aaaa
PDF
No ratings yet
Assignment 1... Aaaa
9 pages
AI Final PDF
PDF
No ratings yet
AI Final PDF
38 pages
Python Assignment 1
PDF
No ratings yet
Python Assignment 1
1 page
Previous ECE Exam-1
PDF
No ratings yet
Previous ECE Exam-1
7 pages
Vedant 2024801005 Experiment 3
PDF
No ratings yet
Vedant 2024801005 Experiment 3
18 pages
End Sem PYQ
PDF
No ratings yet
End Sem PYQ
8 pages
Machine Learning Lab Word 12-1-2025. Document
PDF
No ratings yet
Machine Learning Lab Word 12-1-2025. Document
68 pages
Nishant R File
PDF
No ratings yet
Nishant R File
49 pages
Python Assignment 1
PDF
No ratings yet
Python Assignment 1
4 pages
ML Programs
PDF
No ratings yet
ML Programs
41 pages
Esai Seshan FMS Practical Final Submission
PDF
No ratings yet
Esai Seshan FMS Practical Final Submission
25 pages
National University: Analysis and Visualization With Vectors and Arrays
PDF
No ratings yet
National University: Analysis and Visualization With Vectors and Arrays
9 pages
Numpy
PDF
No ratings yet
Numpy
18 pages
Self Study Assignment Python II
PDF
No ratings yet
Self Study Assignment Python II
4 pages
Data Analytics Lab
PDF
No ratings yet
Data Analytics Lab
14 pages
SciPy Cheat Sheet
PDF
No ratings yet
SciPy Cheat Sheet
1 page
Introduction To Data Science 6
PDF
No ratings yet
Introduction To Data Science 6
29 pages
SciPyGUIA PYTHON-02
PDF
No ratings yet
SciPyGUIA PYTHON-02
1 page
GE Python Visualization 2023
PDF
No ratings yet
GE Python Visualization 2023
16 pages
APP Lab Expt 4
PDF
No ratings yet
APP Lab Expt 4
5 pages
E23MCAG0044 Lab1
PDF
No ratings yet
E23MCAG0044 Lab1
1 page
DAV Practicle File
PDF
No ratings yet
DAV Practicle File
28 pages
RD Algebra of Matrices PDF
PDF
No ratings yet
RD Algebra of Matrices PDF
12 pages
FMS Final Submission
PDF
No ratings yet
FMS Final Submission
25 pages
FDS Lab Program
PDF
No ratings yet
FDS Lab Program
11 pages
Experiment 3
PDF
No ratings yet
Experiment 3
8 pages
Lec3 Structural Data Types in Python
PDF
No ratings yet
Lec3 Structural Data Types in Python
46 pages
Pds Record Document Ds II
PDF
No ratings yet
Pds Record Document Ds II
36 pages
Final Submission of Fundamental of Mathematics & Statictis
PDF
No ratings yet
Final Submission of Fundamental of Mathematics & Statictis
37 pages
Test Test 2
PDF
No ratings yet
Test Test 2
30 pages
Basic Math: 1.1 Scipy Constants (Scipy - Constants)
PDF
No ratings yet
Basic Math: 1.1 Scipy Constants (Scipy - Constants)
32 pages
Fyybsc - CS Sem 1 FMS Journal
PDF
No ratings yet
Fyybsc - CS Sem 1 FMS Journal
43 pages
Dal Programs With Output
PDF
No ratings yet
Dal Programs With Output
11 pages
PW Matrices and Vectors: The Index 0 (N, M) NXM N M (I) (J)
PDF
No ratings yet
PW Matrices and Vectors: The Index 0 (N, M) NXM N M (I) (J)
5 pages
Numerical Methods For Civil Engineers
PDF
No ratings yet
Numerical Methods For Civil Engineers
15 pages
Numerical Methods For Civil Engineers (MATLAB)
PDF
No ratings yet
Numerical Methods For Civil Engineers (MATLAB)
221 pages
Machine Learning
PDF
No ratings yet
Machine Learning
80 pages
Fds Answers
PDF
No ratings yet
Fds Answers
53 pages
Data Science Syllabus
PDF
No ratings yet
Data Science Syllabus
4 pages
CS605 Labcf
PDF
No ratings yet
CS605 Labcf
30 pages
Data Handling Using NumPy
PDF
No ratings yet
Data Handling Using NumPy
45 pages
Lab1: Introduction To R: Islr2
PDF
No ratings yet
Lab1: Introduction To R: Islr2
10 pages
Develop Programs To Understand Concept of Class and Object in Python
PDF
No ratings yet
Develop Programs To Understand Concept of Class and Object in Python
49 pages
Numpy
PDF
No ratings yet
Numpy
10 pages
2 Array and Matrix Operations PDF
PDF
No ratings yet
2 Array and Matrix Operations PDF
39 pages
Data Science
PDF
No ratings yet
Data Science
65 pages
Ee23b039 Assingment
PDF
No ratings yet
Ee23b039 Assingment
9 pages
Inverse Matrix
PDF
No ratings yet
Inverse Matrix
2 pages
M2 - FDS
PDF
No ratings yet
M2 - FDS
20 pages
Lecture 2 New
PDF
No ratings yet
Lecture 2 New
40 pages
MATLAB 4 Numerical Computations
PDF
No ratings yet
MATLAB 4 Numerical Computations
53 pages
Data Science Lab Experiments
PDF
No ratings yet
Data Science Lab Experiments
32 pages
Piyush Mali MATLAB
PDF
No ratings yet
Piyush Mali MATLAB
22 pages
Data Handling Using NumPy
PDF
No ratings yet
Data Handling Using NumPy
43 pages
Scipy Cheat Sheet Python For Data Science: Linear Algebra
PDF
No ratings yet
Scipy Cheat Sheet Python For Data Science: Linear Algebra
1 page
Scipy Cheat Sheet Python For Data Science: Linear Algebra
PDF
No ratings yet
Scipy Cheat Sheet Python For Data Science: Linear Algebra
1 page
20BIT037 - Data Analytics
PDF
No ratings yet
20BIT037 - Data Analytics
30 pages