Uploaded September 2024 | Updated November 2026, 3 hours ago
Show off your data skills! Deploy Shiny, Streamlit, Quarto, and more—all in one place with Posit Connect Cloud. Get started for free: https://pos.it/connect-keith
In this video we learn how to generate analytic report PDFs in Python using the Quarto library. Quarto allows you to write markdown with embedded code and many customization options to easily generate PDF reports, slideshow presentations, and HTML dashboards.
Link to code:
github.com/KeithGalli/country-analytics
Check out David Keyes & the R for the Rest of Us presentation at Posit Conference (there is a free option to sign up to see conference presentations -- the video will be on YouTube soon):
reg.conf.posit.co/flow/posit/positconf24/publiccatalog/page/publiccatalog/session/1712004041983001s1h4
Thank you to DYce for music:
instagram.com/agodnameddyce?utm_source=ig_web_button_share_sheet&igsh=ZDNlZDc0MzIxNw==
----------
Video timeline!
0:00 - What we're building in this video
1:16 - Quarto Installation & setup
6:35- Adding Python code & code output to our reports
11:03 - Specifying the project output directory where reports are rendered to (_quarto.yml)
13:02 - Render output files from the command line (quarto render)
13:53 - Generating more fancy and stylized reports (county-analytics-report.qmd)
16:00 - Modifying parameters/variables/metadata when you render different reports (from command line)
21:45- Generate hundreds of analytics reports from a single script!
23:09 - Deep dive into how the code works & formatting
28:17 - Project Extension Ideas
-------------------------
Follow me on social media!
Instagram | instagram.com/keithgalli
Twitter | twitter.com/keithgalli
TikTok | tiktok.com/@keithgalli
-------------------------
Learn data skills with hands-on exercises & tutorials at Datacamp!
datacamp.pxf.io/c/3588040/1012793/13294
Practice your Python Pandas data science skills with problems on StrataScratch!
stratascratch.com/?via=keith
Join the Python Army to get access to perks!
YouTube - youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw/join
Patreon - patreon.com/keithgalli
*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.
Show off your data skills! Deploy Shiny, Streamlit, Quarto, and more—all in one place with Posit Connect Cloud. Get started for free: https://pos.it/connect-keith
In this video we learn how to generate analytic report PDFs in Python using the Quarto library. Quarto allows you to write markdown with embedded code and many customization options to easily generate PDF reports, slideshow presentations, and HTML dashboards.
Link to code:
github.com/KeithGalli/country-analytics
Check out David Keyes & the R for the Rest of Us presentation at Posit Conference (there is a free option to sign up to see conference presentations -- the video will be on YouTube soon):
reg.conf.posit.co/flow/posit/positconf24/publiccatalog/page/publiccatalog/session/1712004041983001s1h4
Thank you to DYce for music:
instagram.com/agodnameddyce?utm_source=ig_web_button_share_sheet&igsh=ZDNlZDc0MzIxNw==
----------
Video timeline!
0:00 - What we're building in this video
1:16 - Quarto Installation & setup
6:35- Adding Python code & code output to our reports
11:03 - Specifying the project output directory where reports are rendered to (_quarto.yml)
13:02 - Render output files from the command line (quarto render)
13:53 - Generating more fancy and stylized reports (county-analytics-report.qmd)
16:00 - Modifying parameters/variables/metadata when you render different reports (from command line)
21:45- Generate hundreds of analytics reports from a single script!
23:09 - Deep dive into how the code works & formatting
28:17 - Project Extension Ideas
-------------------------
Follow me on social media!
Instagram | instagram.com/keithgalli
Twitter | twitter.com/keithgalli
TikTok | tiktok.com/@keithgalli
-------------------------
Learn data skills with hands-on exercises & tutorials at Datacamp!
datacamp.pxf.io/c/3588040/1012793/13294
Practice your Python Pandas data science skills with problems on StrataScratch!
stratascratch.com/?via=keith
Join the Python Army to get access to perks!
YouTube - youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw/join
Patreon - patreon.com/keithgalli
*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.

![Why Should you Learn Python? - Simple Installation & Setup for Windows, Mac, & Linux!
Quick video on why you should learn to program in python followed by setup instructions for a python development environment using python 3 and sublime text 3. Video outline in comments.
Watch on 1.25x or 1.5x speed to learn faster!
Code Snippet for Sublime Text 3 (Mac, Linux):
{
cmd: [python3, -i, -u, $file],
file_regex: ^[ ]File (...?), line ([0-9]*),
selector: source.python
}
I will be posting tutorial videos every week so make sure to SUBSCRIBE to not miss any of those.
If you have any questions leave a comment down below :)
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. Ive been using Kite for 6 months and I love it! https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=keithgalli&utm_content=description-only
PYTHON TUTORIAL SERIES:
1. Math & Variables: https://youtu.be/XM0CtrJYM2A
2. Conditional Statements (if, elif, else): https://youtu.be/vsVGPcfxEiA
3. Functions: https://youtu.be/5U95tRdYySA
4. Lists & Tuples: https://youtu.be/_zFI6ytHHdY
5. For Loops & While Loops: https://youtu.be/WPF5M_Ic6Fc
Learn to Program a game: https://youtu.be/-8n91btt5d8
Follow me on social media!
Instagram | https://www.instagram.com/keithgalli/
Twitter | https://twitter.com/keithgalli
If you are curious to learn how I make my tutorials, check out this video: https://youtu.be/LEO4igyXbLs
*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links. Why Should you Learn Python? - Simple Installation & Setup for Windows, Mac, & Linux!](https://i.ytimg.com/vi/RJL6Y761TNE/mqdefault.jpg)






![Python Data Science Project Ideas! (for all skill levels)
Learn data skills with hands-on exercises & tutorials at Datacamp!
https://datacamp.pxf.io/c/3588040/1012793/13294
In this video, we walk through eight project ideas to help you build up your data science skills. All of the resources mentioned in the video can be found here in the description.
Covid-19 Analysis (2:16):
- Johns Hopkins Data: https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data/csse_covid_19_time_series
- Code that I wrote: https://github.com/KeithGalli/Data-Science-Project-Ideas/blob/master/Covid/Covid%20Analysis.ipynb
- Kaggle: https://www.kaggle.com/covid19
- @sentdex kaggle video: https://youtu.be/S6GVXk6kbcs
- @3blue1brown simulations video: https://youtu.be/gxAaO2rsdIs
Board Game AI (3:16):
- Overview video: https://youtu.be/y7AKtWGOPAE
- Implementing minimax algorithm in python: https://youtu.be/MMLtza3CZFM
- Reinforcement learning (Snake) tutorial: https://towardsdatascience.com/how-to-teach-an-ai-to-play-games-deep-reinforcement-learning-28f9b920440a
- AlphaZero chess tutorial: https://towardsdatascience.com/create-ai-for-your-own-board-game-from-scratch-alpha-zero-part-3-f22761372245
- @googledeepmind AlphaGo Documentary: https://youtu.be/WXuK6gekU1Y
Reddit, Data is Beautiful (4:50):
- Thread url: https://www.reddit.com/r/dataisbeautiful/
- Population changes chart: https://www.reddit.com/r/dataisbeautiful/comments/fr8q34/change_in_population_by_county_between_2010_and/
- S&P 500 recoveries chart: https://www.reddit.com/r/dataisbeautiful/comments/frzlbt/sp_500_recovers_during_major_crashes_oc/
Text Sentiment Analysis Tool (6:48):
- My full tutorial (machine learning w/ sklearn): https://youtu.be/M9Itm95JzL0
- Learn about Transformers: http://jalammar.github.io/illustrated-transformer/
- BERT Paper: https://arxiv.org/pdf/1810.04805.pdf
- Spacy NLP Library: https://explosion.ai/blog/spacy-transformers
- YouTube API: https://developers.google.com/youtube/v3/quickstart/python
Sports Analysis (8:34):
- My script to webscrape sports data: https://github.com/KeithGalli/Data-Science-Project-Ideas/blob/master/Sports/extract_data.py
- Basketball reference site that I scraped: https://www.basketball-reference.com/leagues/NBA_2020_per_game.html
Stock Trading Bot (10:12):
- Alpaca Site: https://alpaca.markets/
- Alpaca Tutorials: https://alpaca.markets/docs/get-started-with-alpaca/tutorial-videos/
- Quantopian (to learn more & backtest your trading strategies): https://www.quantopian.com/tutorials/getting-started
House Pricing Prediction (12:02):
- Link to competition: https://www.kaggle.com/c/house-prices-advanced-regression-techniques
Miscellaneous Kaggle Projects (13:06):
- Kaggle Data: https://www.kaggle.com/datasets
- Airbnb Data: https://www.kaggle.com/dgomonov/new-york-city-airbnb-open-data
- My real world data science tutorial: https://youtu.be/eMOA1pPVUc4
Hope you guys enjoyed this video! If you have any questions about any of these projects let me know in the comments. Like & Subscribe if you havent already :).
Some skills you should hopefully take away from these projects:
- Analysis with Python Pandas Library
- Visualization with Python Matplotlib Library
- AI/Machine Learning skills with scikit learn library
- Regression Techniques
- Exploratory Data Analysis
Follow me on social media!
Instagram | https://www.instagram.com/keithgalli/
Twitter | https://twitter.com/keithgalli
~ Intro Music ~
Track: Sunflower — Soyb [Audio Library Release]
Music provided by Audio Library Plus
Watch: https://youtu.be/dG1U3NuR9Pk
Free Download / Stream: https://alplus.io/sunflower
If you are curious to learn how I make my tutorials, check out this video: https://youtu.be/LEO4igyXbLs
Practice your Python Pandas data science skills with problems on StrataScratch!
https://stratascratch.com/?via=keith
Join the Python Army to get access to perks!
YouTube - https://www.youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw/join
Patreon - https://www.patreon.com/keithgalli Python Data Science Project Ideas! (for all skill levels)](https://i.ytimg.com/vi/V5_waf_9_rU/mqdefault.jpg)

