Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

tswast
Copy link
Collaborator

@tswast tswast commented Aug 12, 2025

feat: when using repr_mode = "anywidget", numeric values align right

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes internal issue 437697339 🦕

feat: when using `repr_mode = "anywidget"`, numeric values align right
@tswast tswast requested review from a team as code owners August 12, 2025 14:49
@tswast tswast requested a review from chelsea-lin August 12, 2025 14:49
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@product-auto-label product-auto-label bot added the size: l Pull request size is large. label Aug 12, 2025
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. label Aug 12, 2025
@tswast tswast requested a review from shuoweil August 12, 2025 14:50
@tswast
Copy link
Collaborator Author

tswast commented Aug 12, 2025

Tested in BQ Studio (Colab Enterprise). Looks like it's working well. :-)

screenshot showing the table rendering with resizable columns

Edit: updated with padding and the dataframe class.

AeGqXH9oPTmTK9e

@tswast

This comment was marked as resolved.

@tswast

This comment was marked as duplicate.

@tswast
Copy link
Collaborator Author

tswast commented Aug 12, 2025

Notebook failure:

FAILED notebooks/generative_ai/bq_dataframes_llm_output_schema.ipynb::bq_dataframes_llm_output_schema.ipynb - A cell timed out while it was being executed, after 900 seconds.

e2e failure:

FAILED tests/system/large/blob/test_function.py::test_blob_pdf_chunk[False-expected1]
FAILED tests/system/large/blob/test_function.py::test_blob_pdf_extract[True-expected0]
FAILED tests/system/large/blob/test_function.py::test_blob_pdf_extract[False-expected1]
FAILED tests/system/large/blob/test_function.py::test_blob_pdf_chunk[True-expected0]

These appear unrelated to this change.

@tswast

This comment was marked as duplicate.

@shuoweil shuoweil merged commit 15e6175 into main Aug 13, 2025
20 of 25 checks passed
@shuoweil shuoweil deleted the b437697339-anywidget-align-text-left branch August 13, 2025 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants