Skip to content

Commit

Permalink
fix: remove Category inheritance from ArrowDictionary
Browse files Browse the repository at this point in the history
Signed-off-by: Daren Liang <[email protected]>
  • Loading branch information
darenliang committed Nov 14, 2024
2 parents 734c4f5 + 4bdd868 commit c8a1031
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pandera/engines/pandas_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1661,11 +1661,7 @@ def from_parametrized_dtype(cls, pyarrow_dtype: pyarrow.TimestampType):
equivalents=[pyarrow.dictionary, pyarrow.DictionaryType]
)
@immutable(init=True)
<<<<<<< HEAD
class ArrowDictionary(ArrowDataType, dtypes.Category):
=======
class ArrowDictionary(DataType):
>>>>>>> 4bdd868 (fix: remove Category inheritance from ArrowDictionary)
class ArrowDictionary(ArrowDataType):
"""Semantic representation of a :class:`pyarrow.dictionary`."""

type: Optional[pd.ArrowDtype] = dataclasses.field(
Expand Down

0 comments on commit c8a1031

Please sign in to comment.