Skip to content

Commit ceca74d

Browse files
committed
chore: remove unreached code
1 parent 8a7609a commit ceca74d

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

bigframes/display/html.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
import pandas as pd
2727
import pandas.api.types
28-
import pyarrow as pa
2928

3029
import bigframes
3130
from bigframes._config import display_options, options
@@ -39,11 +38,6 @@
3938

4039
def _is_dtype_numeric(dtype: Any) -> bool:
4140
"""Check if a dtype is numeric for alignment purposes."""
42-
# Arrays should always be left-aligned, even if they contain numeric elements
43-
if isinstance(dtype, pd.ArrowDtype) and isinstance(
44-
dtype.pyarrow_dtype, pa.ListType
45-
):
46-
return False
4741
return pandas.api.types.is_numeric_dtype(dtype)
4842

4943

@@ -350,9 +344,8 @@ def repr_mimebundle(
350344
exclude=None,
351345
):
352346
"""Custom display method for IPython/Jupyter environments."""
353-
# TODO(b/467647693): Anywidget integration has been tested in Jupyter,
354-
# VS Code, and BQ Studio, but there is a known compatibility issue with
355-
# Marimo that needs to be addressed.
347+
# TODO(b/467647693): Anywidget integration has been tested in Jupyter, VS Code, and
348+
# BQ Studio, but there is a known compatibility issue with Marimo that needs to be addressed.
356349

357350
opts = options.display
358351
if opts.repr_mode == "deferred":

0 commit comments

Comments
 (0)