Skip to content

Commit

Permalink
refactor(dtype): make type value backward compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
devangcx authored and mostaphaRoudsari committed Dec 27, 2022
1 parent b758311 commit 56745cb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ladybug_pandas/extension_types/dtype.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ def to_header(self):

@property
def type(self):
return float
try:
return np.float
except AttributeError:
return float

@property
def _is_numeric(self):
Expand Down

0 comments on commit 56745cb

Please sign in to comment.