Use black on more Python files. (#8137)

This commit is contained in:
Jiaming Yuan
2022-08-11 01:38:11 +08:00
committed by GitHub
parent bdb291f1c2
commit 570f8ae4ba
14 changed files with 183 additions and 133 deletions

View File

@@ -16,11 +16,13 @@ categorical data.
.. versionadded:: 1.5.0
"""
import pandas as pd
import numpy as np
import xgboost as xgb
from typing import Tuple
import numpy as np
import pandas as pd
import xgboost as xgb
def make_categorical(
n_samples: int, n_features: int, n_categories: int, onehot: bool