Skip to content

Commit 597b8d5

Browse files
committed
bug fix
1 parent b9ac316 commit 597b8d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pyspark/sql/dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def _repr_html_(self):
402402
has_more_data = len(row_data) > max_num_rows
403403
row_data = row_data[:max_num_rows]
404404

405-
html = "<table border='1'>\n<tr><th>"
405+
html = "<table border='1'>\n"
406406
# generate table head
407407
html += "<tr><th>%s</th></tr>\n" % "</th><th>".join(map(lambda x: cgi.escape(x), head))
408408
# generate table rows

0 commit comments

Comments
 (0)