SQL + Python: Master Data Analysis and Create PDF Reports

preview_player
ะŸะพะบะฐะทะฐั‚ัŒ ะพะฟะธัะฐะฝะธะต

๐——๐—˜๐—ฆ๐—–๐—ฅ๐—œ๐—ฃ๐—ง๐—œ๐—ข๐—ก
โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€
In this tutorial, I'll show you how to use Python and SQL to transform your data into stunning PDF reports. Whether you're an analyst, a business owner, or just looking to create professional-looking reports for your own use, this tutorial will guide you step-by-step through the process.

First, I'll show you how to set up a SQLite database and load sample data into it using Python. Next, I'll demonstrate how to use SQL queries to extract the data you need from the database. Then, I'll use Pandas to manipulate and transform the data, and show you how to create interactive charts with Plotly Express.

Once we have our data prepped and ready, I'll use the FPDF library to generate a beautiful PDF report.

Whether you're a beginner or an experienced Python user, this tutorial will give you the skills you need to create stunning PDF reports with ease. Follow along, and transform your data into stunning reports that will impress your audience!

๐ŸŒ ๐—Ÿ๐—œ๐—ก๐—ž๐—ฆ:

โญ ๐—ง๐—œ๐— ๐—˜๐—ฆ๐—ง๐—”๐— ๐—ฃ๐—ฆ:
0:00 - Introduction
0:33 - Explaining Database Tables
2:05 - Creating Database with Python
3:04 - Inspecting Database
3:53 - Installing & Importing Dependencies
4:23 - Define Paths and Charts
5:24 - Total Sales by Month
8:36 - Total Sales by Product
9:20 - Top Customers by Sales
9:54 - Create PDF Report
11:22 - SQL vs Pandas
12:11 - Close Database Connection
12:48 โ€“ Outro

๐—ง๐—ข๐—ข๐—Ÿ๐—ฆ ๐—”๐—ก๐—— ๐—ฅ๐—˜๐—ฆ๐—ข๐—จ๐—ฅ๐—–๐—˜๐—ฆ
โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€

๐—–๐—ข๐—ก๐—ก๐—˜๐—–๐—ง ๐—ช๐—œ๐—ง๐—› ๐— ๐—˜
โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€โ–€

โ˜• ๐—•๐˜‚๐˜† ๐—บ๐—ฒ ๐—ฎ ๐—ฐ๐—ผ๐—ณ๐—ณ๐—ฒ๐—ฒ?
If you want to support this channel, you can buy me a coffee here:
ะ ะตะบะพะผะตะฝะดะฐั†ะธะธ ะฟะพ ั‚ะตะผะต
ะšะพะผะผะตะฝั‚ะฐั€ะธะธ
ะะฒั‚ะพั€

*Thanks for watching! What's your favourite data analysis tool? Excel, SQL, Python, ... ? Comment below* โคต

CodingIsFun
ะะฒั‚ะพั€

I think it's only you who is able to make a video with so much information in a short time but to explain in an extremely clear and simple way, all my congratulations for this video. ๐Ÿ‘

ricardo.alves.campos
ะะฒั‚ะพั€

This is one of the best channels you tube has ever recommended me..

pardeepsingh
ะะฒั‚ะพั€

You're making a huge impact ! You made it easy to understand and you truly care about your subscriber who really need it ๐Ÿ˜ฎ Thank you so much ๐Ÿ™

sujungpark
ะะฒั‚ะพั€

more tutorials like this please. love it . keep it coming

dev_apostle
ะะฒั‚ะพั€

Its impressive and amazing. You are really rocking and thanks a ton for your efforts!!!

sudharsananss
ะะฒั‚ะพั€

Excellent thanks. The SQL-Python videos are really helpful.

whatis_asis
ะะฒั‚ะพั€

Loved the video! Super informative and a hugely helpful resource. Excited to follow through and check out your other videos.
Dankeschรถn

jimmymahoney
ะะฒั‚ะพั€

This is an amazing tutorial made simple. Thank you!

mazkaibil
ะะฒั‚ะพั€

This is the video i was searching and waiting --- Writing SQL Queries in Python and -- can you pls make some videos again to Automate Excel Works of Employess do in companies -- like applying filters and to make summary according to sellers and those summary --- need to copy and then paste in new excel files as per sellers sheets

NaveenKumar-bloy
ะะฒั‚ะพั€

Loved it, learnt using python with sql which i need to use in my own projects

darkprince
ะะฒั‚ะพั€

Thanks a lot for making this available on youtube

relaxo
ะะฒั‚ะพั€

Thanks that's what I was looking for.

prashlovessamosa
ะะฒั‚ะพั€

Great tutorial.ย I tend to stay away from packages to generate things like pdfs and powerpoint, instead preferring to use Quarto.

solom
ะะฒั‚ะพั€

ยกExcelente video! es bastante trabajo pero estรก impresionante, continรบa asรญ, saludos desde Venezuela

williansuarez
ะะฒั‚ะพั€

I love this tutorial, I'm exciting to recreate the same steps, but with Spark Python and using Machine Learning

miscoadre
ะะฒั‚ะพั€

Hey Coding is Fun,
those videos are really great and have pushed my workouput by a lot!
Could you by any chance tell me which tool did you use for the ER-Model?
Continue the great work!

martinbottcher
ะะฒั‚ะพั€

Excellent video as usual.
Is it possible to do a tutorial on a webapp that combines SQL/Pandas and Streamlit ?
Thank you so much for your efforts !

ordaflash
ะะฒั‚ะพั€

My issue with this tutorial is that the most difficult part is actually glossed over: what does the business need to know? We can investigate whatever we want but we also need things that are actionable. So how do we decide what to look into further? Or are we just doing EDA? For example, you plot revenue per product. But what does that really mean? And if we don't account for price differences, margin, or co-sales (people buy X because they also buy Y) the insights are meaningless.

unusedTV
ะะฒั‚ะพั€

Loved that video. I'm just getting started with python and SQLite. What software do you use for your entity relationship model? Thanks

davewhatever