Back close

Course Detail

Course Name Python Programming
Course Code 26DLS506
Program M. Sc. in Data Science with Logistics and Supply Chain Management
Semester 1
Credits 4
Campus Coimbatore

Syllabus

Unit 1

Introduction: History of Python, Need of Python Programming, Applications Basics of Python Programming, Running Python Scripts, Installing Python on Your Computer, Using the Terminal Command Prompt, IDLE, and Other IDEs, Variables, Assignment, Keywords, Input-Output, Indentation. Types, Operators and Expressions: Types – Integers, Strings, Booleans; Operators- Arithmetic Operators, Comparison (Relational) Operators, Assignment Operators, Logical Operators, Bitwise Operators, Membership Operators, Identity Operators, Expressions and order of evaluations Control Flow- if, if-elif-else, for, while, break, continue, pass .Case Study: An Investment Report and Approximating Square Roots. (12 Hrs)

Unit 2

Data Structures: Lists – Operations, Slicing, Methods; Tuples, Sets, Dictionaries, Sequences Comprehensions. Case Study: Nondirective Psychotherapy. (12 Hrs)

Unit 3

Functions: Defining Functions, Calling Functions, Passing Arguments, Keyword Arguments, Default Arguments, Variable-length arguments, Anonymous Functions, Fruitful Functions (Function Returning Values), Scope of the Variables in a Function – Global and Local Variables.Modules: Creating modules, import statement, from. Import statement, name spacing. Python packages: Introduction to PIP, Installing Packages via PIP, Using Python Packages. Text Files: Text Files and Their Format, Writing Text to a File, Writing Numbers to a File, Reading Text from a File, Reading Numbers from a File, Accessing and Manipulating Files and Directories on Disk. Case Study: Gathering Information from a File System. (12 Hrs

Unit 4

Data Gathering and Cleaning: Cleaning Data, Checking for Missing Values, Handling the Missing Values, Reading and Cleaning CSV Data, Merging and Integrating Data, Reading Data from the JSON Format.Regular expressions: Character matching in regular expressions, Extracting data using regular expressions, Combining searching and extracting and Escape character. Case Study: Detecting the e-mail addresses in a text file. (12 Hrs)

Unit 5

Popular Libraries for Data Visualization in Python: Matplotlib, Seaborn, Plotly, Geoplotlib, and Pandas. Data Visualization: Direct Plotting, Line Plot, Bar Plot, Pie Chart, Box Plot, Histogram Plot, Scatter Plot, Seaborn Plotting System, Strip Plot, Box Plot, Swarm Plot, Joint Plot, Matplotlib Plot, Line Plot Bar Chart, Histogram Plot, Scatter Plot, Stack Plot and Pie Chart. (12 Hrs)

Text Books / References
  1. Chun, (2006) Core python programming. Prentice Hall Professional.
  2. Embarak, (2018). Data Analysis and Visualization Using Python: Analyze Data to Create Visualizations for BI Systems. Apress.
  3. Lambert, A. (2011). Fundamentals of Python: First Programs. Cengage Learning.
  4. Severance, (2013). Python for informatics: Exploring information. Create Space.
  5. https://www.w3schools.com/python
  6. Learning Python, Mark Lutz, Orielly
  7. Python Programming: A Modern Approach, Vamsi Kurama, Pearson
  8. VanderPlas, J. (2016). Python data science handbook: Essential tools for working with data. ” O’ Reilly Media, Inc.”.

Objectives and Outcomes

Course Outcomes
CO1 Understand the basic data types, operators, expressions, conditions and looping statements
CO2 Understand and apply data structure concepts and function calls in Python
CO3 Familiarise with functions, modules, packages and libraries in Python
CO4 Execute the Python programme for data cleaning and reading data from different file formats.
CO5 Understand and apply various Data Visualization plots

CO-PO Mapping:

  PO1 PO2 PO3 PO4 PO5 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
CO1 2 3 2 2 2 2 2         3 2
CO2 2 3 2 2 2 2 2         3 2
CO3 2 3 1 2 2 3 3         3 2
CO4 2 2 1 2 2 2 3         3 2
CO5 2 2 1 2 2 2 3         3 2

DISCLAIMER: The appearance of external links on this web site does not constitute endorsement by the School of Biotechnology/Amrita Vishwa Vidyapeetham or the information, products or services contained therein. For other than authorized activities, the Amrita Vishwa Vidyapeetham does not exercise any editorial control over the information you may find at these locations. These links are provided consistent with the stated purpose of this web site.

Admissions Apply Now