Final Week 1 Session-1
Final Week 1 Session-1
Introduction to Python
Lecture on: Basics of Python
Instructor: Akash Rajpuria
Edit Master text styles
2
PREREQUISITE FOR THIS SESSION
Need for
2
Programming
Arithmetic
3
Operations
A Lot of Coding
Practice
What is Data and Data
Science?
WHAT ALL CAN YOU SEE IN THE IMAGE?
WHAT IS DATA?
What is data?
Quantities
Numbers Information
What is
Facts Data? Graphs
Observations Measurement
SO…..
TYPES OF DATA
Requiresless
lessstorage
storage Requires more storage
Requires
Domain
Expertise
Data
Statistics Engineering
Data
Science
Advanced
Visualization Computing
EVOLUTION OF DATA SCIENCE - EXAMPLE
Business Data
Understanding Understanding
Data Preparation
Deployment
Data Modeling
Evolution
UNDERSTANDING CRISP-DM THROUGH THE PROGRAM
CURRICULUM
Data Modeling
Exploratory Data
System Designing and
Analysis, Analysis in
Deployment
Evolution
Excel
Poll 2 (15 Sec)
In a quest to increase the number of users on the platform, a company offers
discounts aggressively, resulting in huge revenue leakage and dwindling profit
margins. What would be your first step as a data scientist/analyst?
Data Understanding
Modeling
Understanding the business problem
Poll 2 (Answer)
In a quest to increase the number of users on the platform, a company offers
discounts aggressively, resulting in huge revenue leakage and dwindling profit
margins. What would be your first step as a data scientist/analyst?
Data Understanding
Modeling
Understanding the business problem
Need For Programming
?
NEED FOR PROGRAMMING - EXAMPLE
Railway Ticket Booking System
Data science
Languages
WHY PYTHON FOR DATA SCIENCE?
Simple syntax
Multiple libraries for data science
applications
GETTING STARTED WITH PYTHON
Floor division
Arithmetic Operations: Demo
OPERATOR PRECEDENCE
Poll 3 (20 Sec)
Solve the expression given below on the basis of your understanding of operator
precedence.
print (6 * 2 // 3)
2
4
12
Poll 3 (Answer)
Solve the expression given below on the basis of your understanding of operator
precedence.
print (6 * 2 // 3)
2
4
12
Variables and Data Types
VARIABLES
There is a need to store the value obtained after the computation to be used later, and this is
when variables come into play
DATA TYPES
Dictionary Float
Python
Data Boolean
Types
Set Strings
Tuple
EXAMPLES OF DATA
Integer 35462216
Floating-point 0.002756
Char H
Boolean True
SUMMARY OF SESSION 1