Keen Learner and Exp... • 24d
Day 5 of learning Data Science as a beginner Topic: Using NumPy in Data Science Python despite having much advantages (like being beginner friendly, easy to read) is also famous for its one limitation i.e. it is slow. We don't really feel much about it as a beginner because at the beginning stage all we are doing is learning through coding a few lines or a couple hundreds however once you start working with large data sets this limitation makes its presence felt. Python is slow because it offers incredible flexibility like being able to write multiple type items like integer, strings, float, Boolean, dictionary and even tuples in a single therefore in order to offer such flexibilities python has to compromise with speed. However to tackle this limitation we use a python library named NumPy which is created using C as base and because C is very close to hardware it offers great speed for computing numbers. NumPy has a great speed however it is used only on numerical arrays. NumPy is also very efficient in storing the data i.e. it uses less memory to store data. It also offers vectorized operation i.e. it avoids using loops explicitly this also makes it much more cleaner and readable. In the coming days I will focus on learning NumPy from basics. And also here's my code and its result.




Keen Learner and Exp... • 15d
Day 9 of learning Data Science as a beginner. Topic: Data Types & Broadcasting NumPy offers various data types for a variety of things for example if you want to store numerical data it will be stored in int32 or int64 (depending on your system's a
See More

Keen Learner and Exp... • 23d
Day 6 of learning Data Science as a beginner. Topic: creating NumPy arrays NumPy arrays can be created using various ways one of them is using python list and converting it into a numpy array however this is a long way here you first create a pytho
See More

Download the medial app to read full posts, comements and news.