Skip to content

Commit fa6523a

Browse files
committed
cleanup.
1 parent 160d0f0 commit fa6523a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

python-package/xgboost/data.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
array_hasobject,
3636
array_interface,
3737
array_interface_dict,
38-
arrow_cat_inf,
3938
check_cudf_meta,
4039
cuda_array_interface,
4140
cuda_array_interface_dict,

python-package/xgboost/testing/ordinal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def run_mixed(DMatrixT: Type) -> None:
355355
)
356356
c_ser = pd.Series(c_typ, dtype=pd.ArrowDtype(c_typ.type))
357357
b_typ = pa.DictionaryArray.from_arrays(
358-
pa.array([0, 1, 2], pa.array(b_list))
358+
pa.array([0, 1, 2]), pa.array(b_list)
359359
)
360360
b_ser = pd.Series(b_typ, dtype=pd.ArrowDtype(b_typ.type))
361361
df = Df({"b": b_ser, "c": c_ser})

0 commit comments

Comments
 (0)