前回記事ではSQLModelの基礎編を紹介しました。本記事ではアプリ化する時のファイル構成やFastAPIとの連動を紹介します。 本章では公式で紹介しているパッケージの作成方法を紹介します。 【SQLModelのパッケージ】 Case1:モデル(DB用テーブルクラス)を一つ ...
This project is part of the Data Analyst Internship – Task 7. The goal is to perform basic sales analysis using SQL inside Python, and visualize the results with a bar chart.
This project explores a full data pipeline using Python, SQL, and Power BI, starting from raw data and ending with an interactive dashboard. The goal was to generate insights on customer behavior, ...
When working with databases in Python, are you writing code like this? sql = "SELECT * FROM users WHERE id = %s" % user_id ...