Skip to content

Commit d989fa9

Browse files
committed
Use join to fix docstring formatting
1 parent f498be9 commit d989fa9

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
@@ -1260,12 +1260,11 @@ def groupby_function(name, alias, npfunc,
12601260

12611261
_local_template = """
12621262
Compute %(f)s of group values
1263-
12641263
"""
12651264

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

0 commit comments

Comments
 (0)