Skip to content

Instantly share code, notes, and snippets.

View thebardchat's full-sized avatar
🎯
🧠 building on 16GB pi5☕ dispatch by day, dev by night

thebardchat thebardchat

🎯
🧠 building on 16GB pi5☕ dispatch by day, dev by night
View GitHub Profile
import pandas as pd
# --- Step 1: Load the CORRECTED data files using a robust method ---
# Using index_col=0 tells pandas to use the first column as the index,
# which permanently solves the 'Aggregate' column key error.
try:
base_df = pd.read_csv(r"Untitled spreadsheet - BASE (1).csv", index_col=0)
gold_df = pd.read_csv(r"Untitled spreadsheet - GOLD (1).csv", index_col=0)
platinum_df = pd.read_csv(r"Untitled spreadsheet - PLATINUM (1).csv", index_col=0)
diamond_df = pd.read_csv(r"Untitled spreadsheet - DIAMOND (1).csv", index_col=0)
@thebardchat
thebardchat / Schedule
Created May 11, 2025 22:56
Scheduled
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Haul Hustle 🚚</title>
<style>
body {
font-family: -apple-system, Arial, sans-serif;
background-color: #f0f0f5;