Skip to content

feat: Add dataframe.to_html #259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 28, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lint fix
  • Loading branch information
Genesis929 committed Dec 12, 2023
commit 51160d235fcaa89e7e63f29f292cff2f62bc8ee5
4 changes: 2 additions & 2 deletions bigframes/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2680,7 +2680,7 @@ def to_html(
) -> str:
return self.to_pandas().to_html(
buf,
columns, # type: ignore
columns, # type: ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer to cast explicitly instead of just ignore. Better readability.

col_space,
header,
index,
Expand All @@ -2689,7 +2689,7 @@ def to_html(
float_format,
sparsify,
index_names,
justify, # type: ignore
justify, # type: ignore
max_rows,
max_cols,
show_dimensions,
Expand Down