Skip to content

Commit

Permalink
Use _is_pyarrow_table
Browse files Browse the repository at this point in the history
  • Loading branch information
mlondschien committed Jan 9, 2025
1 parent 2bfe09e commit 9ea6d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-package/lightgbm/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2126,7 +2126,7 @@ def _lazy_init(
categorical_feature=categorical_feature,
pandas_categorical=self.pandas_categorical,
)
elif isinstance(data, pa_Table):
elif _is_pyarrow_table(data):
feature_name = data.column_names

# process for args
Expand Down

0 comments on commit 9ea6d2e

Please sign in to comment.