Yikun opened a new pull request, #37217:
URL: https://github.com/apache/spark/pull/37217

   ### What changes were proposed in this pull request?
   
   Respect Series.concat sort parameter when `num_series == 1` to follow 1.4.3 
behavior.
   
   ### Why are the changes needed?
   In https://github.com/apache/spark/pull/36711, we follow the pandas 1.4.2 
behaviors to respect Series.concat sort parameter except `num_series == 1` case.
   
   In [pandas 1.4.3](https://github.com/pandas-dev/pandas/releases/tag/v1.4.3), 
fix the issue https://github.com/pandas-dev/pandas/issues/47127. The bug of 
`num_series == 1` is also fixed, so we add this PR to follow panda 1.4.3 
behavior.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes, we already cover this case in:
   
https://github.com/apache/spark/blob/master/python/docs/source/migration_guide/pyspark_3.3_to_3.4.rst
   ```
   In Spark 3.4, the Series.concat sort parameter will be respected to follow 
pandas 1.4 behaviors.
   ```
   
   ### How was this patch tested?
   - CI passed
   - test_concat_index_axis passed with panda 1.3.5, 1.4.2, 1.4.3.


-- 
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]

Reply via email to