We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 160d0f0 commit fa6523aCopy full SHA for fa6523a
python-package/xgboost/data.py
@@ -35,7 +35,6 @@
35
array_hasobject,
36
array_interface,
37
array_interface_dict,
38
- arrow_cat_inf,
39
check_cudf_meta,
40
cuda_array_interface,
41
cuda_array_interface_dict,
python-package/xgboost/testing/ordinal.py
@@ -355,7 +355,7 @@ def run_mixed(DMatrixT: Type) -> None:
355
)
356
c_ser = pd.Series(c_typ, dtype=pd.ArrowDtype(c_typ.type))
357
b_typ = pa.DictionaryArray.from_arrays(
358
- pa.array([0, 1, 2], pa.array(b_list))
+ pa.array([0, 1, 2]), pa.array(b_list)
359
360
b_ser = pd.Series(b_typ, dtype=pd.ArrowDtype(b_typ.type))
361
df = Df({"b": b_ser, "c": c_ser})
0 commit comments