Skip to content

Commit 0154d09

Browse files
committed
Idiomatic update - replace join with concat
1 parent 55846d2 commit 0154d09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/groupby.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4652,7 +4652,8 @@ def _fill(self, direction, limit=None):
46524652
(grp.name, grp.group_index.take(grp.labels)) for grp in
46534653
self.grouper.groupings)
46544654

4655-
return self._wrap_transformed_output(output).join(res)
4655+
from pandas.core.reshape.concat import concat
4656+
return concat((self._wrap_transformed_output(output), res), axis=1)
46564657

46574658
def count(self):
46584659
""" Compute count of group, excluding missing values """

0 commit comments

Comments
 (0)