HyukjinKwon commented on PR #46417:
URL: https://github.com/apache/spark/pull/46417#issuecomment-2099921722

   ```
   ======================================================================
   ERROR [15.001s]: test_aggregate 
(pyspark.pandas.tests.connect.groupby.test_parity_aggregate.GroupbyParityAggregateTests)
   ----------------------------------------------------------------------
   Traceback (most recent call last):
     File 
"/home/runner/work/spark/spark-3.5/python/pyspark/pandas/tests/groupby/test_aggregate.py",
 line 179, in test_aggregate
       stats_pdf.sort_values(by=[(20, "min"), (20, "max"), (30, 
"sum")]).reset_index(
     File 
"/usr/share/miniconda/envs/client-env/lib/python3.10/site-packages/pandas/util/_decorators.py",
 line 331, in wrapper
       return func(*args, **kwargs)
     File 
"/usr/share/miniconda/envs/client-env/lib/python3.10/site-packages/pandas/core/frame.py",
 line 6894, in sort_values
       keys = [self._get_label_or_level_values(x, axis=axis) for x in by]
     File 
"/usr/share/miniconda/envs/client-env/lib/python3.10/site-packages/pandas/core/frame.py",
 line 6894, in <listcomp>
       keys = [self._get_label_or_level_values(x, axis=axis) for x in by]
     File 
"/usr/share/miniconda/envs/client-env/lib/python3.10/site-packages/pandas/core/generic.py",
 line 1838, in _get_label_or_level_values
       self._check_label_or_level_ambiguity(key, axis=axis)
     File 
"/usr/share/miniconda/envs/client-env/lib/python3.10/site-packages/pandas/core/generic.py",
 line 1780, in _check_label_or_level_ambiguity
       and key in self.axes[axis].names
   ValueError: The truth value of an array with more than one element is 
ambiguous. Use a.any() or a.all()
   ----------------------------------------------------------------------
   ```


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