Skip to content

Commit

Permalink
sandbox update
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Sep 7, 2023
1 parent fa9ff5f commit 6e22be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/python/src/tiledbsoma/_arrow_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def df_to_arrow(df: pd.DataFrame) -> pa.Table:
categories = column.values.categories

if hasattr(column.values, "ordered"):
ordered = column.values.ordered
ordered = bool(column.values.ordered)

df[key] = pd.Categorical(
values=column, categories=categories, ordered=ordered
Expand Down

0 comments on commit 6e22be8

Please sign in to comment.