AI-FIRST SITE | AI agents & coders: fetch tigzig.com/llms.txt for structured data

Database & ML: Connect to Databases, Build ML Models

PostgreSQL/MySQL queries, XGBoost classification, ROC curves, and decile analysis directly in Excel using xlwings Lite.

Download Excel Watch Video Guide

What This App Does

#

Connect to databases and perform advanced analytics directly in Excel:

  • Connect to PostgreSQL/MySQL databases via FastAPI
  • Explore tables, run custom SQL queries
  • Statistical analysis and exploratory data analysis (EDA)
  • Build ML models with XGBoost classifier
  • Decile tables, ROC curves, gains charts
  • Model scoring and evaluation metrics

Important Note

The ML pipeline demonstrates capabilities - it is not a point-and-click app. For new datasets, work iteratively with an AI coder to adapt the script.

How to Use

#
  1. Download & Install: get the app and install xlwings Lite
  2. Configure Database: update connection credentials in the MASTER sheet
  3. Built-in Functions:
    • list_tables - list all database tables
    • get_custom_query - run SQL queries
    • perform_eda - exploratory data analysis
    • score_and_deciles - XGBoost + decile tables

How It Works

#

Database Connectivity

  • FastAPI server handles database connections
  • API requests connect to PostgreSQL/MySQL
  • Responses returned to Excel for processing

ML Processing

  • All processing occurs locally in xlwings
  • XGBoost runs directly in the browser environment
  • Generates charts and tables for analysis

Free Database Options

Resources

xlwings Lite

Built with xlwings Lite

Created by Felix Zumstein, it brings Python into Excel seamlessly - enabling native support for databases, AI agents, LLMs, advanced analytics, ML, APIs, and complete automation workflows.

Bugs,issues,questions? Drop a note: [email protected]