Exploring openpyxl

Discover the automation of Excel file handling with openpyxl, gaining valuable skills for seamless data management.

There are many reasons to prefer .csv over .xlsx files; for instance, they’re faster, consume less memory, and are text editor-compatible. But what if our boss has only asked for a .xlsx file? We’ll have to fulfill these requirements. To export the distances between all stores as a .xlsx file, we only need to modify the code in lines 34 and 35.

Get hands-on with 1400+ tech skills courses.