Posts

Showing posts from April, 2021

Data structures, numpy and pandas

data_structures_numpy_pandas I think computers are a miracle. Think about it everything on your mobile phone or those graphics in a video game are basically a bunch of 1s and 0s that are created by electrical constriction and dilation. I think it'll not do computers a favor without talking a bit about this before we start. Computers are made up of a central processing unit cpu for short and random access memory. The cpu is where the calculations are done and the ram is where short term memory is stored. The computer understands only 1s and 0s which are called bits. 8 of these bits make a byte . A kilobyte comprises of 1024 of such bits . A megabyte consists of 1,048,576 of such bits and so on. Basic data structures in python The basic data structures are very similar in most programming languages. However they might be built differently for example every base data structure in python is an object. In the following paragraphs we'll talk about them. String This is a very...