Data Science with Python

Data Science is Python is a short course offered at Sunway College Kathmandu in partnership with NCC, UK.

Entry Requirement: 

  • Willingness to invest a minimum of 15 hours per week 
  • Programming Basics in QBasic/C/C++ or similar is preferable
  • No particular education requirement
  • The selection of the candidate is subject to a comprehensive test to analyze their knowledge level

Basic Course(2 months)

Python

1: Introduction to Python

  • Introduction to programming and Python
  • Setting up Python environment (IDEs, text editors, online interpreters)
  • Writing and running your first Python program
  • Variables, data types, and basic operations
  • Comments and code structure

2: Control Structures

  • Conditional statements (if, else, elif)
  • Comparison operators and boolean logic
  • Loops (for and while)
  • Break and continue statements
  • Practical exercises and mini-projects

3: Functions and Modules

  • Defining and calling functions
  • Parameters and return values
  • Scope and lifetime of variables
  • Introduction to built-in functions and modules
  • Creating and importing custom modules

4: Data Structures

  • Lists, tuples, and sets
  • Accessing and manipulating elements
  • List comprehensions
  • Dictionaries and key-value pairs
  • Practical exercises involving data structures

5: Exception Handling in Python

  • Understanding exceptions in Python
  • Importance of exception handling
  • Types of exceptions and their meaning
  • try-except blocks to handle exceptions
  • Catching specific exceptions
  • Handling multiple exceptions
  • Using the try-except-else-finally blocks
  • Raising Exceptions

6: File Handling

  • Reading from and writing to files
  • Working with text and binary files
  • Exception handling (try, except, finally)
  • CSV and JSON file formats
  • Practical file processing examples

7: Object-Oriented Programming (OOP)

  • Introduction to OOP concepts
  • Classes and objects
  • Attributes and methods
  • Encapsulation, inheritance, and polymorphism
  • Creating and using classes in Python

8: Debugging and Testing

  • Debugging techniques and tools
  • Common errors and how to fix them
  • Writing and running unit tests
  • Using assertions for testing
  • Best practices for writing maintainable code

Data Analysis 

1.Introduction to Data Analysis with Python

  • Overview of data analysis and its importance
  • Introduction to key libraries: NumPy, pandas, and matplotlib
  • Loading and exploring datasets using pandas
  • Basic data exploration and summary statistics