Github user yanboliang commented on a diff in the pull request: https://github.com/apache/spark/pull/18058#discussion_r118283005 --- Diff: python/pyspark/ml/fpm.py --- @@ -49,6 +49,32 @@ def getMinSupport(self): return self.getOrDefault(self.minSupport) +class HasNumPartitions(Params): + """ + Mixin for param support. + """ + + numPartitions = Param( + Params._dummy(), + "numPartitions", + """Number of partitions (at least 1) used by parallel FP-growth. --- End diff -- Using ```"""``` to wrap doc here will get ```\n``` in generated Python API docs. You can update to use ```"``` referring to [discussion at here](https://github.com/apache/spark/pull/18089#discussion_r118280610).
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org