Skip to content

Commit 534ff65

Browse files
committed
test
1 parent 37056c6 commit 534ff65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pint_pandas/pint_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ def _groupby_op(self, *args, **kwargs):
11251125
dtype = self.dtype
11261126
if kwargs['how'] == 'var':
11271127
dtype = PintType(units=f"pint[({self.units})**2]", subdtype=result.dtype)
1128-
return self._from_sequence(result, self.dtype)
1128+
return self._from_sequence(result, dtype)
11291129

11301130

11311131

0 commit comments

Comments
 (0)