René's URL Explorer Experiment


Title: feat: add display.render_mode to control DataFrame/Series visualization by shuoweil · Pull Request #2413 · googleapis/python-bigquery-dataframes · GitHub

Open Graph Title: feat: add display.render_mode to control DataFrame/Series visualization by shuoweil · Pull Request #2413 · googleapis/python-bigquery-dataframes

X Title: feat: add display.render_mode to control DataFrame/Series visualization by shuoweil · Pull Request #2413 · googleapis/python-bigquery-dataframes

Description: This PR introduces the display.render_mode configuration option, providing a clearer and more flexible way to control how BigFrames objects are visualized in notebooks and other interactive environments. Key Changes: New Configuration Option: Added bpd.options.display.render_mode which supports three modes: html (Default): Standard HTML table rendering. plaintext: Forces plain text output by removing the HTML component from the mimebundle. anywidget: Enables the interactive anywidget-based table component. Migration Path: Maintained backward compatibility for display.repr_mode = "anywidget". The rendering logic now checks both the new render_mode and the legacy repr_mode flags. Notebook & Test Updates: Updated existing notebooks and system tests to prefer the new render_mode option while verifying that existing behaviors remain intact. New Unit Tests: Added tests/unit/display/test_render_mode.py to specifically verify the mimebundle selection logic and priority across different configuration states. While repr_mode was previously used to toggle the interactive widget, "representation mode" is a broad term. render_mode specifically addresses the format of the output (HTML vs. Text vs. Widget), allowing for better support for text-only environments and a more intuitive API for users. Also verified at colab notebook: screen/AHNz4o5Mhb9UHrh Fixes #<479282023> 🦕

Open Graph Description: This PR introduces the display.render_mode configuration option, providing a clearer and more flexible way to control how BigFrames objects are visualized in notebooks and other interactive environ...

X Description: This PR introduces the display.render_mode configuration option, providing a clearer and more flexible way to control how BigFrames objects are visualized in notebooks and other interactive environ...

Opengraph URL: https://github.com/googleapis/python-bigquery-dataframes/pull/2413

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:7884b03d-588f-4b78-20ec-06ba89844e72
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD47C:3BEF12:16C94F9:213FF86:6A4E4FB4
html-safe-nonce7b7b87e4954891f6c7835cb299f8d776bb580cac26bd3353b27b1f0adf90089f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDdDOjNCRUYxMjoxNkM5NEY5OjIxM0ZGODY6NkE0RTRGQjQiLCJ2aXNpdG9yX2lkIjoiNjY4NjExMTAwMzE5NTYyNTM5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace2bbb1a2b8f7a0d406643993db30590c92f3886c57e14a26a4421682bce1d416
hovercard-subject-tagpull_request:3220895019
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/googleapis/python-bigquery-dataframes/pull/2413/files
twitter:imagehttps://avatars.githubusercontent.com/u/189301813?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/189301813?s=400&v=4
og:image:altThis PR introduces the display.render_mode configuration option, providing a clearer and more flexible way to control how BigFrames objects are visualized in notebooks and other interactive environ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/googleapis/python-bigquery-dataframes git https://github.com/googleapis/python-bigquery-dataframes.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id667598363
octolytics-dimension-repository_nwogoogleapis/python-bigquery-dataframes
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id667598363
octolytics-dimension-repository_network_root_nwogoogleapis/python-bigquery-dataframes
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef344f1eab54fc7dfc02d0d018cda7e158c3db65c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/python-bigquery-dataframes/pull/2413/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-bigquery-dataframes%2Fpull%2F2413%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-bigquery-dataframes%2Fpull%2F2413%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=googleapis%2Fpython-bigquery-dataframes
Reloadhttps://github.com/googleapis/python-bigquery-dataframes/pull/2413/files
Reloadhttps://github.com/googleapis/python-bigquery-dataframes/pull/2413/files
Reloadhttps://github.com/googleapis/python-bigquery-dataframes/pull/2413/files
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2413/files
googleapis https://github.com/googleapis
python-bigquery-dataframeshttps://github.com/googleapis/python-bigquery-dataframes
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fpython-bigquery-dataframes
Fork 68 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-bigquery-dataframes
Star 289 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-bigquery-dataframes
Code https://github.com/googleapis/python-bigquery-dataframes
Issues 0 https://github.com/googleapis/python-bigquery-dataframes/issues
Pull requests 0 https://github.com/googleapis/python-bigquery-dataframes/pulls
Actions https://github.com/googleapis/python-bigquery-dataframes/actions
Projects https://github.com/googleapis/python-bigquery-dataframes/projects
Security and quality 0 https://github.com/googleapis/python-bigquery-dataframes/security
Insights https://github.com/googleapis/python-bigquery-dataframes/pulse
Code https://github.com/googleapis/python-bigquery-dataframes
Issues https://github.com/googleapis/python-bigquery-dataframes/issues
Pull requests https://github.com/googleapis/python-bigquery-dataframes/pulls
Actions https://github.com/googleapis/python-bigquery-dataframes/actions
Projects https://github.com/googleapis/python-bigquery-dataframes/projects
Security and quality https://github.com/googleapis/python-bigquery-dataframes/security
Insights https://github.com/googleapis/python-bigquery-dataframes/pulse
shuoweilhttps://github.com/shuoweil
mainhttps://github.com/googleapis/python-bigquery-dataframes/tree/main
shuowei-anywidget-cell-visualhttps://github.com/googleapis/python-bigquery-dataframes/tree/shuowei-anywidget-cell-visual
Conversation 2 https://github.com/googleapis/python-bigquery-dataframes/pull/2413
Commits 19 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits
Checks 16 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/checks
Files changed https://github.com/googleapis/python-bigquery-dataframes/pull/2413/files
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2413/files
feat: add display.render_mode to control DataFrame/Series visualization https://github.com/googleapis/python-bigquery-dataframes/pull/2413/files#top
Show all changes 19 commits https://github.com/googleapis/python-bigquery-dataframes/pull/2413/files
ca50e93 feat: Add display.render_mode option to control DataFrame visualization shuoweil Jan 28, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/ca50e93dda25b2717e437d5e7b8eccb5ffdc7ffb
8347eb3 test: fix tests shuoweil Jan 29, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/8347eb373933c448bcd2810d9a7edaba8622188e
fb2bf6a feat: change the default mode shuoweil Jan 29, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/fb2bf6ab072a3d8b686c5e89c3565bead56b7a21
a433d0b test: update tests shuoweil Jan 29, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/a433d0b36e4da537cd363bbfe48c298b3202d94b
36e37e6 Merge branch 'main' into shuowei-anywidget-cell-visual shuoweil Jan 29, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/36e37e689a5b06b4745e476ab4ae3febb72dd44e
f2d6e1f Merge branch 'main' into shuowei-anywidget-cell-visual shuoweil Jan 30, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/f2d6e1f7e146a51d9c73aa457971202d75379f50
e555a0d docs: rerun notebook shuoweil Jan 30, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/e555a0dc394e7f26906662129ba1e222ba115d0e
14c6c48 Merge branch 'main' into shuowei-anywidget-cell-visual shuoweil Feb 3, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/14c6c486d36cb011c4717fefd75b6591a816f025
0a9ab2d docs: update the setup shuoweil Feb 3, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/0a9ab2d2fe29983e1fc6414252c6a3c016a4329f
8f1a674 Merge branch 'main' into shuowei-anywidget-cell-visual shuoweil Feb 19, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/8f1a6748008a7c5dd943b5e29820514ceffdb6df
59222e7 chore: restore repr_mode='anywidget' for backward compatibility shuoweil Feb 19, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/59222e732481e4ff25724e738667ec7bcd1be89c
344d5cf Merge branch 'main' into shuowei-anywidget-cell-visual shuoweil Feb 20, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/344d5cf0b4a7d4a14d76383375b2c97de2707c7e
60359f8 docs: rerun notebook shuoweil Feb 21, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/60359f8f9f09ed8f6710f8f03cab945fbe68f574
609d0ce docs: update setting shuoweil Feb 21, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/609d0ced1e4c34de39ca94f64842256e03071880
42c3f9f Merge branch 'main' into shuowei-anywidget-cell-visual shuoweil Feb 23, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/42c3f9f5ea1da2e8389c530b309c25b6414b8fdb
509cde9 Merge branch 'main' into shuowei-anywidget-cell-visual shuoweil Feb 24, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/509cde93ef780c51fb01504bbf77ea0b4af1796f
cb6453b Merge branch 'main' into shuowei-anywidget-cell-visual shuoweil Feb 25, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/cb6453b75372972d8c907dba1077356c9ff7ed87
40d0f14 chore: fix formatting in test_render_mode.py shuoweil Feb 25, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/40d0f1487bd2a0b115cf91d56a13165e1214b7f9
d27d5fc Merge branch 'main' into shuowei-anywidget-cell-visual shuoweil Feb 26, 2026 https://github.com/googleapis/python-bigquery-dataframes/pull/2413/commits/d27d5fc9444c027a2107b48a165638dee8d92b10
Clear filters https://github.com/googleapis/python-bigquery-dataframes/pull/2413/files
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2413/files
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2413/files
html.py https://github.com/googleapis/python-bigquery-dataframes/pull/2413/files#diff-72889f09273e3e0bfb8485bbd62c92499b23314257329df9c7869607bd412da3
anywidget_mode.ipynb https://github.com/googleapis/python-bigquery-dataframes/pull/2413/files#diff-99bcaf009c14ed2e814e6cb9ee3e7a80f695de667aaf16f834d03cb0e4f80d82
timeseries_analysis.ipynb https://github.com/googleapis/python-bigquery-dataframes/pull/2413/files#diff-87554b554b5a6f67c4b50eff9b9c4ec6e3e11384cbf592562aada6bed12ab20d
test_anywidget.py https://github.com/googleapis/python-bigquery-dataframes/pull/2413/files#diff-e8cc2bfe627c0dea6773e6f05a5cd3a10056aee633c5e1971ad6c4099afa9942
test_progress_bar.py https://github.com/googleapis/python-bigquery-dataframes/pull/2413/files#diff-e4f2e6ddfbabef55da90f6bcbc5ac1fa88e1a0a5ff3a67c6243d206a8093446f
test_anywidget.py https://github.com/googleapis/python-bigquery-dataframes/pull/2413/files#diff-b98c6e27a66cda58a7fabba75526f9aaa5de93c405ec24f53b08d618e70f9c74
test_render_mode.py https://github.com/googleapis/python-bigquery-dataframes/pull/2413/files#diff-fd00b06ea6ae7b4ad1ca330b7517686050fb3c3010cec511f98d1296a05a02a2
config_init.py https://github.com/googleapis/python-bigquery-dataframes/pull/2413/files#diff-2eb99d30bdf3d975ce0187eebed81ae74798181b17fa1ca49710dd83e5135819
https://github.com/googleapis/python-bigquery-dataframes/blob/main/.github/CODEOWNERS#L9
bigframes/display/html.pyhttps://github.com/googleapis/python-bigquery-dataframes/pull/2413/files#diff-72889f09273e3e0bfb8485bbd62c92499b23314257329df9c7869607bd412da3
View file https://github.com/googleapis/python-bigquery-dataframes/blob/d27d5fc9444c027a2107b48a165638dee8d92b10/bigframes/display/html.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/python-bigquery-dataframes/pull/2413/{{ revealButtonHref }}
https://github.com/googleapis/python-bigquery-dataframes/pull/2413/files#diff-72889f09273e3e0bfb8485bbd62c92499b23314257329df9c7869607bd412da3
https://github.com/googleapis/python-bigquery-dataframes/pull/2413/files#diff-72889f09273e3e0bfb8485bbd62c92499b23314257329df9c7869607bd412da3
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2413/files
Please reload this pagehttps://github.com/googleapis/python-bigquery-dataframes/pull/2413/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.