There is also Polars [0], which is backed by arrow and a great alternative to pandas.
I would also be curious about Numpy, since I know you can transparently map data to a Numpy array, but that's just "raw" fixed-width binary data and not something more structured like Arrow.
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.