Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Using Python With Excel

via Coursera

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
Excel can be a blessing and a curse. Working with small amounts of data and simple operations? Excel is your go-to tool. However, Excel's limitations show themselves whenever you need to work with large amounts of data and perform the types of complex operations necessary to compile key analytics, and pushing a spreadsheet past its comfort zone usually means slower performance. Enter Python, rapidly becoming one of the world's most popular programming languages. As a powerful tool that can speed up your data operations, Python, in conjunction with Excel, lets you inspect, clean, and filter data, along with the ability to create memorable and dynamic reports that deliver crucial business insights. Through the pandas and openpyxl libraries, you'll load and reshape data, build and format workbooks directly through code, and automate reporting work that used to take hours by hand. Whether it's converting data, creating visually striking graphs and charts, or shaping large amounts of data in any number of useful ways, you'll find a new-found ease and efficiency with Python that would be otherwise unattainable in Excel alone. By the end of this course, you'll combine data from multiple sources and build fully automated, visually polished Excel reports.

Syllabus

  • Setting Up Python and Pandas for Excel Work
    • Excel starts to strain the moment your data or your workflow outgrows a single spreadsheet. In this module, you'll set up a working Jupyter Notebook environment and import the pandas library so you're ready to work with tabular data programmatically.
  • Loading, Inspecting, and Manipulating Data with Pandas
    • A DataFrame full of thousands of rows is only useful if you can get data into it, make sense of what's inside, and reshape it into something you can actually analyze. In this module, you'll load data from Excel into pandas, inspect and summarize what you find, transform rows and columns, and work with dates and times the way pandas handles them best.
  • Structuring and Formatting Workbooks With Openpyxl
    • A pandas DataFrame can hold your data, but it has no opinion about fonts, column widths, or how a spreadsheet should actually look to someone opening it in Excel. In this module, you'll use openpyxl to build and modify workbooks directly, select specific cells and ranges, apply formatting, and define named ranges and tables.
  • Building Automated Excel Reports With Python
    • A polished Excel report rarely comes from one tool alone; it's pandas doing the heavy lifting on the data and openpyxl doing the finishing touches. In this module, you'll combine data from multiple sheets, tame a large dataset, apply conditional formatting, and build both native Excel charts and Python-generated plots inside a workbook.
  • Conclusion
    • You've now got a working toolkit of pandas and openpyxl skills that most Excel users never develop, but the real payoff only shows up once you start using them on your own reports. In this module, you'll wrap up the course and see where to go next to keep building on what you've learned.

Taught by

Madecraft

Reviews

Start your review of Using Python With Excel

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.