diff --git a/python/pyspark/sql/dataframe.py b/python/pyspark/sql/dataframe.py index 5649d362b8b3..d9de9ee14ac6 100644 --- a/python/pyspark/sql/dataframe.py +++ b/python/pyspark/sql/dataframe.py @@ -4598,7 +4598,7 @@ def freqItems( Examples -------- >>> df = spark.createDataFrame([(1, 11), (1, 11), (3, 10), (4, 8), (4, 8)], ["c1", "c2"]) - >>> df.freqItems(["c1", "c2"]).show() + >>> df.freqItems(["c1", "c2"]).show() # doctest: +SKIP +------------+------------+ |c1_freqItems|c2_freqItems| +------------+------------+