19 Int102
19 Int102
CO1 :: Explain the importance of python language syntax including variables, control statements
and loops to write programs for a wide variety of problems
CO2 :: Demonstrate the use of functions for making programs for various mathematics and
science problems
CO3 :: Use python core data structure like list,tuples,sets and dictionary to store different types
of data
CO4 :: Illustrate the use of python numpy library for storing and manipulating homegenous types
of data
CO5 :: Demonstrate the concept of python pandas library for for data exploration and analysis
CO6 :: Identify suitable method for making informative graphs and charts using matplotlib library
Unit I
Introduction : python programming language, introduction to programs and debugging, formal and
natural language
Variables, Expressions and Statements : values, variables, variables name and keywords,
statements, operators and operand, order of operations, operations on string, composition and
comments
Conditionals and Iteration : modulus operator, boolean expressions, logic operators, conditional ,
alternative execution, nested conditionals and return statements, while statements, encapsulation and
generalization
Unit II
Functions and recursion : function calls, type conversion and coercion, math functions, adding new
function, parameters and argument, recursion and its use
String and Regular Expressions : string a compound data type, length, string traversal, string
slices, comparison, find function, looping and counting
Unit III
Lists : list values, length, membership, operations, slices, deletion, accessing elements, list and for
loops, list parameters and nested list
Tuples and Dictionaries : mutability and tuples, tuple assignment, tuple as return values, random
numbers and list of random numbers, counting and many buckets, dictionaries operations and
methods, sparse matrices ,aliasing and coping
Sets : Set Items, Access Set Items, Add Set Items, Remove Set Items, Loop through the set, Set
Methods
Unit IV
Creating and Manipulating Numerical Data : arrays, creating arrays, basic data types, indexing
and slicing, copies and views, numerical operations on array, Splitting and Joining of arrays,
Concatenation of arrays, Reshaping and Resizing of Arrays
Unit V
Data Exploration and Analysis : Understanding Series Objects, Creating a Series, Accessing Data
from a Series, Exploring and Analysing a Series, Operations on a Series, Understanding Data Frame
Objects, Creating a Data Frame from List, Dictionary and series, Creating a Data Frame from Excel
Spreadsheets and CSV files, Dealing With Null Values and Missing Values in Datasets, Updating and
Accessing a Data Frame, Exploring and Analysing a Data Frame, Statistical Data Analysis
Unit VI
Data Visualization : Drawing a Basic plot, Drawing multiple lines and plots, Subplot Function,
Drawing Bar Graph, Drawing Pie Chart, Drawing Histogram, Drawing Box and Scatter Plot, Sine wave
Plot , Plotting Graph from File using Pandas., Introduction to Seaborn library, Drawing relational plot
of two variables , Drawing categorigical plots, Drawing distribution plot (univariate and pi virate),
Drawing regression plot and matrix plot using Seaborn library.
Text Books:
1. PROGRAMMING AND PROBLEM SOLVING WITH PYTHON by ASHOK NAMDEV KAMATHANE,
MC GRAW HILL