Skip to content

Commit 665c6b0

Browse files
committed
fix: update schema iteration in DataFrameHtmlFormatter to use correct format
1 parent a2df6d5 commit 665c6b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/datafusion/html_formatter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def format_html(
7878
# Add table header
7979
html.append("<thead>")
8080
html.append("<tr>")
81-
for field in schema.fields:
81+
for field in schema:
8282
html.append(
8383
"<th style='border: 1px solid black; padding: 8px; "
8484
"text-align: left; background-color: #f2f2f2; "

0 commit comments

Comments
 (0)