Skip to content

Commit

Permalink
change Dataset.pl so it doesn't depend on arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
liquidcarbon authored Nov 12, 2024
1 parent 22073f3 commit 6e95a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion affinity.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def arrow(self) -> "pa.Table":

@property
def pl(self) -> "pl.DataFrame":
return pl.DataFrame(dict(self))
return pl.DataFrame(self.dict)

def is_dataset(self, key):
attr = getattr(self, key, None)
Expand Down

0 comments on commit 6e95a80

Please sign in to comment.