Skip to content

Commit

Permalink
feat: add .collect_schema to interchange-level df duckdb & ibis
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhanunjaya-Elluri committed Dec 23, 2024
1 parent 95dd8d3 commit 0f6b32a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion narwhals/_ibis/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ def _from_native_frame(self: Self, df: Any) -> Self:
return self.__class__(df, version=self._version)

def collect_schema(self) -> dict[str, DType]:
"""Return the schema of the Ibis table."""
return {
column_name: native_to_narwhals_dtype(ibis_dtype, self._version)
for column_name, ibis_dtype in self._native_frame.schema().items()
Expand Down

0 comments on commit 0f6b32a

Please sign in to comment.