We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa14013 commit 26e39d6Copy full SHA for 26e39d6
lleaves/data_processing.py
@@ -4,7 +4,6 @@
4
from typing import List, Optional
5
6
import numpy as np
7
-import pandas as pd
8
9
try:
10
from pandas import DataFrame as pd_DataFrame
@@ -16,7 +15,7 @@ class pd_DataFrame:
16
15
pass
17
18
19
-def _dataframe_to_ndarray(data: pd.DataFrame, pd_traintime_categories: List[List]):
+def _dataframe_to_ndarray(data: pd_DataFrame, pd_traintime_categories: List[List]):
20
"""
21
Converts the given dataframe into a 2D numpy array and converts categorical columns to float.
22
0 commit comments