Skip to content
PradhapkumarPublic

About

Data Science & SQL Analytics Portfolio — Python, Pandas, NumPy & MySQL case studies covering FinTech spend intelligence, SQL fraud detection, behavioural profiling, and OTT retention analytics

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

UNLOX-DS — Data Science & SQL Analytics Portfolio

End-to-End Python, Pandas, NumPy & MySQL Analytics Case Studies

Four applied data analytics projects spanning conversational behaviour profiling, personal fintech spend intelligence, SQL financial fraud detection, and OTT streaming retention analytics.

Python Pandas NumPy MySQL
Jupyter Domain License


Overview

UNLOX-DS is a curated Data Science and SQL Analytics portfolio by Pradhap Kumar S, showcasing practical, business-driven problem solving across four real-world analytical domains: social behaviour analytics, personal finance & UPI transaction intelligence, financial fraud detection, and subscription/OTT product analytics. Each project moves from raw, messy data or relational schemas to clean pipelines, behavioural metrics, and actionable insights.


Projects at a Glance

# Project Name Domain Core Stack File
1 GroupDNA Conversational & Behavioural Analytics Python, NumPy, datetime PRADHAPKUMAR_MINOR_PROJECT_1.ipynb
2 SpendDNA FinTech / Bank & UPI Spend Intelligence Python, Pandas, NumPy Pradhapkumar_minorproject2.ipynb
3 RedFlag: The Fraud Files Financial Fraud Pattern Detection SQL (MySQL, CTEs, Aggregations) PRADHAPKUMAR_S_MINOR_PROJECT_3 (1).doc
4 BingePlay Analytics OTT Streaming & Retention Analytics Python, mysql.connector, Pandas, MySQL _BingePlay_Project (1).doc

Project Breakdown

1. GroupDNA — Chat & Behavioural Profiling (Minor Project 1)

  • Objective: Transform raw group chat logs into participant engagement metrics, activity heatmaps, and communication archetypes.
  • Pipeline:
    • Custom chat parser & group overview statistics (participants, message counts, date ranges).
    • Temporal analysis for peak active days and hours.
    • NumPy matrix-based activity heatmap across participants and time windows.
    • Top-10 keyword extraction, response speed & silent streak computation, and rule-based personality archetypes.

2. SpendDNA — Wallet Story Analysis (Minor Project 2)

  • Objective: Convert 6 months of noisy bank and UPI transaction records into structured personal finance and behavioural spending insights.
  • Pipeline:
    • Data Cleaning: Standardized mixed date formats (datetime), stripped currency symbols (₹, Rs., commas) into numeric amounts, normalized transaction types (DR/CR → debit/credit), and removed invalid/duplicate rows.
    • Feature Engineering: String-based vendor extraction from raw transaction descriptions and business-friendly category mapping.
    • Analytics: GroupBy category/monthly spend trends, behavioural profiling, anomaly detection, and executive summary reporting.

3. RedFlag: The Fraud Files — SQL Fraud Detection (Minor Project 3)

  • Objective: Identify suspicious financial behaviour across transaction logs using targeted SQL detection rules (redflag.transactions).
  • Fraud Patterns Implemented:
    • Velocity Fraud & Velocity Spikes: High daily transaction frequency (>= 30/day) and monthly spikes (5x user baseline via CTEs).
    • Card Testing & Structuring: Repeated micro-transactions (< ₹10), round-amount clustering, and just-under-threshold structuring (₹9,999).
    • Behavioural & Network Risk: Failed-then-succeeded bursts (TIMESTAMPDIFF within 10 minutes), odd-hour concentration (2 AM – 5 AM), mule account credit bursts, refund abuse (> 40%), merchant collusion (<= 5 unique users), and dormant-then-active reactivation (>= 90 days).

4. BingePlay — Streaming Product & Churn Analytics (SQL Minor Project 4)

  • Objective: Query a relational OTT database (BingePlay) from Python (mysql.connector + pandas.read_sql) to evaluate revenue, engagement, and churn risk.
  • 12 Business Questions Solved:
    • Revenue & Growth: Active subscriptions & MRR (2,340 active / ₹784,260 monthly revenue), monthly signup cohorts, and over-paying Premium/Family user detection.
    • Content & Device Engagement: Watch-session completion rates by device, ratings distribution, Originals vs. Acquired performance, and binge-day detection.
    • Retention & Churn: Q1 signups who never watched, plan upgrade paths, cliffhanger comeback analysis, weekly engagement streaks, and churn signal detection.

Core Skills Demonstrated

  • Data Wrangling & ETL: Cleaning inconsistent dates, currency strings, missing values, and duplicates in Pandas.
  • Analytical & Numerical Computing: Matrix heatmaps, aggregations, and behavioural segmentation in NumPy & Python.
  • Production-Style SQL: GROUP BY/HAVING, CASE logic, self-joins with TIMESTAMPDIFF, DATEDIFF, and multi-step CTEs (WITH).
  • Python–Database Integration: Parameterized SQL execution and DataFrame reporting using mysql.connector and pandas.read_sql.

Repository Structure

UNLOX-DS/
├── PRADHAPKUMAR_MINOR_PROJECT_1.ipynb        # Project 1: GroupDNA (Python + NumPy)
├── Pradhapkumar_minorproject2.ipynb          # Project 2: SpendDNA (Python + Pandas + NumPy)
├── PRADHAPKUMAR_S_MINOR_PROJECT_3 (1).doc    # Project 3: RedFlag SQL Fraud Detection
├── _BingePlay_Project (1).doc                # Project 4: BingePlay SQL + Python Analytics
├── LICENSE                                   # MIT License
└── README.md                                 # Portfolio documentation

How to Explore Locally

# Clone the repository
git clone https://github.com/Pradhapkumar/UNLOX-DS.git
cd UNLOX-DS

# Open Jupyter Notebooks
jupyter notebook

Note: .ipynb files render directly on GitHub for quick recruiter review; .doc files contain the complete documented SQL queries and Python-MySQL outputs.


License

This repository is licensed under the MIT License — see the LICENSE file for details.

About

Data Science & SQL Analytics Portfolio — Python, Pandas, NumPy & MySQL case studies covering FinTech spend intelligence, SQL fraud detection, behavioural profiling, and OTT retention analytics

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages