Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5859#discussion_r29545099
  
    --- Diff: python/pyspark/sql/dataframe.py ---
    @@ -889,6 +889,24 @@ def cov(self, col1, col2):
                 raise ValueError("col2 should be a string.")
             return self._jdf.stat().cov(col1, col2)
     
    +    def freqItems(self, cols, support=1e-2):
    --- End diff --
    
    it's probably best to use None as the default, and set support to 1e-2 if 
it is None in the body of the function. Then you don't need to set the default 
value in two places.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to