Spenserrrr opened a new pull request, #58837: URL: https://github.com/apache/spark/pull/58837
### What changes were proposed in this pull request? Add no-Spark-session golden tests for `pandas.Series.astype` using its default arguments and `copy=False` across the pandas dtypes used by PySpark. ### Why are the changes needed? PySpark relies on `Series.astype` while converting pandas and Arrow values, so dependency upgrades should expose changes in its returned values, dtypes, and exceptions. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Added `test_astype_default` and `test_astype_copy_false`; both passed with PyArrow 18 through 25 against pandas 2.3.3 and pandas 3.0.0, including the minimum-dependency profile. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: GPT-5 -- 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]
