You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Always create a new widget instance for each display call
807
+
# This ensures that each cell gets its own widget and prevents
808
+
# unintended sharing between cells
809
+
widget=display.TableWidget(df.copy())
810
+
811
+
ipython_display(widget)
812
+
return""# Return empty string since we used display()
813
+
814
+
except (AttributeError, ValueError, ImportError):
815
+
# Fallback if anywidget is not available
816
+
warnings.warn(
817
+
"Anywidget mode is not available. Please `pip install anywidget traitlets` or `pip install 'bigframes[anywidget]'` to use interactive tables. Falling back to deferred mode."
0 commit comments