Skip to content

Commit

Permalink
code sample for pandas-dev#42626
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjayhawkins committed Jul 22, 2021
1 parent 984243e commit 81c896b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bisect/42626.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# BUG: Cannot calculate quantiles from Int64Dtype Series when results are floats #42626


import pandas as pd

print(pd.__version__)

result = pd.Series([1, 2, 3], dtype="Int64").quantile(0.75)
print(result)

assert result == 2.5

0 comments on commit 81c896b

Please sign in to comment.