Skip to content

Commit 22db4f9

Browse files
committed
fixed a doc template
1 parent 746e103 commit 22db4f9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pandas/core/groupby/groupby.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ class providing the base-class of operations.
354354
----------
355355
func : function, str, list or dict
356356
Function to use for aggregating the data. If a function, must either
357-
work when passed a %(klass)s or when passed to %(klass)s.apply.
357+
work when passed a {klass} or when passed to {klass}.apply.
358358
359359
Accepted combinations are:
360360
@@ -385,7 +385,7 @@ class providing the base-class of operations.
385385
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
386386
and ``parallel`` dictionary keys. The values must either be ``True`` or
387387
``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
388-
``{'nopython': True, 'nogil': False, 'parallel': False}`` and will be
388+
``{{'nopython': True, 'nogil': False, 'parallel': False}}`` and will be
389389
applied to the function
390390
391391
.. versionadded:: 1.1.0
@@ -394,20 +394,20 @@ class providing the base-class of operations.
394394
395395
Returns
396396
-------
397-
%(klass)s
397+
{klass}
398398
399399
See Also
400400
--------
401-
%(klass)s.groupby.apply
402-
%(klass)s.groupby.transform
403-
%(klass)s.aggregate
401+
{klass}.groupby.apply
402+
{klass}.groupby.transform
403+
{klass}.aggregate
404404
405405
Notes
406406
-----
407407
When using ``engine='numba'``, there will be no "fall back" behavior internally.
408408
The group data and group index will be passed as numpy arrays to the JITed
409409
user defined function, and no alternative execution attempts will be tried.
410-
%(examples)s
410+
{examples}
411411
"""
412412

413413

0 commit comments

Comments
 (0)