Monday, November 19, 2018

Python : Primitive Data Structures


Data Structure is a way of organizing and storing data in an efficient way.Data Structures are divided into two categories :-

  • Primitive Data Structures
  • Non-Primitive Data Structures

Primitive data structures are very simple and lucid one that helps in data manipulation and contain simple and pure values.

  • Integers
  • Float
  • Strings
  • Boolean

Integers are whole numbers that ranges from – infinity to + infinity.It includes the numbers like -4 ,2 ,0 etc.It does not include numbers with fractional part.

Float is used for the numbers having decimal points like 4.11 or 3.13 etc.

Python recognizes both single quotes (') and double quotes (") as valid ways to delimit a string value. The word delimit means to determine the boundaries or limits of something.You may not mix the two kinds of quotation marks when used to delimit a particular string.


This built-in data type that can take up the values: True and False, which often makes them interchangeable with the integers 1 and 0. Booleans are useful in conditional and comparison expressions, just like in the following examples:



Python : First Program On Jupyter Notebook


In this blog post , we will go through jupyter notebook and will create our first program.


Firstly , we will start the jupyter notebook via terminal.


Next ,we have the new window and having the list of all the folders that are available.



Click on the new and select python 3 notebook.

 

Write the desired code and select RUN command.



How to write first code in spyder ?

check the youtube link :- https://www.youtube.com/watch?v=JSydHB7qsgQ&feature=youtu.be

Hadoop - What is a Job in Hadoop ?

In the field of computer science , a job just means a piece of program and the same rule applies to the Hadoop ecosystem as wel...