From bdb49df7ef21754d1795900b86bf04a7b9c1f763 Mon Sep 17 00:00:00 2001 From: Saravanan Shanmugam Date: Wed, 22 Jun 2022 22:07:36 +0200 Subject: [PATCH] BUG: GH33912 fixed issue with precision of the the left end --- pandas/core/reshape/tile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandas/core/reshape/tile.py b/pandas/core/reshape/tile.py index 00b2b30eb3122..e451a747557c3 100644 --- a/pandas/core/reshape/tile.py +++ b/pandas/core/reshape/tile.py @@ -582,7 +582,8 @@ def _format_labels( breaks = [formatter(b) for b in bins] if right and include_lowest: # adjust lhs of first interval by precision to account for being right closed - breaks[0] = adjust(breaks[0]) + # Applied formatter to address GH33912 + breaks[0] = formatter(adjust(breaks[0])) return IntervalIndex.from_breaks(breaks, inclusive=inclusive)