Moocs seminar:
Python for data
analysis
NAME: GAURAV RANA ROLL NO: 31
COURSE: B.C.A UNIVERSITY ROLL NO: 2221434
SEMESTER: 03
Python
Programming:
Python was created by Guido van Rossum, and first released on
February 20, 1991.
Python programming language comes from an old BBC television
comedy sketch series called Monty Python's Flying Circus.
It was mainly developed for emphasis on code readability, and its
syntax allows programmers to express concepts in fewer lines of code.
Data types used in
python:-
PYTHON INCLUDES 4 BASIC DATA TYPES:-
NUMERIC TYPE(INT,FLOAT,COMPLEX).
STRING TYPE(STR).
BOOLEAN TYPE(BOOL).
COLLECTION DATA TYPE(TUPLE,LIST,DICT,SET).
Operators in python:-
Loops In python:-
Python Programming supports only two loops, i.e For loop and While Loop.
For Loop:-
A for loop in Python is used to iterate over a sequence (list, tuple, set,
dictionary, and string).
Syntax:
For loop_variable in range():
Statement(s).
While loop:-
• The while loop is used to execute a set of statements as long as
a condition is true.
Syntax:-
While(condition):
Statement(s)
Data Analysis and Data
Analytics :
Data Analysis is the process of systematically applying statistical
and/or logical techniques to describe and illustrate, condense and
recap, and evaluate data.
Data analytics converts raw data into actionable insights. It includes a
range of tools, technologies, and processes used to find trends and
solve problems by using data.
Data analytics can shape business processes, improve decision-
making, and foster business growth.
Types of data
analysis:-
DESCIPTIVE ANALYSIS(“WHAT HAPPENED”)
DIAGNOSTIC ANALYSIS(“WHY DID THIS HAPPENED”)
PREDICTIVE ANALYSIS(“WILL THIS HAPPEN AGAIN”)
PRESCRIPTIVE ANALYSIS(“WHAT SHOULD WE DO”)
Data analytics life Cycle:-
Discovery
Data Preparation
Model Planning
Model Building
Communication Results
Operationalize
Sampling:-
Sampling is a process in statistical analysis where researchers
take a predetermined number of observations from a larger
population.
Sampling allows researchers to conduct studies about a large
group by using a small portion of the population.
In other words, sampling is the selection of a subset or a statistical
sample (termed sample for short) of individuals from within a
statistical population to estimate characteristics of the whole population.
Types of Sampling:-
• SIMPLE RANDOM SAMPLING(SRS)
• STRATIFIED SAMPLING
• CLUSTER SAMPLING
• SYSTEMATIC SAMPLING
• CONVIENIENCE SAMPLING