Hi, I attended the Vodafone session on data analysis using pandas, matplotlib and numpy, this blog will contain a gist of it.Read More Basics of NumPy and Pandas
To understand this blog you require a basic understanding of command line interface, SQL requests and Python, I have mostly taken this information from documentation of Django done by Django and Mozilla community.
So this blog contains classes, Regular expressions and Decorators in Python.
There are a total of 10 functions involved in this project ,per-requisites basic blockchain lingo should be known , The project is divided into sub parts , we will traverse sub -parts wise ; 1.Genesis_block : 2.Adding a Transaction A.Now here get_transaction_value is used to take input from the user B.Add transaction , which will […]Read More Blockchain in python using functions
NUMBERS: the answer for 0.1+0.2-0.3 should be zero , but the answer is5.551115123125783e-17 The reason behind this is Relative Error ,Ulps and Rounding according to “What Every Computer Scientist Should Know About Floating-Point Arithmetic“, by David Goldberg, published in the March, 1991. python 3 perform true division . eg -output of 1/2 is 0.5 Rules […]Read More python object and data structure of basics
it is immutable ,sequential chain of records called Blocks. They can contain transactions,files or any data you like .They are chained together using hashes. It uses hash functions :it takes in input value and that creates an out put value deterministic of the input value. It takes an input and outputs a hash . A […]Read More Block Chain
LIST list are ordered sequences ,which can hold variety of object types , it’s also mutable . They are represented by ,and ‘,’ is used to separate objects .It supports indexing and slicing . my_list=[‘kaka’,100,6.42]1.len(my_list) = 32.my_list = ‘kaka’3.my_list[1:] = [100,6.42]4.my_list.append(‘element’) = adds the element at the end of the list 5.my_list.pop() = removes the […]Read More Python data types