Introduction to Python
Agenda
⚫ Introduction
⚫ Why Python?
⚫ Simple Expressions
⚫ Variables
⚫ Basics of Data Types
⚫ Operators
⚫ Conditional Statements and Loops
Data Science 2
Introduction
⚫ Python is a high-level programming language and was created by Guido van
Rossum
◦ Readability
◦ Ease of Learning
◦ Large Standard Library
◦ Interpreted and Interactive
⚫ Python is also known as a general-purpose programming language, as it is
used in the various domains
◦ Web Development
◦ Software Development
◦ Game Development
◦ AI & ML
◦ Data Analytics
Data Science 3
Why Python?
⚫ Python works on different platforms (Windows, Mac,
Linux)
⚫ Syntax used is simple to understand and code
⚫ Supported by a large community
⚫ Contains many libraries that can be used for data science
tasks, on top of some standard libraries written in Python
⚫ It has the feature of dynamic typing, where the data type of
the variable is determined only during runtime
Data Science 4
Libraries in Python
⚫ The Python standard library consists of more than 200
core modules
⚫ Standard Libraries for Data Science
◦ NumPy (Numerical Computations)
◦ Pandas (Data frames)
◦ Matplotlib (Visualization)
◦ Statsmodels (Statistics)
◦ Scikit-learn (Machine Learning)
Data Science 5
Coding environment -IDE
⚫ Integrated Development Environment (IDE) is a software
product solely developed to support software development
in various or specific programming language(s)
⚫ An IDE usually comprises of
◦ Source code editor
◦ Compiler
◦ Debugger
⚫ Additional features include syntax and error highlighting,
code completion
Data Science 6
THANK YOU