Skip to content

Commit

Permalink
Update python/tests/api/logger/test_logger_polars.py
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-rogers authored Nov 7, 2024
1 parent e45edbe commit 09d1ad1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/tests/api/logger/test_logger_polars.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ def test_basic_log() -> None:
assert profile._columns["col3"]._schema.dtype == pl.Utf8


def test_lending_club(lending_club_df: pl.DataFrame) -> None:
res = why.log(lending_club_df)
def test_lending_club(lending_club_df: pd.DataFrame) -> None:
df = pl.from_pandas(lending_club_df)
res = why.log(df)
view = res.view()
df = view.to_pandas()
assert len(df) == 151
Expand Down

0 comments on commit 09d1ad1

Please sign in to comment.