ueshin opened a new pull request, #54630: URL: https://github.com/apache/spark/pull/54630
### What changes were proposed in this pull request? This is a follow-up of apache/spark#54285. Fixes fallback functions. ### Why are the changes needed? apache/spark#54285 changed the behavior of `groupby-apply` with pandas 3, which caused a failure of fallback functions, like `DataFrame.asfreq`, `DataFrame.asof`, etc. ```py >>> psdf.asfreq(freq="30s") Traceback (most recent call last): ... KeyError: "['__tmp_aggregate_col_for_frame_asfreq__'] not found in axis" ``` ### Does this PR introduce _any_ user-facing change? Yes, it will behave more like pandas 3. ### How was this patch tested? The existing tests should pass. ### Was this patch authored or co-authored using generative AI tooling? No. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
