Welcome to the official repository for DSMA 113: Introduction to Python Programming, part of the Bachelor in Data Science program at Kathmandu University. This course provides a comprehensive foundation in Python, covering fundamental programming concepts, data structures, object-oriented principles, and essential libraries for data science.
- Course Code: DSMA 113
- Credits: 3
- Lecture Hours: 45
- Institution: Kathmandu University
- Program: Bachelor in Data Science
By the end of this course, students will be able to:
- Understand essential programming concepts: syntax, data types, variables, operators.
- Develop efficient algorithms and apply computational thinking.
- Utilize Python’s built-in data structures (lists, tuples, dictionaries, sets).
- Implement object-oriented programming (OOP) concepts.
- Handle files for reading/writing operations.
- Utilize popular Python libraries like NumPy, Pandas, and Matplotlib for data manipulation and visualization.
- Overview of Python, installation, using IDLE and Jupyter Notebook
- Virtual environments, comments, indentation, tokens, operators
- Conditional Statements:
if
,if-else
,if-elif-else
- Looping Statements:
for
,while
- Exception Handling
- Numerics, Strings, Lists, Tuples, Sets, Dictionaries
- Benefits, creation, argument handling, lambda and recursive functions
- Classes, encapsulation, inheritance, polymorphism, data hiding
- File modes, reading/writing,
os
module
- NumPy: Arrays, indexing, broadcasting, statistical functions
- Pandas: DataFrames, indexing, missing data, merging, CSVs
- Matplotlib: Plotting and visualization (scatter, bar, histogram, etc.)
- Project design, module decomposition, data flow diagrams
This repository contains lab exercises for each course unit. The final project will apply skills learned throughout the course. Project ideas include:
- Exploratory Data Analysis (EDA): Analyzing datasets to uncover patterns.
- Regression Analysis: Implementing regression models for predicting outcomes.