Polars is more verbose, but simpler. It's core operations "fit the brain". I've used pandas for years, but I still have to regularly google basic indexing stuff.
capacity_df - outage_df
prices.loc['2023-01'] *= 1
There’s many workflows and models that do thousands of these types of operations. prices.loc['2023-01'] *= 1
You can always do df.to_pandas() ... prices.loc['2023-01'] *= 1 ... from_pandas() :)More seriously, you are right, this is a tough one to do in polars. Polars seems to want to work with whole columns at a time, it doesn't give you write access to row sets.