Skip to content

Commit 577a8d0

Browse files
jnothmanvictor
authored and
victor
committed
DOC fix parenthesis placement (pandas-dev#22301)
1 parent a9aa652 commit 577a8d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/formats/style.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ def apply(self, func, axis=0, subset=None, **kwargs):
577577
-----
578578
The output shape of ``func`` should match the input, i.e. if
579579
``x`` is the input row, column, or table (depending on ``axis``),
580-
then ``func(x.shape) == x.shape`` should be true.
580+
then ``func(x).shape == x.shape`` should be true.
581581
582582
This is similar to ``DataFrame.apply``, except that ``axis=None``
583583
applies the function to the entire DataFrame at once,

0 commit comments

Comments
 (0)