import sqlite3
import pandas as pd
import os

db_path = r'd:\Documents\trae_projects\yrtv\database\L3\L3_Features.sqlite'
conn = sqlite3.connect(db_path)
try:
    print("Checking L3 Obj and KAST:")
    df = pd.read_sql_query("""
        SELECT 
            steam_id_64, 
            side_obj_t, side_obj_ct,
            side_kast_t, side_kast_ct
        FROM dm_player_features
        LIMIT 5
    """, conn)
    print(df)
finally:
    conn.close()
