Phase 0: Python Programming for Data Science

Objective: The "Python Programming for Data Science" module is designed to equip learners with the essential programming skills required for data science.

  1. Introduction to Python-1

    1. What is Python?
    2. What Python can do? Discuss examples such as connection to databases, Web development (Django, Flask), AI, and ML
    3. Comparison to Another Programming Language
    4. Comparison of Python with Excel and SQL
    5. Discuss Python Features such as being Easy to Learn and Use, etc.
    6. How Python is used for Data Science and Data analytics.
  2. Introduction to Python-2

    1. Discuss Python basic syntaxes such as Print(), Indentation, Comments ( Single line and Multiline), Input(), and parameters like end, and sep, etc
    2. Introduction to Variables: What and Why
    3. Difference between variable, identifier, and keyword.
    4. Discuss how to declare, assign, and the rules for variables in Python.
    5. Explanation of different data types using example implementations such as string, integer, float, complex, Boolean, list, tuple, set, and Dictionary.
    6. How to print the type using type() function.
    7. Discuss type conversion using int(). float(), str(), complex(), list(), tuple(), dict(), bool(), set() . use practical implementation
  3. Operators

    1. Definition of operators in programming.
    2. Overview of different types of operators.
    3. Detailed explanation of all types of operators. (Arithmetic, Comparison, Logical, Assignment, Identity, Membership)
    4. Discuss the order of Operations Followed in Python.
    5. Constraints in programming language.
  4. Strings

    1. Discuss strings, common string operations, and methods such as Case Conversion, Slicing, Indexing, Replace, Formatting, Find, Count, Split, Strip, Concatenation, Comparison of strings, and other operations.
  5. Data Structure-1

    1. Explanation of data structures and why we use them.
    2. Overview of Common data structures in Python.
    3. What lists are.
    4. Common functions length, min, max, and sum.
    5. Discuss common operations methods for Indexing, adding, removing, searching, counting, sorting, comparing, and reversing lists, etc.
    6. What list comprehensions are.
    7. What tuples are.
    8. Common functions length, min, max and sum.
    9. Discuss unpacking a tuple with practical implementation and common operations with practical implementation.
    10. Comparison of List and Tuple.
  6. Data Structure-2

    1. What sets are.
    2. Discuss common operations and methods for adding, removing, and joining sets, use of membership operator, etc.
    3. Common functions length, min, max, and sum.
    4. Comparison of Lists, Tuples, Sets.
    5. What dictionaries are.
    6. Discuss the Nested dictionary and practical implementation.
    7. Discuss common operations and methods for accessing, Modifying, adding, updating, and removing dictionary contents, etc.
    8. Common functions length, min, max and sum.
    9. Comparison of Lists, Tuples, Sets, and Dictionaries.
  7. Conditional Statements

    1. What control statements are.
    2. The importance of control statements.
    3. The types of control statements.
    4. Introduce the Conditional Statements ( if, Elif, and else) and their syntax.
    5. Practical example of if, elif, and the else statements to control program flow based on conditions.
    6. Discuss nested if, if-else, and if-elif-else statements with practical implementation.
    7. Discuss conditional statements with shorthand notations with practical implementation.
  8. Looping Statements

    1. What looping statements are.
    2. Understanding what a for loop is.
    3. Discuss Syntax, Iterating over a list, Iterating over a string, Iterating over a range, Looping with enumerate, Else in For Loop with practical implementation.
    4. Discuss the for loop with conditional statements.
    5. Discuss List Comprehension, Generator Expression, and Nested for loop with practical implementation.
    6. Discuss what a while loop is.
    7. Syntax and example implementation of the while loop.
    8. Discuss while loop with conditional statements with practical implementation.
    9. Discuss shorthand and nested while loop with practical implementation
  9. Control Transfer Statement

    1. Introduce what control transfer statements are.
    2. Discuss what a break statement is and its syntax.
    3. Usage in loops.
    4. How break statements work within a nested loop.
    5. Use of break statement to stop an infinite loop.
    6. Discuss examples of break statements.
    7. Discuss what a continue statement is and its syntax.
    8. How continue statement work within a nested loop.
    9. Discuss examples of continue statements.
    10. Discuss a pass statement and its syntax.
    11. Discuss how it works as a placeholder.
    12. Discuss examples of pass statements.
  10. Functions

    1. What are functions, and why are they useful?
    2. Discuss user-defined function and built-in function and their difference.
    3. Syntax for defining functions in Python.
    4. Discuss function parameters and arguments.
    5. Returning values from functions: Using the return statement to return values from functions.
    6. Discuss the difference between print and return statements.
    7. Discuss scope and namespaces.
  11. Exception Handling

  12. Modules

  13. File Handling, Overview of Library

  14. Numpy - 1