data : str, pathlib.Path, numpy array, pandas DataFrame, H2O DataTable's Frame, scipy.sparse, Sequence, list of Sequence or list of numpy array
data : str, pathlib.Path, numpy array, pandas DataFrame, H2O DataTable's Frame, scipy.sparse, Sequence, list of Sequence, list of numpy array or pyarrow Table
Data source of Dataset.
Data source of Dataset.
If str or pathlib.Path, it represents the path to a text file (CSV, TSV, or LibSVM) or a LightGBM Dataset binary file.
If str or pathlib.Path, it represents the path to a text file (CSV, TSV, or LibSVM) or a LightGBM Dataset binary file.
label : list, numpy 1-D array, pandas Series / one-column DataFrame or None, optional (default=None)
label : list, numpy 1-D array, pandas Series / one-column DataFrame or None, optional (default=None)
...
@@ -1581,7 +1636,7 @@ class Dataset:
...
@@ -1581,7 +1636,7 @@ class Dataset:
Init score for Dataset.
Init score for Dataset.
feature_name : list of str, or 'auto', optional (default="auto")
feature_name : list of str, or 'auto', optional (default="auto")
Feature names.
Feature names.
If 'auto' and data is pandas DataFrame, data columns names are used.
If 'auto' and data is pandas DataFrame or pyarrow Table, data columns names are used.
categorical_feature : list of str or int, or 'auto', optional (default="auto")
categorical_feature : list of str or int, or 'auto', optional (default="auto")