Skip to content

Commit

Permalink
fixed a doc template
Browse files Browse the repository at this point in the history
  • Loading branch information
smartvinnetou committed May 9, 2020
1 parent 20dadd0 commit 37b6625
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pandas/core/groupby/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ class providing the base-class of operations.
----------
func : function, str, list or dict
Function to use for aggregating the data. If a function, must either
work when passed a %(klass)s or when passed to %(klass)s.apply.
work when passed a {klass} or when passed to {klass}.apply.
Accepted combinations are:
Expand Down Expand Up @@ -385,7 +385,7 @@ class providing the base-class of operations.
* For ``'numba'`` engine, the engine can accept ``nopython``, ``nogil``
and ``parallel`` dictionary keys. The values must either be ``True`` or
``False``. The default ``engine_kwargs`` for the ``'numba'`` engine is
``{'nopython': True, 'nogil': False, 'parallel': False}`` and will be
``{{'nopython': True, 'nogil': False, 'parallel': False}}`` and will be
applied to the function
.. versionadded:: 1.1.0
Expand All @@ -394,20 +394,20 @@ class providing the base-class of operations.
Returns
-------
%(klass)s
{klass}
See Also
--------
%(klass)s.groupby.apply
%(klass)s.groupby.transform
%(klass)s.aggregate
{klass}.groupby.apply
{klass}.groupby.transform
{klass}.aggregate
Notes
-----
When using ``engine='numba'``, there will be no "fall back" behavior internally.
The group data and group index will be passed as numpy arrays to the JITed
user defined function, and no alternative execution attempts will be tried.
%(examples)s
{examples}
"""


Expand Down

0 comments on commit 37b6625

Please sign in to comment.