File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 2525
2626import pandas as pd
2727import pandas .api .types
28- import pyarrow as pa
2928
3029import bigframes
3130from bigframes ._config import display_options , options
3938
4039def _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" :
You can’t perform that action at this time.
0 commit comments