Skip to content

Commit e737e7f

Browse files
author
Deepan Das
committed
Fix SS06 formatting error pandas-dev#29254 with Appender Functions
1 parent 47e6ac9 commit e737e7f

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

pandas/core/generic.py

+7-13
Original file line numberDiff line numberDiff line change
@@ -5156,8 +5156,7 @@ def pipe(self, func, *args, **kwargs):
51565156
_shared_docs[
51575157
"transform"
51585158
] = """
5159-
Call ``func`` on self producing a %(klass)s with transformed values
5160-
and that has the same axis length as self.
5159+
Call ``func`` on self producing a %(klass)s with transformed values and that has the same axis length as self.
51615160
51625161
Parameters
51635162
----------
@@ -8741,8 +8740,7 @@ def ranker(data):
87418740
_shared_docs[
87428741
"align"
87438742
] = """
8744-
Align two objects on their axes with the
8745-
specified join method for each axis Index.
8743+
Align two objects on their axes with the specified join method for each axis Index.
87468744
87478745
Parameters
87488746
----------
@@ -9966,14 +9964,11 @@ def abs(self):
99669964
def describe(self, percentiles=None, include=None, exclude=None):
99679965
"""
99689966
Generate descriptive statistics that summarizes a dataset.
9969-
9970-
Statistics summarizes the central tendency, dispersion and
9967+
Statistics summarizes the central tendency, dispersion and
99719968
shape of a dataset's distribution, excluding ``NaN`` values.
99729969
9973-
Analyzes both numeric and object series, as well
9974-
as ``DataFrame`` column sets of mixed data types. The output
9975-
will vary depending on what is provided. Refer to the notes
9976-
below for more detail.
9970+
Analyzes both numeric and object series, as well as ``DataFrame`` column sets of mixed data types.
9971+
The output will vary depending on what is provided. Refer to the notes below for more detail.
99779972
99789973
Parameters
99799974
----------
@@ -10659,9 +10654,8 @@ def compound(self, axis=None, skipna=None, level=None):
1065910654
name,
1066010655
name2,
1066110656
axis_descr,
10662-
"Return unbiased kurtosis over requested axis using Fisher's "
10663-
"definition of kurtosis(kurtosis of normal == 0.0).\nNormalized "
10664-
"by N-1.",
10657+
"Return unbiased kurtosis over requested axis using Fisher's definition of kurtosis(kurtosis of normal == 0.0)."
10658+
"\n\nNormalized by N-1.",
1066510659
nanops.nankurt,
1066610660
)
1066710661
cls.kurtosis = cls.kurt

0 commit comments

Comments
 (0)