Skip to content

Commit

Permalink
version compat
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Sep 3, 2024
1 parent f6e4716 commit bce261f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion narwhals/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def is_duckdb_relation(df: Any) -> TypeGuard[duckdb.DuckDBPyRelation]:

def is_ibis_table(df: Any) -> TypeGuard[ibis.Table]:
"""Check whether `df` is a Ibis Table without importing Ibis."""
return (ibis := get_ibis()) is not None and isinstance(df, ibis.expr.dtypes.Table)
return (ibis := get_ibis()) is not None and isinstance(df, ibis.expr.types.Table)


def is_polars_dataframe(df: Any) -> TypeGuard[pl.DataFrame]:
Expand Down

0 comments on commit bce261f

Please sign in to comment.