Skip to content

Commit 35d3661

Browse files
committed
fixed a doc template
1 parent 59bbf43 commit 35d3661

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
@@ -372,7 +372,7 @@ class providing the base-class of operations.
372372
----------
373373
func : function, str, list or dict
374374
Function to use for aggregating the data. If a function, must either
375-
work when passed a %(klass)s or when passed to %(klass)s.apply.
375+
work when passed a {klass} or when passed to {klass}.apply.
376376
377377
Accepted combinations are:
378378
@@ -403,7 +403,7 @@ class providing the base-class of operations.
403403
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
404404
and ``parallel`` dictionary keys. The values must either be ``True`` or
405405
``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
406-
``{'nopython': True, 'nogil': False, 'parallel': False}`` and will be
406+
``{{'nopython': True, 'nogil': False, 'parallel': False}}`` and will be
407407
applied to the function
408408
409409
.. versionadded:: 1.1.0
@@ -412,20 +412,20 @@ class providing the base-class of operations.
412412
413413
Returns
414414
-------
415-
%(klass)s
415+
{klass}
416416
417417
See Also
418418
--------
419-
%(klass)s.groupby.apply
420-
%(klass)s.groupby.transform
421-
%(klass)s.aggregate
419+
{klass}.groupby.apply
420+
{klass}.groupby.transform
421+
{klass}.aggregate
422422
423423
Notes
424424
-----
425425
When using ``engine='numba'``, there will be no "fall back" behavior internally.
426426
The group data and group index will be passed as numpy arrays to the JITed
427427
user defined function, and no alternative execution attempts will be tried.
428-
%(examples)s
428+
{examples}
429429
"""
430430

431431

0 commit comments

Comments
 (0)