Automate Excel with Python: From manual grind to one-click workflow

nostarch.com

37 points by teleforce 4 days ago


Havoc - 7 hours ago

These sort of things always seem to assume a fairly relaxed software environment.

In practice I’ve found the big corporates try hard to keep their excel files with financial data and their Python environments with pip & all those associated risks far apart. That’s if pip works at all & isn’t caught by a firewall

janlaureys - 6 hours ago

Been working on a dashboard that takes in a bunch of different public data sources in different formats and pandas has truly been a godsend for this.

I've got csv, txt, xlsx in all different shapes and sizes and with just a few settings I can go through them quite easily and very fast as well.

rantingdemon - 2 hours ago

This is just an advertisement for a book. And a terrible advertisement. No sample chapters to evaluate the book.

delis-thumbs-7e - 6 hours ago

Looking at the content, if you are familiar at all with Python and basic programming, this provides very little new. I sometimes have to stuff massive Excel-abominations with 50k+ rows and rip data I need out of them with Pandas, but it only requires reading Pandas documentation (which is very good) a bit.

But perhaps this might be good if you know no programming and want to make your life easier.

snickmy - 3 hours ago

in a world of ai agents, python is just an implementation detail that you don't need to know, between you and your data/business task

My_Name - 34 minutes ago

"Stop wasting your time on Excel and waste even more coding an Excel parser in Python!"

rrgok - 5 hours ago

I prefer DuckDB

cm2187 - 6 hours ago

Terrible title. Nothing to do with automating excel. From what I can tell it seems to be about ingesting spreadsheets into panda (and incredibly narrow use of Excel) and working outside of Excel.

pbronez - 2 hours ago

What are best practices for using Excel as a front end for python tooling? I’ve got a use case where the business users are maintaining a complex spreadsheet and we need to hook some genuine optimization into it. It’s all fine and good if you assume the people will use the template perfectly, but hahahahahaha

There’s probably some ideal blend of locking regions, in-excel validation, in-python validation, and clean separation of human inputs and machine outputs. Has anyone figured out what that is already?

fomoz - 18 minutes ago

[dead]

bluecomputing - 6 hours ago

[dead]