SlideShare a Scribd company logo
2
Python Versions
Python 2.0 was released in 2000 with many major changes, including a garbage collector and
support for Unicode.
The next version, 3.0 was published in 2008. It was a major update of the language that was not
completely backward-compatible during its application. Many of its major features were reverse-
ported to Python 2.6 and 2.7 version series.
Currently, Python 3.7.1 is the latest stable platform which everyone from freshers to
experienced professionals is using.
Features
Flexible/Portable
Python is an open-source language. Naturally, it has been ported to many platforms. All python
programs will work on any of these platforms without requiring to make any major or minor
changes in the code.
Python can be used on Linux, Windows, Macintosh, PlayStation and can also be operated on
PocketPCs!
Freely available and open source
Python is free of cost and is available for distribution in the open. One can make duplicates of
this software, hack the software's source code and make changes to it. This is one of the
reasons why Python is so clean and consistent, it has been guarded and looked after by a
community who just want to see a better and improved version of python daily!
Support
Due to its vast online community, python is marketed as the best programming language till
date. Its constant support and regular updates for users and administrators make it dependable
and easy to use over other languages.
Easy to master
Compared to Java or any other languages, it is easy to learn and grasp python at the beginners
level. For those who want to build applications and deploy them on the cloud, python is the
preferred language.
Dynamic
Python is a strong-dynamically typed language. Dynamically typed means the variables are
taken care and won’t conflict with each other.
Semantics/Syntax
Indentation
Python utilizes whitespace indentation and not curly brackets or keywords to limit the code
blocks. An increase in indentation will only occur after certain statements; a decrease in
indentation indicates the end of the existing code block.
The program's visual structure represents the semantic structure of the code. This feature is
also sometimes called as the off-side rule.
Most read
Introduction Of Python In Data Science
Python As A Data Science Tool
Python is an open-source high-level programming language catered to general-purpose
programming. It is instrumental for both IT-related projects as well as the analytical ones. Let’s
study python language in detail.
History
Python was conceived in the year 1980 by Guido Rossum at Centrum Wiskunde and
Informatica (CWI) institute as a worthy successor to the ABC language. ABC language was
itself a powerful language during the 90s, capable of handling and interfacing with the Amoeba
operating system. Python was initially executed in December 1989.
Guido Rossum, the guy brain behind Python Programming Language
Python is a multi-paradigm programming language. It supports both, object-oriented
programming as well as structured programming. Many of its operations support functional and
aspect-oriented programming.
Rather than having all of its functionalities constructed into its core, Python was designed to be
highly extensible. For starters, Van Rossum's created Python with the vision of building a small
startup language coupled with a large library of packages and easily extensible interpreter.
Python Versions
Python 2.0 was released in 2000 with many major changes, including a garbage collector and
support for Unicode.
The next version, 3.0 was published in 2008. It was a major update of the language that was not
completely backward-compatible during its application. Many of its major features were reverse-
ported to Python 2.6 and 2.7 version series.
Currently, Python 3.7.1 is the latest stable platform which everyone from freshers to
experienced professionals is using.
Features
Flexible/Portable
Python is an open-source language. Naturally, it has been ported to many platforms. All python
programs will work on any of these platforms without requiring to make any major or minor
changes in the code.
Python can be used on Linux, Windows, Macintosh, PlayStation and can also be operated on
PocketPCs!
Freely available and open source
Python is free of cost and is available for distribution in the open. One can make duplicates of
this software, hack the software's source code and make changes to it. This is one of the
reasons why Python is so clean and consistent, it has been guarded and looked after by a
community who just want to see a better and improved version of python daily!
Support
Due to its vast online community, python is marketed as the best programming language till
date. Its constant support and regular updates for users and administrators make it dependable
and easy to use over other languages.
Easy to master
Compared to Java or any other languages, it is easy to learn and grasp python at the beginners
level. For those who want to build applications and deploy them on the cloud, python is the
preferred language.
Dynamic
Python is a strong-dynamically typed language. Dynamically typed means the variables are
taken care and won’t conflict with each other.
Semantics/Syntax
Indentation
Python utilizes whitespace indentation and not curly brackets or keywords to limit the code
blocks. An increase in indentation will only occur after certain statements; a decrease in
indentation indicates the end of the existing code block.
The program's visual structure represents the semantic structure of the code. This feature is
also sometimes called as the off-side rule.
Statements and control flow
We work with control flow and statements all the time for input for sort of algorithm. Let’s see the
common ones.
If statement- It executes a block of code based on a condition, along with else and else-if
For statement- It creates an iteration over an iterable object, storing each element to a local
variable for use by the predefined block.
While statement- It performs the block of code as long as the predetermined condition is true.
Try catch statement- It allows the exceptions to be raised in its code block to be caught and
handled by except clauses.
Raise statement- It is used to raise a particular exception or raise it again to a catch an
exception.
Expressions
Addition, subtraction, multiplication, and division operations can be easily performed in python.
The division is a bit different compared to others. It has two types. They are floor division and
integer division.
Python uses the ** operator for exponentiation function.
From Python 3.5, the new ‘@’ operator was introduced. It is called infix. It is intended to be used
by the libraries like NumPy for matrix multiplication in machine learning.
Python also incorporates the words and, or, not for its boolean operators rather than the
symbols- &&, ||, ! which are used in Java and C.
We don't require to declare integers after importing the libraries in python. Specifying the integer
and its datatype is mandatory in C and Java.
Method
Methods are like functions attached to the object's class. The syntax is quite simple and is
dignified by instance.method(argument) for normal methods and functions. Python has an inbuilt
engine to access instance data, compared to the implicit self (or this) in some other object-
oriented programming languages.
Typing
Python allows avid coders to define their own typing techniques and methods using classes,
often instrumental for object-oriented programming. Different instances of classes can be
created by calling the class, for instance, the SpamClass().
As python uses duck typing, it consists of both, typed objects and untyped variable names.
Libraries
Tons of libraries are available for surplus functionality, to say the least. Pythons biggest strength
lies in its toolkits and libraries. It includes libraries for creating graphical user interfaces(GUI),
establishing a connection to relational databases, generating pseudo-random numbers,
performing arithmetic operations with arbitrary precision decimals, changing regular
expressions, plus unit testing.
Implementation
There are some neat implementations in python.
CPython is the primary implementation of Python. It is written in C, having the C89 standard and
a few C99 features. It compiles all the python programs to an intermediate bytecode which is
later executed by its virtual machine. Windows and most modern Unix-like systems support this
implementation.
After going through the tiring process of understanding and decoding python, we can take a
break from the technical stuff and focus on the good part! These are some of the factors why
python is way ahead of its competition.

More Related Content

What's hot (19)

Python: the Project, the Language and the Style
Python: the Project, the Language and the StylePython: the Project, the Language and the Style
Python: the Project, the Language and the Style
Juan-Manuel Gimeno
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python Tutorial
QA TrainingHub
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1
Kanchilug
 
Introduction to Python Basics Programming
Introduction to Python Basics ProgrammingIntroduction to Python Basics Programming
Introduction to Python Basics Programming
Collaboration Technologies
 
Introduction to phython programming
Introduction to phython programmingIntroduction to phython programming
Introduction to phython programming
ASIT Education
 
Getting Started with Python
Getting Started with PythonGetting Started with Python
Getting Started with Python
Sankhya_Analytics
 
Introduction to python
 Introduction to python Introduction to python
Introduction to python
Learnbay Datascience
 
11 Unit1 Chapter 1 Getting Started With Python
11   Unit1 Chapter 1 Getting Started With Python11   Unit1 Chapter 1 Getting Started With Python
11 Unit1 Chapter 1 Getting Started With Python
Praveen M Jigajinni
 
Phython Programming Language
Phython Programming LanguagePhython Programming Language
Phython Programming Language
R.h. Himel
 
Python for the Mobile and Web
Python for the Mobile and WebPython for the Mobile and Web
Python for the Mobile and Web
Derek Kiong
 
Python and its Applications
Python and its ApplicationsPython and its Applications
Python and its Applications
Abhijeet Singh
 
Python unit1
Python unit1Python unit1
Python unit1
charvi parth Lastpatel
 
Cmpe202 01 Research
Cmpe202 01 ResearchCmpe202 01 Research
Cmpe202 01 Research
vladimirkorshak
 
Introduction python
Introduction pythonIntroduction python
Introduction python
Jumbo Techno e_Learning
 
summer training report on python
summer training report on pythonsummer training report on python
summer training report on python
Shubham Yadav
 
Python Tutorial Part 2
Python Tutorial Part 2Python Tutorial Part 2
Python Tutorial Part 2
Haitham El-Ghareeb
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
DrMohammed Qassim
 
Python Programming
Python ProgrammingPython Programming
Python Programming
shahid sultan
 
Python programming | Fundamentals of Python programming
Python programming | Fundamentals of Python programming Python programming | Fundamentals of Python programming
Python programming | Fundamentals of Python programming
KrishnaMildain
 
Python: the Project, the Language and the Style
Python: the Project, the Language and the StylePython: the Project, the Language and the Style
Python: the Project, the Language and the Style
Juan-Manuel Gimeno
 
Python | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python TutorialPython | What is Python | History of Python | Python Tutorial
Python | What is Python | History of Python | Python Tutorial
QA TrainingHub
 
Python quick guide1
Python quick guide1Python quick guide1
Python quick guide1
Kanchilug
 
Introduction to phython programming
Introduction to phython programmingIntroduction to phython programming
Introduction to phython programming
ASIT Education
 
11 Unit1 Chapter 1 Getting Started With Python
11   Unit1 Chapter 1 Getting Started With Python11   Unit1 Chapter 1 Getting Started With Python
11 Unit1 Chapter 1 Getting Started With Python
Praveen M Jigajinni
 
Phython Programming Language
Phython Programming LanguagePhython Programming Language
Phython Programming Language
R.h. Himel
 
Python for the Mobile and Web
Python for the Mobile and WebPython for the Mobile and Web
Python for the Mobile and Web
Derek Kiong
 
Python and its Applications
Python and its ApplicationsPython and its Applications
Python and its Applications
Abhijeet Singh
 
summer training report on python
summer training report on pythonsummer training report on python
summer training report on python
Shubham Yadav
 
Python programming | Fundamentals of Python programming
Python programming | Fundamentals of Python programming Python programming | Fundamentals of Python programming
Python programming | Fundamentals of Python programming
KrishnaMildain
 

Similar to introduction of python in data science (20)

Python programming ppt.pptx
Python programming ppt.pptxPython programming ppt.pptx
Python programming ppt.pptx
nagendrasai12
 
PYTHON UNIT 1
PYTHON UNIT 1PYTHON UNIT 1
PYTHON UNIT 1
nagendrasai12
 
Python Class 1
Python Class 1Python Class 1
Python Class 1
arijit banerjee
 
2024-25 TYBSC(CS)-PYTHON_PROG_ControlStructure.pptx
2024-25 TYBSC(CS)-PYTHON_PROG_ControlStructure.pptx2024-25 TYBSC(CS)-PYTHON_PROG_ControlStructure.pptx
2024-25 TYBSC(CS)-PYTHON_PROG_ControlStructure.pptx
sangeeta borde
 
Training report 1923-b.e-eee-batchno--intern-54 (1).pdf
Training report 1923-b.e-eee-batchno--intern-54 (1).pdfTraining report 1923-b.e-eee-batchno--intern-54 (1).pdf
Training report 1923-b.e-eee-batchno--intern-54 (1).pdf
YadavHarshKr
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
SudhanshiBakre1
 
Introduction to Python Programming Basics
Introduction  to  Python  Programming BasicsIntroduction  to  Python  Programming Basics
Introduction to Python Programming Basics
Dhana malar
 
summer t.pdf
summer t.pdfsummer t.pdf
summer t.pdf
RITVIKKAPOOR10
 
REPORT ON AUDIT COURSE PYTHON BY SANA 2.pdf
REPORT ON AUDIT COURSE PYTHON BY SANA 2.pdfREPORT ON AUDIT COURSE PYTHON BY SANA 2.pdf
REPORT ON AUDIT COURSE PYTHON BY SANA 2.pdf
Sana Khan
 
pengenalan python apa itu python untuk apa.pptx
pengenalan python apa itu python untuk apa.pptxpengenalan python apa itu python untuk apa.pptx
pengenalan python apa itu python untuk apa.pptx
aftaf3
 
Introduction to Python.pptx
Introduction to Python.pptxIntroduction to Python.pptx
Introduction to Python.pptx
SamyakJain461
 
Introduction-To-Python- a guide to master
Introduction-To-Python- a guide to masterIntroduction-To-Python- a guide to master
Introduction-To-Python- a guide to master
ImadM4
 
What is python
What is pythonWhat is python
What is python
faizrashid1995
 
An Introduction To Python - Python, Print()
An Introduction To Python - Python, Print()An Introduction To Python - Python, Print()
An Introduction To Python - Python, Print()
Blue Elephant Consulting
 
1-ppt-python.ppt
1-ppt-python.ppt1-ppt-python.ppt
1-ppt-python.ppt
ssusera99a83
 
Python.pptx
Python.pptxPython.pptx
Python.pptx
abclara
 
Introduction to Python – Learn Python Programming.pptx
Introduction to Python – Learn Python Programming.pptxIntroduction to Python – Learn Python Programming.pptx
Introduction to Python – Learn Python Programming.pptx
HassanShah396906
 
A Brief Introduction to Python - English
A Brief Introduction to Python - EnglishA Brief Introduction to Python - English
A Brief Introduction to Python - English
Devashish Negi
 
Python Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docxPython Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docx
Manohar k
 
Python for students step by step guidance
Python for students step by step guidancePython for students step by step guidance
Python for students step by step guidance
MantoshKumar79
 
Python programming ppt.pptx
Python programming ppt.pptxPython programming ppt.pptx
Python programming ppt.pptx
nagendrasai12
 
2024-25 TYBSC(CS)-PYTHON_PROG_ControlStructure.pptx
2024-25 TYBSC(CS)-PYTHON_PROG_ControlStructure.pptx2024-25 TYBSC(CS)-PYTHON_PROG_ControlStructure.pptx
2024-25 TYBSC(CS)-PYTHON_PROG_ControlStructure.pptx
sangeeta borde
 
Training report 1923-b.e-eee-batchno--intern-54 (1).pdf
Training report 1923-b.e-eee-batchno--intern-54 (1).pdfTraining report 1923-b.e-eee-batchno--intern-54 (1).pdf
Training report 1923-b.e-eee-batchno--intern-54 (1).pdf
YadavHarshKr
 
Introduction to Python Programming Basics
Introduction  to  Python  Programming BasicsIntroduction  to  Python  Programming Basics
Introduction to Python Programming Basics
Dhana malar
 
REPORT ON AUDIT COURSE PYTHON BY SANA 2.pdf
REPORT ON AUDIT COURSE PYTHON BY SANA 2.pdfREPORT ON AUDIT COURSE PYTHON BY SANA 2.pdf
REPORT ON AUDIT COURSE PYTHON BY SANA 2.pdf
Sana Khan
 
pengenalan python apa itu python untuk apa.pptx
pengenalan python apa itu python untuk apa.pptxpengenalan python apa itu python untuk apa.pptx
pengenalan python apa itu python untuk apa.pptx
aftaf3
 
Introduction to Python.pptx
Introduction to Python.pptxIntroduction to Python.pptx
Introduction to Python.pptx
SamyakJain461
 
Introduction-To-Python- a guide to master
Introduction-To-Python- a guide to masterIntroduction-To-Python- a guide to master
Introduction-To-Python- a guide to master
ImadM4
 
An Introduction To Python - Python, Print()
An Introduction To Python - Python, Print()An Introduction To Python - Python, Print()
An Introduction To Python - Python, Print()
Blue Elephant Consulting
 
Python.pptx
Python.pptxPython.pptx
Python.pptx
abclara
 
Introduction to Python – Learn Python Programming.pptx
Introduction to Python – Learn Python Programming.pptxIntroduction to Python – Learn Python Programming.pptx
Introduction to Python – Learn Python Programming.pptx
HassanShah396906
 
A Brief Introduction to Python - English
A Brief Introduction to Python - EnglishA Brief Introduction to Python - English
A Brief Introduction to Python - English
Devashish Negi
 
Python Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docxPython Programming and ApplicationsUnit-1.docx
Python Programming and ApplicationsUnit-1.docx
Manohar k
 
Python for students step by step guidance
Python for students step by step guidancePython for students step by step guidance
Python for students step by step guidance
MantoshKumar79
 
Ad

More from bhavesh lande (20)

The Annual G20 Scorecard – Research Performance 2019
The Annual G20 Scorecard – Research Performance 2019 The Annual G20 Scorecard – Research Performance 2019
The Annual G20 Scorecard – Research Performance 2019
bhavesh lande
 
information control and Security system
information control and Security systeminformation control and Security system
information control and Security system
bhavesh lande
 
information technology and infrastructures choices
information technology and  infrastructures choicesinformation technology and  infrastructures choices
information technology and infrastructures choices
bhavesh lande
 
ethical issues,social issues
 ethical issues,social issues ethical issues,social issues
ethical issues,social issues
bhavesh lande
 
managing inforamation system
managing inforamation systemmanaging inforamation system
managing inforamation system
bhavesh lande
 
• E-commerce, e-business ,e-governance
• E-commerce, e-business ,e-governance• E-commerce, e-business ,e-governance
• E-commerce, e-business ,e-governance
bhavesh lande
 
IT and innovations
 IT and  innovations  IT and  innovations
IT and innovations
bhavesh lande
 
organisations and information systems
organisations and  information systemsorganisations and  information systems
organisations and information systems
bhavesh lande
 
IT stratergy and digital goods
IT stratergy and digital goodsIT stratergy and digital goods
IT stratergy and digital goods
bhavesh lande
 
Implement Mapreduce with suitable example using MongoDB.
 Implement Mapreduce with suitable example using MongoDB. Implement Mapreduce with suitable example using MongoDB.
Implement Mapreduce with suitable example using MongoDB.
bhavesh lande
 
aggregation and indexing with suitable example using MongoDB.
aggregation and indexing with suitable example using MongoDB.aggregation and indexing with suitable example using MongoDB.
aggregation and indexing with suitable example using MongoDB.
bhavesh lande
 
Unnamed PL/SQL code block: Use of Control structure and Exception handling i...
 Unnamed PL/SQL code block: Use of Control structure and Exception handling i... Unnamed PL/SQL code block: Use of Control structure and Exception handling i...
Unnamed PL/SQL code block: Use of Control structure and Exception handling i...
bhavesh lande
 
database application using SQL DML statements: all types of Join, Sub-Query ...
 database application using SQL DML statements: all types of Join, Sub-Query ... database application using SQL DML statements: all types of Join, Sub-Query ...
database application using SQL DML statements: all types of Join, Sub-Query ...
bhavesh lande
 
database application using SQL DML statements: Insert, Select, Update, Delet...
 database application using SQL DML statements: Insert, Select, Update, Delet... database application using SQL DML statements: Insert, Select, Update, Delet...
database application using SQL DML statements: Insert, Select, Update, Delet...
bhavesh lande
 
Design and Develop SQL DDL statements which demonstrate the use of SQL objec...
 Design and Develop SQL DDL statements which demonstrate the use of SQL objec... Design and Develop SQL DDL statements which demonstrate the use of SQL objec...
Design and Develop SQL DDL statements which demonstrate the use of SQL objec...
bhavesh lande
 
working with python
working with pythonworking with python
working with python
bhavesh lande
 
applications and advantages of python
applications and advantages of pythonapplications and advantages of python
applications and advantages of python
bhavesh lande
 
tools
toolstools
tools
bhavesh lande
 
data scientists and their role
data scientists and their roledata scientists and their role
data scientists and their role
bhavesh lande
 
applications
applicationsapplications
applications
bhavesh lande
 
The Annual G20 Scorecard – Research Performance 2019
The Annual G20 Scorecard – Research Performance 2019 The Annual G20 Scorecard – Research Performance 2019
The Annual G20 Scorecard – Research Performance 2019
bhavesh lande
 
information control and Security system
information control and Security systeminformation control and Security system
information control and Security system
bhavesh lande
 
information technology and infrastructures choices
information technology and  infrastructures choicesinformation technology and  infrastructures choices
information technology and infrastructures choices
bhavesh lande
 
ethical issues,social issues
 ethical issues,social issues ethical issues,social issues
ethical issues,social issues
bhavesh lande
 
managing inforamation system
managing inforamation systemmanaging inforamation system
managing inforamation system
bhavesh lande
 
• E-commerce, e-business ,e-governance
• E-commerce, e-business ,e-governance• E-commerce, e-business ,e-governance
• E-commerce, e-business ,e-governance
bhavesh lande
 
organisations and information systems
organisations and  information systemsorganisations and  information systems
organisations and information systems
bhavesh lande
 
IT stratergy and digital goods
IT stratergy and digital goodsIT stratergy and digital goods
IT stratergy and digital goods
bhavesh lande
 
Implement Mapreduce with suitable example using MongoDB.
 Implement Mapreduce with suitable example using MongoDB. Implement Mapreduce with suitable example using MongoDB.
Implement Mapreduce with suitable example using MongoDB.
bhavesh lande
 
aggregation and indexing with suitable example using MongoDB.
aggregation and indexing with suitable example using MongoDB.aggregation and indexing with suitable example using MongoDB.
aggregation and indexing with suitable example using MongoDB.
bhavesh lande
 
Unnamed PL/SQL code block: Use of Control structure and Exception handling i...
 Unnamed PL/SQL code block: Use of Control structure and Exception handling i... Unnamed PL/SQL code block: Use of Control structure and Exception handling i...
Unnamed PL/SQL code block: Use of Control structure and Exception handling i...
bhavesh lande
 
database application using SQL DML statements: all types of Join, Sub-Query ...
 database application using SQL DML statements: all types of Join, Sub-Query ... database application using SQL DML statements: all types of Join, Sub-Query ...
database application using SQL DML statements: all types of Join, Sub-Query ...
bhavesh lande
 
database application using SQL DML statements: Insert, Select, Update, Delet...
 database application using SQL DML statements: Insert, Select, Update, Delet... database application using SQL DML statements: Insert, Select, Update, Delet...
database application using SQL DML statements: Insert, Select, Update, Delet...
bhavesh lande
 
Design and Develop SQL DDL statements which demonstrate the use of SQL objec...
 Design and Develop SQL DDL statements which demonstrate the use of SQL objec... Design and Develop SQL DDL statements which demonstrate the use of SQL objec...
Design and Develop SQL DDL statements which demonstrate the use of SQL objec...
bhavesh lande
 
applications and advantages of python
applications and advantages of pythonapplications and advantages of python
applications and advantages of python
bhavesh lande
 
data scientists and their role
data scientists and their roledata scientists and their role
data scientists and their role
bhavesh lande
 
Ad

Recently uploaded (20)

BE PROGRAMjwjwjwjsjsjsjsME TEMPLATE.pptx
BE PROGRAMjwjwjwjsjsjsjsME TEMPLATE.pptxBE PROGRAMjwjwjwjsjsjsjsME TEMPLATE.pptx
BE PROGRAMjwjwjwjsjsjsjsME TEMPLATE.pptx
AaronBaluyut
 
apidays New York 2025 - Spring Modulith Design for Microservices by Renjith R...
apidays New York 2025 - Spring Modulith Design for Microservices by Renjith R...apidays New York 2025 - Spring Modulith Design for Microservices by Renjith R...
apidays New York 2025 - Spring Modulith Design for Microservices by Renjith R...
apidays
 
apidays New York 2025 - Computers are still dumb by Ben Morss (DeepL)
apidays New York 2025 - Computers are still dumb by Ben Morss (DeepL)apidays New York 2025 - Computers are still dumb by Ben Morss (DeepL)
apidays New York 2025 - Computers are still dumb by Ben Morss (DeepL)
apidays
 
apidays New York 2025 - Why an SDK is Needed to Protect APIs from Mobile Apps...
apidays New York 2025 - Why an SDK is Needed to Protect APIs from Mobile Apps...apidays New York 2025 - Why an SDK is Needed to Protect APIs from Mobile Apps...
apidays New York 2025 - Why an SDK is Needed to Protect APIs from Mobile Apps...
apidays
 
Ch01_Introduction_to_Information_Securit
Ch01_Introduction_to_Information_SecuritCh01_Introduction_to_Information_Securit
Ch01_Introduction_to_Information_Securit
KawukiDerrick
 
apidays New York 2025 - Building Agentic Workflows with FDC3 Intents by Nick ...
apidays New York 2025 - Building Agentic Workflows with FDC3 Intents by Nick ...apidays New York 2025 - Building Agentic Workflows with FDC3 Intents by Nick ...
apidays New York 2025 - Building Agentic Workflows with FDC3 Intents by Nick ...
apidays
 
AG-FIRMA FINCOME ARTICLE AI AGENT RAG.pdf
AG-FIRMA FINCOME ARTICLE AI AGENT RAG.pdfAG-FIRMA FINCOME ARTICLE AI AGENT RAG.pdf
AG-FIRMA FINCOME ARTICLE AI AGENT RAG.pdf
Anass Nabil
 
Pause Travail 22 Hostiou Girard 12 juin 2025.pdf
Pause Travail 22 Hostiou Girard 12 juin 2025.pdfPause Travail 22 Hostiou Girard 12 juin 2025.pdf
Pause Travail 22 Hostiou Girard 12 juin 2025.pdf
Institut de l'Elevage - Idele
 
Hypothesis Testing Training Material.pdf
Hypothesis Testing Training Material.pdfHypothesis Testing Training Material.pdf
Hypothesis Testing Training Material.pdf
AbdirahmanAli51
 
Retort Instrumentation laboratory practi
Retort Instrumentation laboratory practiRetort Instrumentation laboratory practi
Retort Instrumentation laboratory practi
ADINDADYAHMUKHLASIN
 
Report_Government Authorities_Index_ENG_FIN.pdf
Report_Government Authorities_Index_ENG_FIN.pdfReport_Government Authorities_Index_ENG_FIN.pdf
Report_Government Authorities_Index_ENG_FIN.pdf
OlhaTatokhina1
 
apidays New York 2025 - Building Scalable AI Systems by Sai Prasad Veluru (Ap...
apidays New York 2025 - Building Scalable AI Systems by Sai Prasad Veluru (Ap...apidays New York 2025 - Building Scalable AI Systems by Sai Prasad Veluru (Ap...
apidays New York 2025 - Building Scalable AI Systems by Sai Prasad Veluru (Ap...
apidays
 
apidays New York 2025 - Unifying OpenAPI & AsyncAPI by Naresh Jain & Hari Kri...
apidays New York 2025 - Unifying OpenAPI & AsyncAPI by Naresh Jain & Hari Kri...apidays New York 2025 - Unifying OpenAPI & AsyncAPI by Naresh Jain & Hari Kri...
apidays New York 2025 - Unifying OpenAPI & AsyncAPI by Naresh Jain & Hari Kri...
apidays
 
apidays Singapore 2025 - What exactly are AI Agents by Aki Ranin (Earthshots ...
apidays Singapore 2025 - What exactly are AI Agents by Aki Ranin (Earthshots ...apidays Singapore 2025 - What exactly are AI Agents by Aki Ranin (Earthshots ...
apidays Singapore 2025 - What exactly are AI Agents by Aki Ranin (Earthshots ...
apidays
 
apidays New York 2025 - Boost API Development Velocity with Practical AI Tool...
apidays New York 2025 - Boost API Development Velocity with Practical AI Tool...apidays New York 2025 - Boost API Development Velocity with Practical AI Tool...
apidays New York 2025 - Boost API Development Velocity with Practical AI Tool...
apidays
 
apidays New York 2025 - Lessons From Two Technical Transformations by Leah Hu...
apidays New York 2025 - Lessons From Two Technical Transformations by Leah Hu...apidays New York 2025 - Lessons From Two Technical Transformations by Leah Hu...
apidays New York 2025 - Lessons From Two Technical Transformations by Leah Hu...
apidays
 
apidays New York 2025 - The Challenge is Not the Pattern, But the Best Integr...
apidays New York 2025 - The Challenge is Not the Pattern, But the Best Integr...apidays New York 2025 - The Challenge is Not the Pattern, But the Best Integr...
apidays New York 2025 - The Challenge is Not the Pattern, But the Best Integr...
apidays
 
Philippine-Constitution-and-Law in hospitality
Philippine-Constitution-and-Law in hospitalityPhilippine-Constitution-and-Law in hospitality
Philippine-Constitution-and-Law in hospitality
kikomendoza006
 
apidays New York 2025 - The FINOS Common Domain Model for Capital Markets by ...
apidays New York 2025 - The FINOS Common Domain Model for Capital Markets by ...apidays New York 2025 - The FINOS Common Domain Model for Capital Markets by ...
apidays New York 2025 - The FINOS Common Domain Model for Capital Markets by ...
apidays
 
Managed Cloud services - Opsio Cloud Man
Managed Cloud services - Opsio Cloud ManManaged Cloud services - Opsio Cloud Man
Managed Cloud services - Opsio Cloud Man
Opsio Cloud
 
BE PROGRAMjwjwjwjsjsjsjsME TEMPLATE.pptx
BE PROGRAMjwjwjwjsjsjsjsME TEMPLATE.pptxBE PROGRAMjwjwjwjsjsjsjsME TEMPLATE.pptx
BE PROGRAMjwjwjwjsjsjsjsME TEMPLATE.pptx
AaronBaluyut
 
apidays New York 2025 - Spring Modulith Design for Microservices by Renjith R...
apidays New York 2025 - Spring Modulith Design for Microservices by Renjith R...apidays New York 2025 - Spring Modulith Design for Microservices by Renjith R...
apidays New York 2025 - Spring Modulith Design for Microservices by Renjith R...
apidays
 
apidays New York 2025 - Computers are still dumb by Ben Morss (DeepL)
apidays New York 2025 - Computers are still dumb by Ben Morss (DeepL)apidays New York 2025 - Computers are still dumb by Ben Morss (DeepL)
apidays New York 2025 - Computers are still dumb by Ben Morss (DeepL)
apidays
 
apidays New York 2025 - Why an SDK is Needed to Protect APIs from Mobile Apps...
apidays New York 2025 - Why an SDK is Needed to Protect APIs from Mobile Apps...apidays New York 2025 - Why an SDK is Needed to Protect APIs from Mobile Apps...
apidays New York 2025 - Why an SDK is Needed to Protect APIs from Mobile Apps...
apidays
 
Ch01_Introduction_to_Information_Securit
Ch01_Introduction_to_Information_SecuritCh01_Introduction_to_Information_Securit
Ch01_Introduction_to_Information_Securit
KawukiDerrick
 
apidays New York 2025 - Building Agentic Workflows with FDC3 Intents by Nick ...
apidays New York 2025 - Building Agentic Workflows with FDC3 Intents by Nick ...apidays New York 2025 - Building Agentic Workflows with FDC3 Intents by Nick ...
apidays New York 2025 - Building Agentic Workflows with FDC3 Intents by Nick ...
apidays
 
AG-FIRMA FINCOME ARTICLE AI AGENT RAG.pdf
AG-FIRMA FINCOME ARTICLE AI AGENT RAG.pdfAG-FIRMA FINCOME ARTICLE AI AGENT RAG.pdf
AG-FIRMA FINCOME ARTICLE AI AGENT RAG.pdf
Anass Nabil
 
Hypothesis Testing Training Material.pdf
Hypothesis Testing Training Material.pdfHypothesis Testing Training Material.pdf
Hypothesis Testing Training Material.pdf
AbdirahmanAli51
 
Retort Instrumentation laboratory practi
Retort Instrumentation laboratory practiRetort Instrumentation laboratory practi
Retort Instrumentation laboratory practi
ADINDADYAHMUKHLASIN
 
Report_Government Authorities_Index_ENG_FIN.pdf
Report_Government Authorities_Index_ENG_FIN.pdfReport_Government Authorities_Index_ENG_FIN.pdf
Report_Government Authorities_Index_ENG_FIN.pdf
OlhaTatokhina1
 
apidays New York 2025 - Building Scalable AI Systems by Sai Prasad Veluru (Ap...
apidays New York 2025 - Building Scalable AI Systems by Sai Prasad Veluru (Ap...apidays New York 2025 - Building Scalable AI Systems by Sai Prasad Veluru (Ap...
apidays New York 2025 - Building Scalable AI Systems by Sai Prasad Veluru (Ap...
apidays
 
apidays New York 2025 - Unifying OpenAPI & AsyncAPI by Naresh Jain & Hari Kri...
apidays New York 2025 - Unifying OpenAPI & AsyncAPI by Naresh Jain & Hari Kri...apidays New York 2025 - Unifying OpenAPI & AsyncAPI by Naresh Jain & Hari Kri...
apidays New York 2025 - Unifying OpenAPI & AsyncAPI by Naresh Jain & Hari Kri...
apidays
 
apidays Singapore 2025 - What exactly are AI Agents by Aki Ranin (Earthshots ...
apidays Singapore 2025 - What exactly are AI Agents by Aki Ranin (Earthshots ...apidays Singapore 2025 - What exactly are AI Agents by Aki Ranin (Earthshots ...
apidays Singapore 2025 - What exactly are AI Agents by Aki Ranin (Earthshots ...
apidays
 
apidays New York 2025 - Boost API Development Velocity with Practical AI Tool...
apidays New York 2025 - Boost API Development Velocity with Practical AI Tool...apidays New York 2025 - Boost API Development Velocity with Practical AI Tool...
apidays New York 2025 - Boost API Development Velocity with Practical AI Tool...
apidays
 
apidays New York 2025 - Lessons From Two Technical Transformations by Leah Hu...
apidays New York 2025 - Lessons From Two Technical Transformations by Leah Hu...apidays New York 2025 - Lessons From Two Technical Transformations by Leah Hu...
apidays New York 2025 - Lessons From Two Technical Transformations by Leah Hu...
apidays
 
apidays New York 2025 - The Challenge is Not the Pattern, But the Best Integr...
apidays New York 2025 - The Challenge is Not the Pattern, But the Best Integr...apidays New York 2025 - The Challenge is Not the Pattern, But the Best Integr...
apidays New York 2025 - The Challenge is Not the Pattern, But the Best Integr...
apidays
 
Philippine-Constitution-and-Law in hospitality
Philippine-Constitution-and-Law in hospitalityPhilippine-Constitution-and-Law in hospitality
Philippine-Constitution-and-Law in hospitality
kikomendoza006
 
apidays New York 2025 - The FINOS Common Domain Model for Capital Markets by ...
apidays New York 2025 - The FINOS Common Domain Model for Capital Markets by ...apidays New York 2025 - The FINOS Common Domain Model for Capital Markets by ...
apidays New York 2025 - The FINOS Common Domain Model for Capital Markets by ...
apidays
 
Managed Cloud services - Opsio Cloud Man
Managed Cloud services - Opsio Cloud ManManaged Cloud services - Opsio Cloud Man
Managed Cloud services - Opsio Cloud Man
Opsio Cloud
 

introduction of python in data science

  • 1. Introduction Of Python In Data Science Python As A Data Science Tool Python is an open-source high-level programming language catered to general-purpose programming. It is instrumental for both IT-related projects as well as the analytical ones. Let’s study python language in detail. History Python was conceived in the year 1980 by Guido Rossum at Centrum Wiskunde and Informatica (CWI) institute as a worthy successor to the ABC language. ABC language was itself a powerful language during the 90s, capable of handling and interfacing with the Amoeba operating system. Python was initially executed in December 1989. Guido Rossum, the guy brain behind Python Programming Language Python is a multi-paradigm programming language. It supports both, object-oriented programming as well as structured programming. Many of its operations support functional and aspect-oriented programming. Rather than having all of its functionalities constructed into its core, Python was designed to be highly extensible. For starters, Van Rossum's created Python with the vision of building a small startup language coupled with a large library of packages and easily extensible interpreter.
  • 2. Python Versions Python 2.0 was released in 2000 with many major changes, including a garbage collector and support for Unicode. The next version, 3.0 was published in 2008. It was a major update of the language that was not completely backward-compatible during its application. Many of its major features were reverse- ported to Python 2.6 and 2.7 version series. Currently, Python 3.7.1 is the latest stable platform which everyone from freshers to experienced professionals is using. Features Flexible/Portable Python is an open-source language. Naturally, it has been ported to many platforms. All python programs will work on any of these platforms without requiring to make any major or minor changes in the code. Python can be used on Linux, Windows, Macintosh, PlayStation and can also be operated on PocketPCs! Freely available and open source Python is free of cost and is available for distribution in the open. One can make duplicates of this software, hack the software's source code and make changes to it. This is one of the reasons why Python is so clean and consistent, it has been guarded and looked after by a community who just want to see a better and improved version of python daily! Support Due to its vast online community, python is marketed as the best programming language till date. Its constant support and regular updates for users and administrators make it dependable and easy to use over other languages. Easy to master Compared to Java or any other languages, it is easy to learn and grasp python at the beginners level. For those who want to build applications and deploy them on the cloud, python is the preferred language. Dynamic Python is a strong-dynamically typed language. Dynamically typed means the variables are taken care and won’t conflict with each other. Semantics/Syntax Indentation Python utilizes whitespace indentation and not curly brackets or keywords to limit the code blocks. An increase in indentation will only occur after certain statements; a decrease in indentation indicates the end of the existing code block. The program's visual structure represents the semantic structure of the code. This feature is also sometimes called as the off-side rule.
  • 3. Statements and control flow We work with control flow and statements all the time for input for sort of algorithm. Let’s see the common ones. If statement- It executes a block of code based on a condition, along with else and else-if For statement- It creates an iteration over an iterable object, storing each element to a local variable for use by the predefined block. While statement- It performs the block of code as long as the predetermined condition is true. Try catch statement- It allows the exceptions to be raised in its code block to be caught and handled by except clauses. Raise statement- It is used to raise a particular exception or raise it again to a catch an exception. Expressions Addition, subtraction, multiplication, and division operations can be easily performed in python. The division is a bit different compared to others. It has two types. They are floor division and integer division. Python uses the ** operator for exponentiation function. From Python 3.5, the new ‘@’ operator was introduced. It is called infix. It is intended to be used by the libraries like NumPy for matrix multiplication in machine learning. Python also incorporates the words and, or, not for its boolean operators rather than the symbols- &&, ||, ! which are used in Java and C. We don't require to declare integers after importing the libraries in python. Specifying the integer and its datatype is mandatory in C and Java. Method Methods are like functions attached to the object's class. The syntax is quite simple and is dignified by instance.method(argument) for normal methods and functions. Python has an inbuilt engine to access instance data, compared to the implicit self (or this) in some other object- oriented programming languages. Typing Python allows avid coders to define their own typing techniques and methods using classes, often instrumental for object-oriented programming. Different instances of classes can be created by calling the class, for instance, the SpamClass(). As python uses duck typing, it consists of both, typed objects and untyped variable names.
  • 4. Libraries Tons of libraries are available for surplus functionality, to say the least. Pythons biggest strength lies in its toolkits and libraries. It includes libraries for creating graphical user interfaces(GUI), establishing a connection to relational databases, generating pseudo-random numbers, performing arithmetic operations with arbitrary precision decimals, changing regular expressions, plus unit testing. Implementation There are some neat implementations in python. CPython is the primary implementation of Python. It is written in C, having the C89 standard and a few C99 features. It compiles all the python programs to an intermediate bytecode which is later executed by its virtual machine. Windows and most modern Unix-like systems support this implementation. After going through the tiring process of understanding and decoding python, we can take a break from the technical stuff and focus on the good part! These are some of the factors why python is way ahead of its competition.