Skip to content

Commit

Permalink
dev: warn that pyarrow support is experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
machow committed Nov 25, 2024
1 parent cce64de commit ef41328
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions great_tables/_tbl_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,8 @@ def _(df: PlDataFrame) -> PlDataFrame:

@validate_frame.register
def _(df: PyArrowTable) -> PyArrowTable:
warnings.warn("PyArrow Table support is currently experimental.")

if len(set(df.column_names)) != len(df.column_names):
raise ValueError("Column names must be unique.")

Check warning on line 820 in great_tables/_tbl_data.py

View check run for this annotation

Codecov / codecov/patch

great_tables/_tbl_data.py#L820

Added line #L820 was not covered by tests

Expand Down

0 comments on commit ef41328

Please sign in to comment.