Skip to content

Commit 615351f

Browse files
committed
updated test expectation for float -> int inference
1 parent 57f418e commit 615351f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/groupby/test_categorical.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def test_observed(observed):
301301
exp_index = CategoricalIndex(
302302
list("ab"), name="cat", categories=list("abc"), ordered=True
303303
)
304-
expected = DataFrame({"ints": [1.5, 1.5], "val": [20.0, 30]}, index=exp_index)
304+
expected = DataFrame({"ints": [1.5, 1.5], "val": [20, 30]}, index=exp_index)
305305
if not observed:
306306
index = CategoricalIndex(
307307
list("abc"), name="cat", categories=list("abc"), ordered=True

0 commit comments

Comments
 (0)