Skip to content

Commit

Permalink
put branch back
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed May 9, 2023
1 parent 7922149 commit 51ab03a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python-package/lightgbm/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,8 @@ def _data_from_pandas(
feature_name = list(data.columns)
if categorical_feature == 'auto': # use cat cols from DataFrame
categorical_feature = cat_cols_not_ordered
else: # use cat cols specified by user
categorical_feature = list(categorical_feature)
if feature_name == 'auto':
feature_name = list(data.columns)
_check_for_bad_pandas_dtypes(data.dtypes)
Expand Down

0 comments on commit 51ab03a

Please sign in to comment.