Skip to content

Commit a2cbdf1

Browse files
committed
fixed a doc template
1 parent b9558f1 commit a2cbdf1

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
@@ -371,7 +371,7 @@ class providing the base-class of operations.
371371
----------
372372
func : function, str, list or dict
373373
Function to use for aggregating the data. If a function, must either
374-
work when passed a %(klass)s or when passed to %(klass)s.apply.
374+
work when passed a {klass} or when passed to {klass}.apply.
375375
376376
Accepted combinations are:
377377
@@ -402,7 +402,7 @@ class providing the base-class of operations.
402402
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
403403
and ``parallel`` dictionary keys. The values must either be ``True`` or
404404
``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
405-
``{'nopython': True, 'nogil': False, 'parallel': False}`` and will be
405+
``{{'nopython': True, 'nogil': False, 'parallel': False}}`` and will be
406406
applied to the function
407407
408408
.. versionadded:: 1.1.0
@@ -411,20 +411,20 @@ class providing the base-class of operations.
411411
412412
Returns
413413
-------
414-
%(klass)s
414+
{klass}
415415
416416
See Also
417417
--------
418-
%(klass)s.groupby.apply
419-
%(klass)s.groupby.transform
420-
%(klass)s.aggregate
418+
{klass}.groupby.apply
419+
{klass}.groupby.transform
420+
{klass}.aggregate
421421
422422
Notes
423423
-----
424424
When using ``engine='numba'``, there will be no "fall back" behavior internally.
425425
The group data and group index will be passed as numpy arrays to the JITed
426426
user defined function, and no alternative execution attempts will be tried.
427-
%(examples)s
427+
{examples}
428428
"""
429429

430430

0 commit comments

Comments
 (0)