Skip to content

Commit 44dedaa

Browse files
committed
fix: revert warning suppression in dataframe.py to strictly limit to anywidget mode
1 parent a68d818 commit 44dedaa

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

bigframes/dataframe.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -813,13 +813,11 @@ def _get_display_df_and_blob_cols(self) -> tuple[DataFrame, list[str]]:
813813
df = self
814814
blob_cols = []
815815
if bigframes.options.display.blob_display:
816-
with warnings.catch_warnings():
817-
warnings.simplefilter("ignore", bigframes.exceptions.JSONDtypeWarning)
818-
blob_cols = [
819-
series_name
820-
for series_name, series in self.items()
821-
if series.dtype == bigframes.dtypes.OBJ_REF_DTYPE
822-
]
816+
blob_cols = [
817+
series_name
818+
for series_name, series in self.items()
819+
if series.dtype == bigframes.dtypes.OBJ_REF_DTYPE
820+
]
823821
if blob_cols:
824822
df = self.copy()
825823
for col in blob_cols:

0 commit comments

Comments
 (0)