Python for Data Analytics

Week 1: Python Fundamentals
  • Introduction to Python in Data Analytics

  • Installing Python, IDEs

  • Variables, Data Types, and Type Conversion

  • Arithmetic, Logical & Comparison Operators

  • Print statements, input(), type()

  • Conditional Statements: if, elif, else

  • Loops: for, while, range()

  • Loop control: break, continue, pass

  • Real-world use: looping through dataset rows

  • Lists, Tuples, Sets, Dictionaries

  • Indexing, Slicing, Nested Data Structures

  • Built-in functions like len(), sorted(), sum()

  • List and Dictionary Comprehensions

  • Defining and Calling Functions

  • Positional, Keyword, and Default Arguments

  • Return values, Scope of Variables

  • Lambda Functions

  • Writing Reusable Analytics Functions

  • Why OOP in Analytics

  • Creating Classes and Objects

  • __init__() constructor

  • Instance Variables and Methods

  • Use Case: Creating a Data Preprocessing Class

  • Reading/Writing CSV, TXT, JSON

  • Using with open(), readlines(), write()

  • Try, Except, Finally

  • Use Case: Reading and Cleaning a File with OOP

  • Why NumPy: Speed & Efficiency

  • Arrays, Array Slicing, Reshaping

  • Mathematical Operations on Arrays

  • Broadcasting and Vectorization

  • Aggregation: mean(), sum(), std()

  • Series and DataFrame Creation

  • Importing Data (CSV, Excel)

  • Data Cleaning: Missing Values, Duplicates

  • Filtering, Sorting, GroupBy

  • Use Case: Build a DataAnalyzer Class

  • Matplotlib: Line, Bar, Pie, Scatter

  • Seaborn: Countplot, Boxplot, Heatmap, Pairplot

  • Customizing Titles, Legends, Colors

  • Plotly for Interactive Charts

  • Create Plotter class for automation

  • Statistical Measures: Mean, Median, Mode, Std

  • Correlation Matrix

  • Outlier Detection (Z-score, IQR)

  • Combining Pandas + Visualization

  • Mini Project: Sales or Survey Dataset

Scroll to Top