Skip to content

Commit 26e39d6

Browse files
committed
Rm pandas dependency
1 parent fa14013 commit 26e39d6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lleaves/data_processing.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from typing import List, Optional
55

66
import numpy as np
7-
import pandas as pd
87

98
try:
109
from pandas import DataFrame as pd_DataFrame
@@ -16,7 +15,7 @@ class pd_DataFrame:
1615
pass
1716

1817

19-
def _dataframe_to_ndarray(data: pd.DataFrame, pd_traintime_categories: List[List]):
18+
def _dataframe_to_ndarray(data: pd_DataFrame, pd_traintime_categories: List[List]):
2019
"""
2120
Converts the given dataframe into a 2D numpy array and converts categorical columns to float.
2221

0 commit comments

Comments
 (0)