Skip to content

Commit 97934ee

Browse files
committed
Use join to fix docstring formatting
1 parent 440006f commit 97934ee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/core/groupby/groupby.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1259,12 +1259,11 @@ def groupby_function(name, alias, npfunc,
12591259

12601260
_local_template = """
12611261
Compute %(f)s of group values
1262-
12631262
"""
12641263

12651264
@Substitution(name='groupby', f=name)
12661265
@Appender(_common_see_also)
1267-
@Appender(_local_template)
1266+
@Appender(_local_template, join='\n')
12681267
def f(self, **kwargs):
12691268
if 'numeric_only' not in kwargs:
12701269
kwargs['numeric_only'] = numeric_only

0 commit comments

Comments
 (0)