Automate Excel | How to produce beautiful, well formatted reports with Python | Pandas | XlsxWriter
BI Insights Inc
@biinsightsincAbout
Hi, I am Haq, a Data Analyst and Engineer. On this channel I talk/share tips and tricks on Business Intelligence tools, Data, Data Warehouse and Source Control. I have been involved in many Data Analytics and Process Automation projects. I am passionate about finding new ways and techniques to enhance the Data Analysis process. On this channel I create tutorials for people who: • are looking for a way to learn and use the power of Python in their day-to-day work. • are looking to automate Data Analysis processes using PowerBI, Cognos and Python • want to learn Data Analysis & Data Science to perform impactful analysis. • are working with Data and want to find new ways to of doing things • are looking to use Source Control to house their code If this sounds exciting to you, consider subscribing and turning on the notifications, so you don’t miss any content. Happy Coding everyone. May the power of the code be with you!
Video Description
Python Automation Tutorial In this video we'll cover the basics of how to automate your excel reports. we will see how to produce well composed, visually appealing reports in excel. Pandas makes it very easy to output a DataFrame to Excel. However, there are limited options for customizing the output and using Excel’s features to make your output as useful as it could be. Fortunately, it is easy to use the excellent XlsxWriter module to customize and enhance the Excel workbooks created by Panda’s to_excel function. We will use XlsxWriter and Pandas to produce a well composed, visually appealing, and practical Excel workbooks. What is XlsxWriter? XlsxWriter is a Python module for creating Excel XLSX files. Link to XlsxWriter Library: https://xlsxwriter.readthedocs.io/index.html 💻 Code: https://github.com/hnawaz007/pythondataanalysis/tree/main/AutomateExcelReports ⚙️ Set up Python and Jupyter Environment: https://www.youtube.com/watch?v=B0G-44dqHRM&t Link to Pandas tips and tricks video: https://www.youtube.com/watch?v=-jerzfh2bS0&t --------------------------------------------- Follow me on social media! Subscribe: https://www.youtube.com/c/HaqNawaz Github: https://github.com/hnawaz007 Instagram: https://www.instagram.com/bi_insights_inc LinkedIn: https://www.linkedin.com/in/haq-nawaz/ --------------------------------------------- More information about the XlsxWriter can be found here: https://xlsxwriter.readthedocs.io/index.html #Pandas #ExcelReports #XlsxWriter Topics covered in this video: 0:00 - Intro to XlsxWriter 2:14 - Import libraries and read data 2:44 - Select & rename columns 2:57 - Multiple filter conditions, add new column 3:31 Export simple output to excel 4:21 - XlsxWriter writer, workbook, worksheet 5:19 - Set zoom, format headers & add title 6:19 Format numbers and columns 7:09 Add report totals 8:25 Export formatted report to Excel
Streamline Excel Automation
AI-recommended products based on this video

Freenove Ultimate Starter Kit for BBC micro bit (V2 Included), 316-Page Detailed Tutorial, 225 Items, 44 Projects, Blocks and Python Code

【DDR3 RAM Laptop Only】 GIGASTONE 16GB Kit (2x8GB) DDR3/DDR3L 1600MHz (1333MHz) PC3-12800 (PC3-10600) CL11 1.35V/1.5V 2Rx8 SODIMM 204 Pin Unbuffered Non ECC High Performance Notebook Memory Upgrade

TEAMGROUP Elite DDR4 16GB Kit (2 x 8GB) 3200MHz PC4-25600 CL22 Unbuffered Non-ECC 1.2V SODIMM 260-Pin Laptop Notebook PC Computer Memory Module Ram Upgrade - TED416G3200C22DC-S01






