Skip to content

Commit 366b1d2

Browse files
committed
DOC: fix pre-commit lint issues in apply docstring
1 parent 8376620 commit 366b1d2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pandas/core/frame.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10629,12 +10629,12 @@ def apply(
1062910629
If you are just applying a NumPy reduction function this will
1063010630
achieve much better performance.
1063110631
10632-
.. warning::
10632+
.. warning::
1063310633
10634-
When ``raw=True``, the output dtype is inferred from the
10635-
**first returned value**. If that value is not ``None``but
10636-
later calls return ``Nonw``, a ``TypeError`` may be raised
10637-
because Numpy infers a non-nullable dtype.
10634+
When ``raw=True``, the result dtype is inferred from the **first**
10635+
returned value. If that value is not ``None`` but later calls return
10636+
``None``, a ``TypeError`` may occur because NumPy infers a
10637+
non-nullable dtype.
1063810638
1063910639
result_type : {'expand', 'reduce', 'broadcast', None}, default None
1064010640
These only act when ``axis=1`` (columns):

0 commit comments

Comments
 (0)