Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: returning the correct column list when requesting columnsin the …
…PolarsBackend

Signed-off-by: Dan Baron <dan.baron@starlingbank.com>
  • Loading branch information
danbaron63 committed Sep 4, 2025
commit f7e5f884226c6e2cc7fdd8981337576b3747693a
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@


class PolarsBackend(DataFrameBackend):
def columns(self, df):
pass
def columns(self, df: pl.DataFrame) -> list[str]:
return df.columns

def from_arrow(self, table: pa.Table) -> pl.DataFrame:
return pl.from_arrow(table)
Expand Down
Loading