For T.Y.B.Sc. Computer Science : Semester –
k k k k k k
V [Course Code CS 354 : Credits - 2]
k k k k k k k k k
CBCS Pattern k
As Per New Syllabus, Effective from June 2021
k k k k k k k
Dr. Ms. Manisha Bharambe
k k k
M.Sc.k (Comp.k Sci.),k M.Phil.k Ph.D.k (Comp.k Sci.)
VicekPrincipal,kAssociatekProfessor,kDepartmentkofkComputerkSciencek ME
S'skAbasahebkGarwarekCollege
Pune
Dr. Mrs. Harsha Patil
k k k
M.C.A.,k M.Phil.k Ph.D.k (Comp.k Sci.)
Asst.kProfessor,kAEF'skAshokakCenterkforkBusinesskandkComputerkStudies
,k Nashik
Pricek `k240.00
N5864
,FOUNDATIONSk OFk DATAk SCIENCE ISBNk 978-93-5451-187-5
SecondkEditionk :k k k Augustk2022
© :k k k Authors
Thektextkofkthiskpublication,korkanykpartkthereof,kshouldknotkbekreproducedkorktransmittedkinkanykformkorkstoredkinkanyk co
mputerkstorageksystemkorkdevicekforkdistributionkincludingkphotocopy,krecording,ktapingkorkinformationkretrievalksystemkork repr
oducedk onk anyk disc,k tape,k perforatedk mediak ork otherk informationk storagek devicek etc.,k withoutk thek writtenk permissionk ofk
Authorskwithkwhomkthekrightskarekreserved.kBreachkofkthiskconditionkiskliablekforklegalkaction.
Everykeffortkhaskbeenkmadektokavoidkerrorskorkomissionskinkthiskpublication.kInkspitekofkthis,kerrorskmaykhavekcreptkin.kAnyk
mistake,k errork ork discrepancyksok notedkandkshallkbekbroughtktok ourk noticek shallkbek takenk carek ofk ink thek nextkedition.k Itkisk notifi
edk thatkneitherkthekpublisherknorkthekauthorskorksellerkshallkbekresponsiblekforkanykdamagekorklosskofkactionktokanykone,kofkanyk
kind,kink anykmanner,ktherekfrom.kThekreaderkmustkcrosskcheckkallkthekfactskandkcontentskwithkoriginalkGovernmentknotificationkor
k publications.
Publishedk Byk : Polyplate PrintedkByk :
NIRALIkPRAKASHAN YOGIRAJkPRINTERSkANDkBINDERS
AbhyudayakPragati,k1312,kShivajikNagar, SurveykNo.k10/1A,kGhulekIndustrialkEstate
OffkJ.M.kRoad,kPunek–k411005 NandedkGaonkRoad
Telk-k(020)k25512336/37/39 Nanded,kPunek-k411041
Emailk:
DISTRIBUTIONkCENTRES
PUNE
Niralik Prakashan Niralik Prakashan
(ForkorderskoutsidekPune) (ForkorderskwithinkPune)
S.kNo.k28/27,kDhayarikNarhekRoad,kNearkAsiankCollegek P 119,kBudhwarkPeth,kJogeshwarikMandirkLanek P
unek411041,kMaharashtra unek411002,kMaharashtra
Telk:k(020)k24690204;kMobilek:k9657703143 Telk:k(020)k2445k2044;kMobilek:k9657703145
Emailk:k Emailk:
MUMBAI
Niralik Prakashan
RasdharakCo-
op.kHsg.kSocietykLtd.,k'D'kWingkGroundkFloor,k385kS.V.P.kRoadk Girgaum,kMumbaik
400004,kMaharashtra
Mobilek:k7045821020,kTelk:k(022)k2385k6339k/k2386k9976
Emailk:
DISTRIBUTIONkBRANCHES
DELHI BENGALURU NAGPUR
Niralik Prakashan Niralik Prakashan Niralik Prakashan
RoomkNo.k2kGroundkFloork 457 MaitrikGroundkFloor,kJayakApartments, AbovekMarathakMandir,kShopkNo.k3,k F
k No.k99,k6 kCross,k6 kMain,k Mallesw irstkFloor,k RanikJhanshikSquare,k Sitabu
th th
5/15kOmkarkTower,kAgarwalkRoad
DaryakGanj,k NewkDelhik110002 aram,kBengaluruk560003k Karnataka;k ldikNagpurk440012k(MAH)
Mobilek:k9555778814/9818561840 Mobk:k9686821074 Telk:k(0712)k254k7129
Emailk: Emailk: Emailk:k
KOLHAPUR JALGAON SOLAPUR
Niralik Prakashan Niralik Prakashan Niralik Prakashan
NewkMahadvarkRoad,kKedarkPlaza, 34,kV.kV.kGolanikMarket,kNavikPeth R-
k 1 kFloorkOpp.kIDBIkBank
st
,k Jalgaonk425001,kMaharashtra 158/2,kAvantikNagar,kNearkGoldenk Gat
Kolhapurk416k012k Maharashtra Telk:k(0257)k222k0395 e,kPunekNakakChowk
Mobk:k9850046155 Mobk:k94234k91860 Solapurk413001,kMaharashtra
Emailk: Emailk: Mobilek9890918687
Emailk:
|k www.pragationline.com
k Alsokfindkuskon www.facebook.com/niralibooks
, Preface … k
WektakekankopportunityktokpresentkthiskTextkBookkonk"FoundationskofkDatakScience"ktokt
hek studentskofk Thirdk Yeark B.Sc.k (Computerk Science)k Semester-
Vk askperk thek Newk Syllabus,kJunek2021.
Thekbookkhaskitskownkuniquekfeatures.kItkbringskoutktheksubjectkinkakveryksimplekandklucidkm
annerkforkeasykandkcomprehensivekunderstandingkofkthekbasickconcepts.kThekbookkcoversktheo
rykofkIntroductionktokDatakScience,kStatisticalkDatakAnalysis,kDatakPreprocessingkandkDatakVisua
lization.
Ak specialk wordk ofk thankk tok Shri.k Dineshbhaik Furia,k andk Mr.k Jigneshk Furiak forksho
wingk fullk faithk ink usk tok writek thisk textk book.k Wek alsok thankk tok Mr.k Amark Salunkhek andkMrs
.kPrachikSawantkofkM/skNiralikPrakashankforktheirkexcellentkco-operation.
WekalsokthankkMr.kRavindrakWalodare,kMr.kSachinkShinde,kMr.kAshokkBodke,kMr.kMoshinkSa
yyedkandkMr.kNitinkThorat.
Althoughk everyk carek hask beenk takenk tok checkk mistakesk andk misprints,k anyk errors,komis
sionkandksuggestionskfromkteacherskandkstudentskforkthekimprovementkofkthisktextkbookkshallkb
ekmostkwelcome.
Authors