We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9ac316 commit 597b8d5Copy full SHA for 597b8d5
python/pyspark/sql/dataframe.py
@@ -402,7 +402,7 @@ def _repr_html_(self):
402
has_more_data = len(row_data) > max_num_rows
403
row_data = row_data[:max_num_rows]
404
405
- html = "<table border='1'>\n<tr><th>"
+ html = "<table border='1'>\n"
406
# generate table head
407
html += "<tr><th>%s</th></tr>\n" % "</th><th>".join(map(lambda x: cgi.escape(x), head))
408
# generate table rows
0 commit comments