Skip to content

Commit

Permalink
Rm pandas dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
siboehm committed Nov 22, 2021
1 parent fa14013 commit 26e39d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lleaves/data_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from typing import List, Optional

import numpy as np
import pandas as pd

try:
from pandas import DataFrame as pd_DataFrame
Expand All @@ -16,7 +15,7 @@ class pd_DataFrame:
pass


def _dataframe_to_ndarray(data: pd.DataFrame, pd_traintime_categories: List[List]):
def _dataframe_to_ndarray(data: pd_DataFrame, pd_traintime_categories: List[List]):
"""
Converts the given dataframe into a 2D numpy array and converts categorical columns to float.
Expand Down

0 comments on commit 26e39d6

Please sign in to comment.