@@ -4858,15 +4858,15 @@ def apply(self, func, axis=0, broadcast=None, raw=False, reduce=None,
4858
4858
If you are just applying a NumPy reduction function this will
4859
4859
achieve much better performance.
4860
4860
reduce : bool or `None`, default `None`
4861
- Try to apply reduction procedures. If the ` DataFrame` is empty,
4861
+ Try to apply reduction procedures. If the DataFrame is empty,
4862
4862
:meth:`apply` will use `reduce` to determine whether the result
4863
- should be a Series or a ` DataFrame` . If ``reduce is None`` (the
4863
+ should be a Series or a DataFrame. If ``reduce is None`` (the
4864
4864
default), :meth:`apply`'s return value will be guessed by calling
4865
4865
`func` on an empty Series
4866
4866
(note: while guessing, exceptions raised by `func` will be
4867
4867
ignored).
4868
4868
If ``reduce is True`` a Series will always be returned, and if
4869
- ``reduce is False`` a ` DataFrame` will always be returned.
4869
+ ``reduce is False`` a DataFrame will always be returned.
4870
4870
4871
4871
.. deprecated:: 0.23.0.
4872
4872
This argument will be removed in a future version, replaced
@@ -4879,7 +4879,7 @@ def apply(self, func, axis=0, broadcast=None, raw=False, reduce=None,
4879
4879
* 'reduce' : returns a Series if possible rather than expanding
4880
4880
list-like results. This is the opposite of 'expand'.
4881
4881
* 'broadcast' : results will be broadcast to the original shape
4882
- of the ` DataFrame` , the original index and columns will be
4882
+ of the DataFrame, the original index and columns will be
4883
4883
retained.
4884
4884
4885
4885
The default behaviour (`None`) depends on the return value of the
0 commit comments