itholic commented on code in PR #42793:
URL: https://github.com/apache/spark/pull/42793#discussion_r1319299936
##########
python/pyspark/pandas/frame.py:
##########
@@ -10530,12 +10530,12 @@ def stack(self) -> DataFrameOrSeries:
kg m
cat 1.0 2.0
dog 3.0 4.0
- >>> df_multi_level_cols2.stack().sort_index() # doctest: +SKIP
- height weight
- cat kg NaN 1.0
- m 2.0 NaN
- dog kg NaN 3.0
- m 4.0 NaN
+ >>> df_multi_level_cols2.stack().sort_index()
Review Comment:
Column ordering bug is fixed in Pandas:
https://github.com/pandas-dev/pandas/issues/53786.
--
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]