applyInPandas / mapInPandas group-wise is useful when:
Select an answer to reveal the explanation.
Short Explanation and Infographic
Grouped pandas function API = per-store/per-entity sklearn in parallel.
Full explanation below image
Full Explanation
Many multi-series forecasting/model patterns use this.