devin-petersohn commented on code in PR #53701:
URL: https://github.com/apache/spark/pull/53701#discussion_r2668960939
##########
python/pyspark/pandas/frame.py:
##########
@@ -1716,9 +1713,8 @@ def corr(self, method: str = "pearson", min_periods:
Optional[int] = None) -> "D
numeric_col_names[i],
F.col(f"{auxiliary_col_name}.{CORRELATION_CORR_OUTPUT_COLUMN}"),
)
-
- index_col_names: List[str] = []
Review Comment:
It is technically correct since we define it in both the if and else blocks,
but the linter doesn't like it so I've reverted it.
--
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]