3 ms·
If you have a dataframe of power plant capacities and a dataframe of power plant capacity reductions how would you figure out the available capacities of all yo
by brahbrah 4y ago
If you have a dataframe of power plant capacities and a dataframe of power plant capacity reductions how would you figure out the available capacities of all your power plants. In pandas it would be `capacities_df - reductions_df`. How would you do it in polars or sql, it’s not nearly as nice. Pandas has the benefit of allowing you to work with data in a relational or ndarray style. Rather than one or the other. The api does incur some bloat due to that, but that ability is very valuable.