HyukjinKwon commented on code in PR #37044:
URL: https://github.com/apache/spark/pull/37044#discussion_r913399633


##########
python/pyspark/pandas/namespace.py:
##########
@@ -3718,6 +3715,18 @@ def _get_index_map(
     return index_spark_columns, index_names
 
 
+def _check_1_char_parameter(var: Callable):
+    if var is not None:
+        callers_local_vars = inspect.currentframe().f_back.f_locals.items()

Review Comment:
   Hey, can we just define a function to take all these variables? Seems super 
complicated.



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