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

    https://github.com/apache/spark/pull/21370#discussion_r190153833
  
    --- Diff: python/pyspark/sql/dataframe.py ---
    @@ -347,13 +347,26 @@ def show(self, n=20, truncate=True, vertical=False):
              name | Bob
             """
             if isinstance(truncate, bool) and truncate:
    -            print(self._jdf.showString(n, 20, vertical))
    +            print(self._jdf.showString(n, 20, vertical, False))
             else:
    -            print(self._jdf.showString(n, int(truncate), vertical))
    +            print(self._jdf.showString(n, int(truncate), vertical, False))
     
         def __repr__(self):
             return "DataFrame[%s]" % (", ".join("%s: %s" % c for c in 
self.dtypes))
     
    +    def _repr_html_(self):
    --- End diff --
    
    Thanks, done. feb5f4a.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to