Free demoJob-oriented courses at Debugshala, Old Palasia, Indore. Freshers, non-IT and year-gap welcome.Book a free demo +91-8982385539

Data Analytics Tutorials

All tutorials

116 free tutorials, in the order we recommend reading them.

Python Tutorial · Python Introduction

Python Tutorial · Python Fundamentals

Python Variables and Literals: Assignment, Types and Examples

Learn how Python variables work as names for values, how assignment and reassignment behave, and every kind of literal: numbers, strings, booleans and None.

9 min read

Python Type Conversion: Implicit vs Explicit Casting Guide

Python type conversion explained: when Python converts types for you, how int(), float(), str() and bool() cast values, and how to clean numbers in text.

8 min read

Python Input and Output: input(), print() and f-strings

Learn Python input and output: read user input with input(), convert it to numbers safely, and format clean reports with print() and f-strings, with examples.

8 min read

Python Operators: Arithmetic, Comparison, Logical and More

Learn every Python operator family with runnable examples: arithmetic, comparison, logical, assignment, membership and identity, plus the precedence rules.

10 min read

Python Numbers and the math Module: int, float and Rounding

Understand Python int, float and complex numbers, why 0.1 + 0.2 is not 0.3, how round() really works, and the math functions analysts use daily.

9 min read

Python Strings and String Methods: Slicing, split and strip

Learn Python strings with indexing, slicing and the string methods analysts use to clean names, cities, phone numbers and product codes in real data.

8 min read

Python String Formatting with f-strings: Decimals, Commas, %

Format numbers, percentages, rupees, dates and aligned report tables with Python f-strings, plus the format spec mini-language and lakh-style commas.

8 min read

Python Tutorial · Python Flow Control

Python Tutorial · Python Data Structures

Python Lists: Create, Index, Slice and Modify (with Examples)

Learn Python lists step by step: indexing, slicing, append, extend, insert, pop and remove, copying without surprises, and nested lists for table-like data.

9 min read

Python Tuples: Immutable Sequences, Unpacking and Use Cases

Learn Python tuples: creating them, immutability, unpacking and star unpacking, tuple keys for grouped totals, and when to pick a tuple over a list.

9 min read

Python Sets: Union, Intersection, Difference and Fast Lookups

Learn Python sets with sales examples: removing duplicates, add and discard, union, intersection and difference, fast membership tests and frozenset.

9 min read

Python Dictionaries: Keys, Values, get(), Loops and Grouping

Learn Python dictionaries with sales data: create and update dicts, get() vs [], loop with items(), count and group rows, merge with |, and nest records.

9 min read

Python List Comprehension: Syntax, if-else, Dict and Set Forms

Learn Python list comprehension step by step: map and filter in one line, if-else inside, dict and set comprehensions, nested loops and when to use a loop.

9 min read

Sorting in Python: sorted() vs sort(), key Functions and Ranks

Learn sorting in Python with sales data: sorted() vs list.sort(), reverse, key functions, sorting dicts by value, multi-column sorts and stable sorting.

9 min read

Python collections Module: Counter, defaultdict and deque

Learn the Python collections module with analyst examples: Counter for counts, defaultdict for grouping, namedtuple records, deque windows and ChainMap.

8 min read

Python Tutorial · Python Functions and Modules

Python Functions: def, return, Docstrings and Reusable Code

Learn Python functions from scratch: define with def, call them, return values instead of printing, return several results, write docstrings and test helpers.

9 min read

Python Function Arguments: Positional, Keyword and Default

Learn Python function arguments: positional vs keyword, default values, the mutable default trap, keyword-only and positional-only parameters, with examples.

9 min read

Python *args and **kwargs: Packing, Unpacking and Forwarding

Learn Python *args and **kwargs: collect any number of arguments, unpack lists and dicts into calls, forward options to other functions, and order parameters.

8 min read

Python Lambda Functions: Syntax, map, filter and pandas apply

Learn Python lambda functions: one-line syntax, lambda vs def, using lambdas as sort keys, with map and filter, in pandas apply, and the late-binding loop trap.

8 min read

Python Recursion: Base Case, Call Stack and Nested Data

Learn Python recursion step by step: base case and recursive case, how the call stack works, summing nested sales trees, recursion limits and caching results.

10 min read

Python Variable Scope: LEGB Rule, global and nonlocal Explained

Learn Python variable scope with the LEGB rule: local, enclosing, global and built-in names, the global and nonlocal keywords, and the UnboundLocalError trap.

9 min read

Python Modules and Imports: import, from, as and __name__

Learn Python modules and imports: import, from-import and aliases, writing your own module, how sys.path finds files, the __name__ guard and stdlib modules.

9 min read

Python Packages: __init__.py, Subpackages and Relative Imports

Learn Python packages: how a folder of modules becomes a package, what __init__.py does, dotted and relative imports, __all__, and a clean project layout.

8 min read

Python Type Hints: Annotations, list[int], Optional and mypy

Learn Python type hints for 3.12+: annotate variables and functions, list[str] and dict[str, float], X | None, TypedDict, type aliases and checking with mypy.

8 min read

Python Tutorial · Python Files and Errors

Python Tutorial · Python OOP

Python Tutorial · Advanced Python

Python Iterators: iter(), next() and the Iterator Protocol

Learn Python iterators: iterable vs iterator, iter() and next(), StopIteration, how for loops work, custom __iter__ and __next__, exhaustion and itertools.

8 min read

Python Generators: yield, Generator Expressions and Pipelines

Learn Python generators: how yield pauses a function, generator expressions, memory savings, lazy data pipelines, yield from and infinite sequences.

8 min read

Python Closures: Nested Functions, nonlocal and Factories

Learn Python closures: nested functions that remember outer variables, __closure__ cells, nonlocal state, function factories and the late-binding loop trap.

8 min read

Python Decorators: @ Syntax, functools.wraps and Real Examples

Learn Python decorators step by step: functions that wrap functions, the @ syntax, functools.wraps, decorators with arguments, stacking, and lru_cache.

9 min read

Python Regex Tutorial: The re Module with Practical Examples

Learn Python regular expressions with the re module: search, findall, sub, groups, named groups, greedy vs lazy, flags and regex in pandas, with real data.

10 min read

Python datetime Tutorial: strftime, timedelta and Time Zones

Learn the Python datetime module: date, time, datetime and timedelta, strftime and strptime format codes, date maths, IST time zones and pandas dates.

9 min read

Python random Module: randint, choice, shuffle, seed and More

Learn the Python random module: random(), randint, choice, choices, sample, shuffle and seed, Monte Carlo simulation, fake test data, secrets and numpy.

10 min read

Python Tutorial · Python Career

SQL Tutorial · SQL Basics

SQL Tutorial · SQL Queries

SQL Aggregate Functions: COUNT, SUM, AVG, MIN and MAX

SQL aggregate functions explained: COUNT(*) vs COUNT(column), SUM, AVG, MIN and MAX, how NULLs change results, and conditional totals you can run.

10 min read

SQL GROUP BY and HAVING: Group, Summarise and Filter Totals

Learn SQL GROUP BY and HAVING with runnable examples: totals per store, multi-column groups, WHERE vs HAVING, and the ungrouped column trap.

10 min read

SQL Joins Explained: INNER, LEFT, RIGHT and FULL OUTER JOIN

SQL joins explained with runnable examples: INNER, LEFT, RIGHT and FULL OUTER JOIN, anti-joins, three-table joins and the ON vs WHERE filter trap.

11 min read

SQL Self Join and Cross Join: Examples, Uses and Pitfalls

Learn SQL self join and cross join with runnable examples: employee-manager lists, comparing rows, and complete report grids with zeros filled in.

10 min read

SQL UNION, INTERSECT and EXCEPT: Combine Query Results

SQL UNION vs UNION ALL, INTERSECT and EXCEPT explained with runnable examples, column rules, MySQL and SQLite support, and grand total rows.

9 min read

SQL Subqueries: Scalar, IN, EXISTS and Correlated Examples

Learn SQL subqueries with runnable examples: scalar values, IN lists, EXISTS, correlated subqueries, derived tables and the NOT IN NULL trap.

10 min read

SQL CTE (WITH Clause): Common Table Expressions Explained

SQL CTEs explained: WITH clause syntax, chaining multiple CTEs, CTE vs subquery vs view, and recursive CTEs for date ranges and hierarchies.

10 min read

SQL Window Functions: ROW_NUMBER, RANK, LAG, Running Totals

SQL window functions explained with runnable examples: OVER and PARTITION BY, ROW_NUMBER vs RANK, top N per group, running totals and LAG/LEAD.

10 min read

SQL CASE WHEN: Conditional Logic in Queries with Examples

Learn SQL CASE WHEN with runnable examples: searched and simple CASE, labelling rows, pivoting with SUM(CASE), custom sorting and the NULL trap.

11 min read

Handling NULL in SQL: IS NULL, COALESCE, NULLIF Explained

Handle NULL in SQL with confidence: three-valued logic, IS NULL, COALESCE vs IFNULL, NULLIF for divide by zero, and how aggregates skip NULLs.

11 min read

SQL String Functions: TRIM, SUBSTR, REPLACE, CONCAT and More

SQL string functions with runnable examples: clean names and phone numbers with TRIM, REPLACE and SUBSTR, join text, and SQLite vs MySQL names.

11 min read

SQL Date Functions: strftime, DATEDIFF and Date Arithmetic

SQL date and time functions explained: extract weekdays, add days, find date gaps, group by week or month, and avoid BETWEEN and UTC-vs-IST bugs.

10 min read

SQL Tutorial · Database Design

SQL Constraints: Primary Key, Foreign Key, UNIQUE and CHECK

SQL constraints explained with runnable examples: primary and foreign keys, composite keys, UNIQUE, CHECK, NOT NULL and ON DELETE CASCADE options.

11 min read

Database Normalization: 1NF, 2NF and 3NF Explained Simply

Database normalization explained with a real bill sheet: update, insert and delete anomalies, 1NF, 2NF and 3NF step by step, and when to denormalize.

10 min read

SQL Indexes Explained: How an Index Speeds Up Your Queries

Learn how SQL indexes work: B-trees, CREATE INDEX, reading EXPLAIN plans, composite indexes and the leftmost prefix rule, and when not to index.

10 min read

SQL Views: How to Create, Use and Update Views with Examples

Learn SQL views with runnable examples: CREATE VIEW, views for security and reuse, updatable views, WITH CHECK OPTION and materialized views compared.

11 min read

SQL Transactions and ACID Properties Explained with Examples

SQL transactions explained with runnable code: BEGIN, COMMIT, ROLLBACK, savepoints, the four ACID properties and isolation levels in MySQL and PostgreSQL.

11 min read

SQL Stored Procedures and Functions in MySQL and PostgreSQL

Write SQL stored procedures and functions in MySQL and PostgreSQL: IN and OUT parameters, error handling, procedure vs function, and SQLite alternatives.

12 min read

SQL Triggers Explained: BEFORE, AFTER and INSTEAD OF Examples

Learn SQL triggers with runnable SQLite examples: AFTER INSERT stock updates, audit logs with OLD and NEW, BEFORE checks and INSTEAD OF triggers on views.

11 min read

SQL Query Optimization: Practical Ways to Speed Up Slow Queries

Speed up slow SQL queries: read EXPLAIN plans, write sargable filters, replace correlated subqueries, fix N+1 queries and use keyset pagination, with timings.

13 min read

SQL Tutorial · SQL Career

R Tutorial · R Basics

What is R Programming? Uses, Features and First Code

What R programming is, who uses it and why analysts love it: vectors, data frames, CRAN packages and your first R code on a real Indore retail dataset.

9 min read

Install R and RStudio on Windows, macOS and Linux (2026)

Install R and RStudio step by step on Windows, macOS and Ubuntu, check your R version, add packages, and run your first R script without common setup errors.

9 min read

R Data Types and Variables: numeric, character, logical

Learn R data types and variables: numeric, integer, character and logical, class() vs typeof(), conversion with as.*(), coercion rules, NA, NULL and dates.

10 min read

R Vectors: Create, Index, Filter and Do Vectorised Maths

Learn R vectors with a week of store sales: create them with c(), seq() and rep(), index by position, name or condition, filter, and use vectorised maths.

9 min read

R Lists: Create, Access and Modify with $, [[ ]] and [ ]

Learn R lists through a real grocery order: create lists, read elements with $ and [[ ]], see why [ ] differs, add or remove items, and nest and loop.

9 min read

R Matrices and Arrays: matrix(), Indexing, apply() and More

Learn R matrices and arrays with store-by-category sales: build with matrix(), name rows and columns, index with [i, j], add totals and stack months.

10 min read

R Data Frames: Create, Filter, Sort and Summarise Tables

Learn R data frames on a real orders table: create and inspect them, pick rows and columns, add columns, filter, sort and total sales with aggregate().

11 min read

Data Analytics and BI · Data Analytics Foundations

Data Analytics and BI · Dashboards and Career

Excel and Macros Tutorial · Excel for Data Analysis

Excel for Data Analysis: A Beginner's Guide for Microsoft 365

Learn Excel for data analysis: the five-step workflow, tidy layouts, Excel Tables, cell references and version differences, plus a map of the 13-part series.

10 min read

Excel Formulas and Functions: SUM, AVERAGE, COUNTIFS, SUMIFS

Excel formulas and functions explained with a distributor's sales sheet: SUM, AVERAGE, COUNT, SUMIFS, COUNTIFS, wildcards, date criteria and error values.

10 min read

Excel IF Function with IFS, AND, OR: Logical Formulas Explained

Master the Excel IF function with IFS, AND, OR, SWITCH and IFERROR, using discount slabs and delivery rules from a real-looking Indian sales sheet.

9 min read

XLOOKUP vs VLOOKUP vs INDEX MATCH in Excel, with Examples

XLOOKUP vs VLOOKUP vs INDEX MATCH: syntax, exact and approximate match, left lookups, last match, two-criteria lookups and which one to use in which version.

9 min read

Excel Text and Date Functions for Cleaning Data: TRIM to EOMONTH

Excel text and date functions for messy exports: TRIM, PROPER, MID, TEXTSPLIT, SUBSTITUTE, date serials, EOMONTH, NETWORKDAYS and the Indian financial year.

9 min read

Data Cleaning in Excel: Duplicates, TRIM, Flash Fill, Validation

Data cleaning in Excel step by step: fix spaces and spelling, convert text numbers, fill blanks, remove duplicates, use Flash Fill and add Data Validation.

10 min read

Excel Pivot Tables Tutorial: Build, Group, Slice and Refresh

Excel pivot tables tutorial with a sales example: create a pivot, use Rows, Columns, Values and Filters, show percentages, group dates, add slicers and refresh.

10 min read

Excel Charts and Dashboard Tutorial: Build a Sales Dashboard

Learn which Excel chart to use, then build a sales dashboard with KPI cells, SUMIFS, pivot charts, slicers and sparklines that updates when data changes.

10 min read

Power Query in Excel: Import, Clean and Combine Data Easily

Learn Power Query in Excel step by step: import CSVs, trim and fix types, unpivot, append and merge tables, combine a folder of files and refresh in one click.

11 min read

Excel and Macros Tutorial · Excel Macros and VBA

Tally and GST Tutorial · Tally Basics

Tally and GST Tutorial · GST in Tally