Rant #1: I am working on replacing an internal app with Python. I have the output I produce as DataFrame and the target/productive output as a DataFrame. I do a column-by-column comparison, and if I do .fillna("nan") on both, only one of them actually gets filled with the String "nan", the other does not. Even though both columns are type object and contain identical data. Oh, and .fillna("") does actually properly fill both columns, for some reason.
Rant #2: We have an internal library for working for openpyxl because it comes with so few features out-of-the-box. I am working on adding a totals row to an Excel table, which is possible, but you have to take great care to not produce a broken output sheet. I finally implemented some code that looks to work, now I'm adding a unit test for it, and I literally copy the cells from actual.xlsx to expected.xlsx, and when I open expected.xlsx the next time it is broken!?!?!
How can it be broken, I only edited it with Excel, not even with openpyxl. And the cells I copied were generated with openpyxl, but they come from a sheet that is completely fine. So strange.