Skip to content

Commit

Permalink
code sample for pandas-dev#45412
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjayhawkins committed Jan 17, 2022
1 parent 1275d72 commit 802ef80
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bisect/45412.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# BUG: can create IntervalDtype[float32] but not IntervalArray[float32] #45412

import pandas as pd

print(pd.__version__)

try:
result = pd.core.dtypes.common.pandas_dtype("interval[float32, right]")
print(result)
except TypeError as e:
print(e)
else:
exit(1)

0 comments on commit 802ef80

Please sign in to comment.